-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'll break apart what the scheduling algorithm does to find an available computer. You should be able to check each step to find what isn't set up correctly.
- -find all schedules that the specified reservation start/end time falls within - -check to see if there is a maximum number of allowed concurrent reservations for this image and see if that limit is already reached - -find all computers the image maps to - -get list of computers user has access to via the privilege tree (user must have imageCheckOut at a node and computer group needs to have available set at the same node) - -build list of computers that * match the list of schedules found above * match the platform of the image * are not in these states: maintenance, vmhostinuse, hpc, failed, reloading, reload, timeout, inuse * have >= minimum RAM required by the image * have >= processor speed required by the image * have >= # of processors required by the image * have >= minimum network speed required by the image * are in list of computers image maps to * are in list of computers user has access to - -add to that list any block reserved computers for the user and the image - -remove any computers from the list that active reservations on them - -if no block reserved computers were added to the list, remove all computers allocated for any block reservations - -find a management node that is available, maps to the computer, and has a recent checkin time If the code reaches this point, it should give you a reservation. If any of the above fails to find something, it will say the reservation isn't available. Let us know if you can find something based off of this information. Josh P.S. A note for archive purposes: I added '(scheduling algorithm)' to the subject for easier searching of archives. Also, the algorithm is slated to get an overhaul in version 2.4 when dynamic hypervisor support is added in; so, this information will be out of date when that version comes out. On Tue February 2 2010 1:20:13 am Jeffrey Wisman wrote: > Andy, > The VM computers are all in the "available" state. However the VM host is > also in the "available" state. I'm guessing that could be the problem? > > When I try to change the state by using "Change state of selected computers > to: vmhostinuse", it gives me the OK but it seems to stay in the > "available" state. I'm not sure its doing anything. > > Also, the management node is in the "available" state, so that's all good. > The image I'm trying to use is in "allImages" and "allVMimages" groups. > Those two groups are mapped to all computer groups except for "all vm host > computers". Privileges should be fine as I'm using the admin user to test > and have granted all permissions to the admin user. > > Let me know if you have insight on the VM host available issue. Otherwise > we'll chat more tomorrow. Many thanks for your help!! > > Jeff > > On Mon, Feb 1, 2010 at 7:38 AM, Andy Kurth <andy_ku...@ncsu.edu> wrote: > > Hi Jeff, > > This problem is somewhat difficult to troubleshoot because there are > > several possible causes. The easy things to check: > > -Are your VM computers in the available state (Manage Computers --> > > Computer Utilities)?. They may have been left in the failed state when > > you were having imaging trouble. Your VM host should be in the > > 'vmhostinuse' state. > > -Make sure your management node is in the available state (Management > > Nodes --> Edit Management Node Information). Nothing should have changed > > the state of the managment node but this is easy to forget about. > > > > If everything is available, check the image/computer groupings and > > mappings and privilege tree: > > 1. Manage Images --> Edit Image Grouping -- note the image groups the > > image is assigned to > > 2. Manage Image --> Edit Image Mapping -- determine which computer groups > > the image is mapped to by viewing the mappings for the image groups you > > located in step 1 > > 3. Manage Computers --> Edit Computer Grouping -- make sure your VM > > computers are in a computer group found in step 2 > > 3. View the privilege tree (Privileges). Is there a node where the image > > group, computer group, and either the user account or a group the user > > account is in are all configured. The user account or group needs the > > "imageCheckOut" right and the image and computer groups need to be > > "available". > > > > Some database troubleshooting is necessary if you're still having > > trouble. It may be easiest if there's a way to take a look at your > > database. > > > > Regards, > > Andy > > > > Jeffrey Wisman wrote: > >> So I'm still having issues. I can perform all the actions listed here > >> successfully (at least it seems so from the logs): > >> http://cwiki.apache.org/VCL/create-a-windows-base-image.html > >> > >> I'm trying to create a reservation for the first time from the GUI, and > >> having trouble. I get the message "Selection not currently available" > >> when I try to do it, and I can't figure out why. The groupings, > >> mappings, and permissions *seem* right, but maybe they aren't. Attached > >> are some screen shots. Let me know if I'm missing something obvious, or > >> need to provide more information for troubleshooting. > >> > >> Thanks, > >> Jeff > >> > >> > >> > >> On Wed, Jan 27, 2010 at 9:51 AM, Jeffrey Wisman < > >> jeff.wis...@csueastbay.edu <mailto:jeff.wis...@csueastbay.edu>> wrote: > >> > >> I just wanted to post a follow up that the issue was with the hosts > >> file. I > >> had put both the public and private IP addresses in the management > >> server's > >> host file. I removed the public IP and now it works just fine. > >> > >> I'm still having issues with the reservations, but I think its just > >> my misunderstanding of how this is all supposed to work. I'll be > >> spending more > >> time in the next few days, and post if I can't figure out the next > >> steps on > >> my own. > >> > >> Thanks, > >> Jeff > >> > >> > >> -----Original Message----- > >> From: Jeffrey Wisman [mailto:jeff.wis...@csueastbay.edu > >> <mailto:jeff.wis...@csueastbay.edu>] > >> Sent: Mon 1/25/2010 12:58 PM > >> To: vcl-dev@incubator.apache.org > >> <mailto:vcl-dev@incubator.apache.org>; vcl-dev@incubator.apache.org > >> <mailto:vcl-dev@incubator.apache.org> > >> Subject: RE: Issues with Inserting Image Reservation Into VCL DB > >> > >> Thanks Andy, I'll try your suggestions tonight and report back. > >> Your help is > >> much appreciated! > >> > >> Jeff > >> > >> > >> -----Original Message----- > >> From: Andy Kurth [mailto:andy_ku...@ncsu.edu > >> <mailto:andy_ku...@ncsu.edu>] > >> Sent: Mon 1/25/2010 12:33 PM > >> To: vcl-dev@incubator.apache.org > >> <mailto:vcl-dev@incubator.apache.org> Subject: Re: Issues with Inserting > >> Image Reservation Into VCL DB > >> > >> Hello Jeff, > >> It appears that the image was successfully captured and it's at the > >> point > >> where > >> it's trying to reload the new image. > >> > >> Is the computer.privateIPaddress value set in the database? If not, > >> set this > >> > >> for vcl-winxp in the computer table and see if the warnings go away. > >> You can > >> > >> also add an entry in the /etc/hosts file on the management node for > >> the private > >> address of vcl-winxp. Either of these should clear up most of the > >> warning > >> messages you're seeing. > >> > >> You don't have to go through the entire imaging process again to > >> troubleshoot > >> > >> this. You can restart the reload process by: > >> -Kill the existing vcld process for the reservation if it's still > >> running. > >> The > >> PID to kill is displayed as the leftmost field in the log output > >> (1297 in the > >> > >> output you included). Don't kill the main vcld process. > >> -Set request.state to 'reload', request.start to NOW(), and > >> request.end to > >> some > >> time in the future. The vcld process should begin to process it > >> again. Start > >> 'tail -f /var/log/vcld.log' before changing the request state. > >> > >> Is it hanging indefinitely after it attempts to run the last command > >> (route > >> delete 0.0.0.0) included in the log output? I haven't seen this > >> problem > >> before > >> if it is indeed hanging. The 'route delete' command may be breaking > >> networking > >> on the computer and tripping up the SSH command. I would try > >> running the SSH > >> > >> command manually with the -v option to try to figure out what's > >> happening: > >> ssh -v -i /etc/vcl/vcl.key -l root -p 22 -x vcl-winxp 'route delete > >> 0.0.0.0' > >> > >> If this command hangs, try adding the ServerAliveInterval SSH option: > >> ssh -v -o ServerAliveInterval=15 -i /etc/vcl/vcl.key -l root -p 22 -x > >> vcl-winxp > >> 'route delete 0.0.0.0' > >> > >> Give this command at least 20 seconds before killing it if it hangs. > >> If this > >> > >> prevents it from hanging, try manually running the next command VCL > >> would > >> have > >> performed: > >> ssh -i /etc/vcl/vcl.key -l root -p 22 -x vcl-winxp 'route -p ADD > >> 0.0.0.0 MASK > >> > >> 0.0.0.0 134.154.193.190 METRIC 1' > >> > >> The output of these commands may be helpful in troubleshooting. > >> > >> Regards, > >> Andy Kurth / NCSU VCL > >> > >> Jeffrey Wisman wrote: > >> > Hi all - Just joined this list. I've been working on a pilot VCL > >> > >> install > >> at > >> > >> > CSU East Bay, and am hung up on what seems like nearly the last > >> > >> step. I'm > >> > >> > following instructions at the bottom of this page: > >> > >> http://cwiki.apache.org/confluence/display/VCL/Create+a+Windows+Base+Ima > >>ge > >> > >> > I'm attempting to insert the image reservation into the VCL DB, > >> > >> and it only > >> > >> > gets as far as this network/route issue. Is this a DHCP problem? > >> > >> A hosts > >> > >> > file issue? Something else? Please let me know if anyone has > >> > >> seen this > >> > >> > before, or can help troubleshoot. Here is the last part of the > >> > >> output from > >> > >> > tail -f /var/log/vcld.log > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|Windows.pm:firewall_enable_ssh_private(4197)| > >>SSH > >> > >> > will not be disabled on public interface because public interface > >> > >> name > >> could > >> > >> > not be determined > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, firewall_enable_ssh_private > >> > >> (line: > >> 4197) > >> > >> > |1297|11:34|reload| (-2) Windows.pm, post_load (line: 485) > >> > |1297|11:34|reload| (-3) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-5) vcld, make_new_child (line: 594) > >> > |1297|11:34|reload| (-6) vcld, main (line: 341) > >> > > >> > 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|Windows.pm:get_network_configuration(4630)|ne > >>twork > >> > >> > configuration has already been retrieved > >> > 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 442)|attempting to retrieve private IP address for computer: > >> > >> vcl-winxp > >> > >> > 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 446)|retrieved contents of /etc/hosts on this management node, > >> > >> contains 6 > >> > >> > lines > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 466)|did not find any lines in /etc/hosts containing 'vcl-winxp' > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) DataStructure.pm, > >> > >> get_computer_private_ip_address > >> > >> > (line: 1466) > >> > > >> > |1297|11:34|reload| (-2) Windows.pm, get_network_configuration > >> > >> (line: 4642) > >> > >> > |1297|11:34|reload| (-3) Windows.pm, get_private_interface_name > >> > >> (line: > >> 4761) > >> > >> > |1297|11:34|reload| (-4) Windows.pm, firewall_enable_ssh_private > >> > >> (line: > >> 4202) > >> > >> > |1297|11:34|reload| (-5) Windows.pm, post_load (line: 485) > >> > |1297|11:34|reload| (-6) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|Windows.pm:get_network_configuration(4644)|un > >>able > >> > >> > to retrieve computer private IP address from reservation data > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|Windows.pm:get_private_interface_name(4763)|u > >>nable > >> > >> > to retrieve network configuration > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, get_private_interface_name > >> > >> (line: > >> 4763) > >> > >> > |1297|11:34|reload| (-2) Windows.pm, firewall_enable_ssh_private > >> > >> (line: > >> 4202) > >> > >> > |1297|11:34|reload| (-3) Windows.pm, post_load (line: 485) > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-5) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-6) vcld, make_new_child (line: 594) > >> > | > >> > | > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:30|1297|11:34|reload|Windows.pm:firewall_enable_ssh_private(4220)| > >>priva > >> > >> > te interface name could not be determined, SSH will be enabled > >> > >> for all > >> > >> > profiles > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, firewall_enable_ssh_private > >> > >> (line: > >> 4220) > >> > >> > |1297|11:34|reload| (-2) Windows.pm, post_load (line: 485) > >> > |1297|11:34|reload| (-3) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-5) vcld, make_new_child (line: 594) > >> > |1297|11:34|reload| (-6) vcld, main (line: 341) > >> > > >> > 2010-01-23 > >> > >> 00:33:30|1297|11:34|reload|utils.pm:run_ssh_command(6168)|executing > >> SSH > >> > >> > command on vcl-winxp: > >> > |1297|11:34|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p > >> > >> 22 -x > >> > >> > vcl-winxp 'netsh.exe firewall set portopening name = "Cygwin > >> > >> SSHD" protocol > >> = > >> > >> > TCP port = 22 profile = ALL' 2>&1 > >> > 2010-01-23 00:33:35|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:33:35 > >> > 2010-01-23 > >> > >> 00:33:37|1297|11:34|reload|utils.pm: > >> run_ssh_command(6250)|run_ssh_command > >> > >> > output: > >> > |1297|11:34|reload| Ok. > >> > > >> > 2010-01-23 > >> > >> 00:33:37|1297|11:34|reload|utils.pm:run_ssh_command(6264)|SSH > >> > >> > command executed on vcl-winxp, returning (0, "Ok.") > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:firewall_enable_ssh_private(4232)| > >>confi > >> > >> > gured firewall to allow SSH on private interface > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:get_network_configuration(4630)|ne > >>twork > >> > >> > configuration has already been retrieved > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 442)|attempting to retrieve private IP address for computer: > >> > >> vcl-winxp > >> > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 446)|retrieved contents of /etc/hosts on this management node, > >> > >> contains 6 > >> > >> > lines > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 466)|did not find any lines in /etc/hosts containing 'vcl-winxp' > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) DataStructure.pm, > >> > >> get_computer_private_ip_address > >> > >> > (line: 1466) > >> > > >> > |1297|11:34|reload| (-2) Windows.pm, get_network_configuration > >> > >> (line: 4642) > >> > >> > |1297|11:34|reload| (-3) Windows.pm, get_public_interface_name > >> > >> (line: 4791) > >> > >> > |1297|11:34|reload| (-4) Windows.pm, firewall_enable_ping_private > >> > >> (line: > >> > 3935) > >> > > >> > |1297|11:34|reload| (-5) Windows.pm, post_load (line: 496) > >> > |1297|11:34|reload| (-6) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:get_network_configuration(4644)|un > >>able > >> > >> > to retrieve computer private IP address from reservation data > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:get_public_interface_name(4793)|un > >>able > >> > >> > to retrieve network configuration > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, get_public_interface_name > >> > >> (line: 4793) > >> > >> > |1297|11:34|reload| (-2) Windows.pm, firewall_enable_ping_private > >> > >> (line: > >> > 3935) > >> > > >> > |1297|11:34|reload| (-3) Windows.pm, post_load (line: 496) > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-5) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-6) vcld, make_new_child (line: 594) > >> > | > >> > | > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:firewall_enable_ping_private(3946) > >>|ping > >> > >> > will not be disabled on public interface because public interface > >> > >> name > >> could > >> > >> > not be determined > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, firewall_enable_ping_private > >> > >> (line: > >> > 3946) > >> > > >> > |1297|11:34|reload| (-2) Windows.pm, post_load (line: 496) > >> > |1297|11:34|reload| (-3) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-5) vcld, make_new_child (line: 594) > >> > |1297|11:34|reload| (-6) vcld, main (line: 341) > >> > > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:get_network_configuration(4630)|ne > >>twork > >> > >> > configuration has already been retrieved > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 442)|attempting to retrieve private IP address for computer: > >> > >> vcl-winxp > >> > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 446)|retrieved contents of /etc/hosts on this management node, > >> > >> contains 6 > >> > >> > lines > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 466)|did not find any lines in /etc/hosts containing 'vcl-winxp' > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) DataStructure.pm, > >> > >> get_computer_private_ip_address > >> > >> > (line: 1466) > >> > > >> > |1297|11:34|reload| (-2) Windows.pm, get_network_configuration > >> > >> (line: 4642) > >> > >> > |1297|11:34|reload| (-3) Windows.pm, get_private_interface_name > >> > >> (line: > >> 4761) > >> > >> > |1297|11:34|reload| (-4) Windows.pm, firewall_enable_ping_private > >> > >> (line: > >> > 3951) > >> > > >> > |1297|11:34|reload| (-5) Windows.pm, post_load (line: 496) > >> > |1297|11:34|reload| (-6) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:get_network_configuration(4644)|un > >>able > >> > >> > to retrieve computer private IP address from reservation data > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:get_private_interface_name(4763)|u > >>nable > >> > >> > to retrieve network configuration > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, get_private_interface_name > >> > >> (line: > >> 4763) > >> > >> > |1297|11:34|reload| (-2) Windows.pm, firewall_enable_ping_private > >> > >> (line: > >> > 3951) > >> > > >> > |1297|11:34|reload| (-3) Windows.pm, post_load (line: 496) > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-5) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-6) vcld, make_new_child (line: 594) > >> > | > >> > | > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:37|1297|11:34|reload|Windows.pm:firewall_enable_ping_private(3967) > >>|priv > >> > >> > ate interface name could not be determined, ping will be enabled > >> > >> for all > >> > >> > profiles > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, firewall_enable_ping_private > >> > >> (line: > >> > 3967) > >> > > >> > |1297|11:34|reload| (-2) Windows.pm, post_load (line: 496) > >> > |1297|11:34|reload| (-3) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-5) vcld, make_new_child (line: 594) > >> > |1297|11:34|reload| (-6) vcld, main (line: 341) > >> > > >> > 2010-01-23 > >> > >> 00:33:37|1297|11:34|reload|utils.pm:run_ssh_command(6168)|executing > >> SSH > >> > >> > command on vcl-winxp: > >> > |1297|11:34|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p > >> > >> 22 -x > >> > >> > vcl-winxp 'netsh.exe firewall set icmpsetting type = 8 mode = > >> > ENABLE > >> > >> profile > >> > >> > = ALL ;' 2>&1 > >> > 2010-01-23 00:33:40|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:33:40 > >> > 2010-01-23 > >> > >> 00:33:43|1297|11:34|reload|utils.pm: > >> run_ssh_command(6250)|run_ssh_command > >> > >> > output: > >> > |1297|11:34|reload| Ok. > >> > > >> > 2010-01-23 > >> > >> 00:33:43|1297|11:34|reload|utils.pm:run_ssh_command(6264)|SSH > >> > >> > command executed on vcl-winxp, returning (0, "Ok.") > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|Windows.pm:firewall_enable_ping_private(3979) > >>|conf > >> > >> > igured firewall to allow ping on private interface > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|Windows.pm:get_public_default_gateway(4890)|I > >>P > >> > >> > configuration mode in use: dynamicDHCP > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|Windows.pm:get_network_configuration(4630)|ne > >>twork > >> > >> > configuration has already been retrieved > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 442)|attempting to retrieve private IP address for computer: > >> > >> vcl-winxp > >> > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 446)|retrieved contents of /etc/hosts on this management node, > >> > >> contains 6 > >> > >> > lines > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|DataStructure.pm:get_computer_private_ip_addr > >>ess(1 > >> > >> > 466)|did not find any lines in /etc/hosts containing 'vcl-winxp' > >> > > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) DataStructure.pm, > >> > >> get_computer_private_ip_address > >> > >> > (line: 1466) > >> > > >> > |1297|11:34|reload| (-2) Windows.pm, get_network_configuration > >> > >> (line: 4642) > >> > >> > |1297|11:34|reload| (-3) Windows.pm, get_public_default_gateway > >> > >> (line: > >> 4894) > >> > >> > |1297|11:34|reload| (-4) Windows.pm, set_public_default_route > >> > >> (line: 7429) > >> > >> > |1297|11:34|reload| (-5) Windows.pm, post_load (line: 507) > >> > |1297|11:34|reload| (-6) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|Windows.pm:get_network_configuration(4644)|un > >>able > >> > >> > to retrieve computer private IP address from reservation data > >> > > >> > |1297|11:34|reload| ---- WARNING ---- > >> > |1297|11:34|reload| 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|Windows.pm:get_public_default_gateway(4908)|u > >>nable > >> > >> > to retrieve public network configuration currently in use on > >> > >> vcl-winxp > >> > >> > |1297|11:34|reload| ( 0) utils.pm <http://utils.pm>, notify > >> > >> (line: 728) > >> > >> > |1297|11:34|reload| (-1) Windows.pm, get_public_default_gateway > >> > >> (line: > >> 4908) > >> > >> > |1297|11:34|reload| (-2) Windows.pm, set_public_default_route > >> > >> (line: 7429) > >> > >> > |1297|11:34|reload| (-3) Windows.pm, post_load (line: 507) > >> > |1297|11:34|reload| (-4) new.pm <http://new.pm>, reload_image > >> > >> (line: 692) > >> > >> > |1297|11:34|reload| (-5) new.pm <http://new.pm>, process (line: > >> > >> 266) > >> > >> > |1297|11:34|reload| (-6) vcld, make_new_child (line: 594) > >> > > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|DataStructure.pm:get_management_node_public_d > >>efaul > >> > >> > t_gateway(1783)|returning default gateway from route command: > >> > >> 134.154.193.190 > >> > >> > 2010-01-23 > >> > >> > >> 00:33:43|1297|11:34|reload|Windows.pm:get_public_default_gateway(4917)|r > >>eturn > >> > >> > ing management node's default gateway address: 134.154.193.190 > >> > 2010-01-23 > >> > >> 00:33:43|1297|11:34|reload|utils.pm:run_ssh_command(6168)|executing > >> SSH > >> > >> > command on vcl-winxp: > >> > |1297|11:34|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p > >> > >> 22 -x > >> > >> > vcl-winxp 'route delete 0.0.0.0' 2>&1 > >> > 2010-01-23 00:33:45|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:33:45 > >> > 2010-01-23 00:33:50|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:33:50 > >> > 2010-01-23 00:33:55|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:33:55 > >> > 2010-01-23 00:34:00|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:34:00 > >> > 2010-01-23 00:34:05|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:34:05 > >> > 2010-01-23 00:34:10|1226|vcld:main(165)|lastcheckin time updated > >> > for management node 1: 2010-01-23 00:34:10 > >> > > >> > > >> > > >> > > >> > > >> > > >> > And the database state: > >> > > >> > mysql> select * from request; > >> > >> > >> +----+---------+--------+-------------+-------+------------+------+----- > >>----+ > >> > >> > >> > >> ---------------------+---------------------+---------------------+------ > >>----- > >> > >> > ---+ > >> > > >> > | id | stateid | userid | laststateid | logid | forimaging | test > >> | > >> | preload > >> | > >> > start | end | daterequested | > >> > datemodified | > >> > >> > >> +----+---------+--------+-------------+-------+------------+------+----- > >>----+ > >> > >> > >> > >> ---------------------+---------------------+---------------------+------ > >>----- > >> > >> > ---+ > >> > > >> > | 11 | 14 | 2 | 19 | 0 | 0 | 0 > >> | > >> | 0 > >> | > >> > 2010-01-23 00:31:59 | 2010-01-23 01:01:59 | 2010-01-23 00:31:59 | > >> > >> NULL > >> > >> > >> > >> > >> +----+---------+--------+-------------+-------+------------+------+----- > >>----+ > >> > >> > >> > >> ---------------------+---------------------+---------------------+------ > >>----- > >> > >> > ---+ > >> > 1 row in set (0.00 sec) > >> > > >> > mysql> select * from reservation; > >> > >> > >> +----+-----------+------------+---------+-----------------+------------- > >>----- > >> > >> > +----------+---------------------+------+ > >> > > >> > | id | requestid | computerid | imageid | imagerevisionid | > >> > >> managementnodeid > >> > >> > | remoteIP | lastcheck | pw | > >> > >> > >> +----+-----------+------------+---------+-----------------+------------- > >>----- > >> > >> > +----------+---------------------+------+ > >> > > >> > | 34 | 11 | 13 | 10 | 10 | > >> > >> 1 > >> > >> > | NULL | 0000-00-00 00:00:00 | NULL | > >> > >> > >> +----+-----------+------------+---------+-----------------+------------- > >>----- > >> > >> > +----------+---------------------+------+ > >> > 1 row in set (0.00 sec) > >> > > >> > > >> > And finally, here is the directory structure (after executing the > >> > >> commands) > >> > >> > of the VMWare server: > >> > /vmfs/volumes/4ae7602f-490f0fcb-52ef-00144fd1e4ed # ls -l > >> > drwxr-xr-x 1 root root 420 Jan 23 08:31 > >> > golden drwxr-xr-x 1 root root 420 Jan 23 > >> > 08:31 inuse drwxr-xr-x 1 root root 4340 Dec > >> > 3 18:30 vcl.csueastbay.edu <http://vcl.csueastbay.edu> > >> > > >> > drwxr-xr-x 1 root root 4340 Dec 3 18:08 > >> > vcldb.csueastbay.edu <http://vcldb.csueastbay.edu> > >> > > >> > drwxr-xr-x 1 root root 4340 Dec 3 18:23 > >> > vclmgmt.csueastbay.edu <http://vclmgmt.csueastbay.edu> > >> > > >> > drwxr-xr-x 1 root root 2660 Jan 23 08:22 > >> > vmwarewinxp-base7-v0 > >> > /vmfs/volumes/4ae7602f-490f0fcb-52ef-00144fd1e4ed # cd golden/ > >> > /vmfs/volumes/4ae7602f-490f0fcb-52ef-00144fd1e4ed/golden # ls -l > >> > drwxr-xr-x 1 root root 280 Jan 23 08:31 > >> > vmwarewinxp-base7-v0 > >> > /vmfs/volumes/4ae7602f-490f0fcb-52ef-00144fd1e4ed/golden # cd .. > >> > /vmfs/volumes/4ae7602f-490f0fcb-52ef-00144fd1e4ed # cd inuse/ > >> > /vmfs/volumes/4ae7602f-490f0fcb-52ef-00144fd1e4ed/inuse # ls -l > >> > drwxr-xr-x 1 root root 420 Jan 23 08:31 > >> > >> vcl-winxp > >> > >> > Let me know if more output from the logs would be helpful, or any > >> > >> other > >> > >> > information. > >> > > >> > > >> > Thanks, > >> > Jeff Wisman > >> > >> -- > >> Andy Kurth > >> Virtual Computing Lab > >> Office of Information Technology > >> North Carolina State University > >> andy_ku...@ncsu.edu <mailto:andy_ku...@ncsu.edu> > >> 919.513.4090 > > > > -- > > Andy Kurth > > Virtual Computing Lab > > Office of Information Technology > > North Carolina State University > > andy_ku...@ncsu.edu > > 919.513.4090 - -- - ------------------------------- Josh Thompson Systems Programmer Virtual Computing Lab (VCL) North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at www.keyserver.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iD8DBQFLaC66V/LQcNdtPQMRAuPvAJ9evjFls8KfdlAWtxgdRK5V6lxD1wCdFe8T 7n4IKIdzbhiUu9CX8em/+Tw= =1eOC -----END PGP SIGNATURE-----