Hi Andy,
Ran into more issues: But I realized that I am missing quite a lot.
I will try to write this down here as I understand, can you please help me get
this right.
Assuming using ESXi VMhost: And ESX provisioning I will work through these steps
Step 0: Basic Setup WebCode, Database, Management;
Step 1: Create a VM(for instance Windows XP with cygwin installed and
configured) with a the naming convention: "esx3-<anything you want>-v#"
Step 2. Create following Directory structure on the Image Store NFS server:
[any mount point/VCL ???] <- Does this have to be VCL only?
/inuse <- Not sure what to put in here
/golden
/esx3-<anything you want>-v#
esx3-<anything you want>-v#.vmdk
esx3-<anything you want>-v#-flat.vmdk
...
Step 3: Mount the NFS Image Store on to every VMhost; Name the mount as VCL.
But then when I see the actual mount point from the ESXi console, it shows up
as /vmfs/volumes/15a5e041-86bf33de Not sure if we have to force mount the mount
point with the appropriate name?
Step 4: Enable SSH password less logins to all VMhosts;
Step5: Follow the instructions of esx.README or esxthin.README in
/usr/local/vcl/lib/VCL/Module/Provisioning/ to setup dhcp and database record
for vmprofile appropriately.
Step6: Add a Single Computer using the portal. This computer added must be your
first VMguest computer. This is because if we add a VMhost as the first
computer, then it will not allows us to convert its state to VMhost inuse; it
complains that this computer has a reservation pending. I could be wrong, but
that's what I noticed. So instead I chose to add a VMguest computer details and
then added the VMhost computer as the next computer.
Step7: Insert the reservation entries into the database to capture the Image,
as described in the "Create Base Image" section.
Can you please let me know if the above step and details look okay.
Thank you,
Amit
2010-03-18
15:05:51|20858|1:1|image|utils.pm:reservation_being_processed(9634)|computerloadlog
'begin' entry does NOT exist for reservation 1
2010-03-18
15:05:51|20858|1:1|image|utils.pm:reservation_being_processed(9686)|reservation
is NOT currently being processed
2010-03-18 15:05:51|20858|1:1|image|vcld:main(276)|reservation 1 is NOT already
being processed
|20858|1:1|image| ---- WARNING ----
|20858|1:1|image| 2010-03-18
15:05:51|20858|1:1|image|utils.pm:get_request_info(5218)|preferredimageid is
not set for computer id=1
|20858|1:1|image| ( 0) utils.pm, notify (line: 737)
|20858|1:1|image| (-1) utils.pm, get_request_info (line: 5218)
|20858|1:1|image| (-2) vcld, main (line: 280)
2010-03-18 15:05:51|20858|1:1|image|utils.pm:get_request_info(5354)|standalone
affiliation found: Local
2010-03-18
15:05:51|20858|1:1|image|utils.pm:get_management_node_info(6815)|management
node info retrieved from database for colbert
2010-03-18 15:05:51|20858|1:1|image|vcld:main(281)|retrieved request
information from database
2010-03-18
15:05:51|20858|1:1|image|DataStructure.pm:is_parent_reservation(854)|returning
true: parent reservation ID for this request: 1
2010-03-18 15:05:51|20858|1:1|image|utils.pm:update_request_state(2186)|request
1 state updated to: pending, laststate to: image
2010-03-18 15:05:51|20858|1:1|image|utils.pm:insertloadlog(4710)|inserted
computer=1, begin, beginning to process, state is image
2010-03-18 15:05:51|20858|1:1|image|vcld:make_new_child(509)|loaded VCL::image
module
2010-03-18 15:05:51|20986|1:1|image|vcld:make_new_child(582)|vcld environment
variable set to 0 for this process
2010-03-18 15:05:51|20986|1:1|image|Module.pm:new(132)|constructor called,
class=VCL::image
2010-03-18 15:05:51|20986|1:1|image|Module.pm:new(154)|VCL::image object created
2010-03-18 15:05:51|20858|1:1|image|vcld:make_new_child(566)|current number of
forked kids: 1
2010-03-18 15:05:51|20986|1:1|image|State.pm:initialize(85)|obtained a database
handle for this state process, stored as $ENV{dbh}
2010-03-18 15:05:51|20986|1:1|image|State.pm:check_image_os(839)|no corrections
need to be made to image OS: vmwarewinxp
2010-03-18
15:05:51|20986|1:1|image|DataStructure.pm:is_parent_reservation(854)|returning
true: parent reservation ID for this request: 1
2010-03-18
15:05:51|20986|1:1|image|utils.pm:rename_vcld_process(7863)|reservation count: 1
2010-03-18
15:05:51|20986|1:1|image|utils.pm:rename_vcld_process(7882)|PARENTIMAGE: 1
2010-03-18
15:05:51|20986|1:1|image|utils.pm:rename_vcld_process(7883)|SUBIMAGE: 0
2010-03-18 15:05:51|20986|1:1|image|utils.pm:rename_vcld_process(7901)|renamed
process to 'vcld VCL::image 1:1 image imaging'
2010-03-18
15:05:51|20986|1:1|image|DataStructure.pm:is_parent_reservation(854)|returning
true: parent reservation ID for this request: 1
2010-03-18
15:05:51|20986|1:1|image|DataStructure.pm:is_parent_reservation(854)|returning
true: parent reservation ID for this request: 1
2010-03-18 15:05:51|20986|1:1|image|State.pm:initialize(121)|attempting to load
provisioning module: VCL::Module::Provisioning::esx
2010-03-18 15:05:51|20986|1:1|image|esx.pm:initialize(138)|esx vmware toolkit
root path found: /usr/lib/vmware-vcli/apps
2010-03-18 15:05:51|20986|1:1|image|esx.pm:initialize(140)|vmware ESX module
initialized
2010-03-18
15:05:51|20986|1:1|image|State.pm:initialize(127)|VCL::Module::Provisioning::esx
module loaded
2010-03-18 15:05:51|20986|1:1|image|Module.pm:new(132)|constructor called,
class=VCL::Module::Provisioning::esx
2010-03-18
15:05:51|20986|1:1|image|Module.pm:new(154)|VCL::Module::Provisioning::esx
object created
2010-03-18 15:05:51|20986|1:1|image|esx.pm:initialize(138)|esx vmware toolkit
root path found: /usr/lib/vmware-vcli/apps
2010-03-18 15:05:51|20986|1:1|image|esx.pm:initialize(140)|vmware ESX module
initialized
2010-03-18
15:05:51|20986|1:1|image|State.pm:initialize(131)|VCL::Module::Provisioning::esx
provisioner object created
2010-03-18 15:05:51|20986|1:1|image|State.pm:initialize(145)|attempting to load
OS module: VCL::Module::OS::Windows::Version_5::XP
2010-03-18
15:05:51|20986|1:1|image|State.pm:initialize(151)|VCL::Module::OS::Windows::Version_5::XP
module loaded
2010-03-18 15:05:51|20986|1:1|image|Module.pm:new(132)|constructor called,
class=VCL::Module::OS::Windows::Version_5::XP
2010-03-18
15:05:51|20986|1:1|image|Module.pm:new(154)|VCL::Module::OS::Windows::Version_5::XP
object created
2010-03-18
15:05:51|20986|1:1|image|State.pm:initialize(154)|VCL::Module::OS::Windows::Version_5::XP
OS object created
2010-03-18 15:05:51|20986|1:1|image|State.pm:initialize(169)|returning 1
2010-03-18 15:05:51|20986|1:1|image|vcld:make_new_child(591)|VCL::image object
created and initialized
No recipient addresses found in header
2010-03-18 15:05:51|20986|1:1|image|utils.pm:mail(1348)|SUCCESS -- Sending mail
To: , VCL IMAGE Creation Started: vmwarewinxp-base7-v1
2010-03-18 15:05:51|20986|1:1|image|utils.pm:run_ssh_command(6180)|executing
SSH command on 128.82.128.252:
|20986|1:1|image| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/golden 2>&1' 2>&1
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:05:51|20986|1:1|image|utils.pm:run_ssh_command(6252)|attempt 1/3: failed to
execute SSH command on 128.82.128.252: ls -1
/vmfs/volumes/15a5e041-86bf33de/golden 2>&1, exit status: 255, SSH exits with
the exit status of the remote command or with 255 if an error occurred, output:
|20986|1:1|image| ssh output (ls -1 /vmf...):
/vmfs/volumes/15a5e041-86bf33de/golden
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6252)
|20986|1:1|image| (-2) esx.pm, does_image_exist (line: 910)
|20986|1:1|image| (-3) image.pm, process (line: 135)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
2010-03-18 15:05:51|20986|1:1|image|utils.pm:run_ssh_command(6172)|sleeping for
2 seconds before making next SSH attempt
2010-03-18 15:05:53|20986|1:1|image|utils.pm:run_ssh_command(6184)|attempt 2/3:
executing SSH command on 128.82.128.252:
|20986|1:1|image| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/golden 2>&1' 2>&1
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:05:53|20986|1:1|image|utils.pm:run_ssh_command(6252)|attempt 2/3: failed to
execute SSH command on 128.82.128.252: ls -1
/vmfs/volumes/15a5e041-86bf33de/golden 2>&1, exit status: 255, SSH exits with
the exit status of the remote command or with 255 if an error occurred, output:
|20986|1:1|image| ssh output (ls -1 /vmf...):
/vmfs/volumes/15a5e041-86bf33de/golden
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6252)
|20986|1:1|image| (-2) esx.pm, does_image_exist (line: 910)
|20986|1:1|image| (-3) image.pm, process (line: 135)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
2010-03-18 15:05:53|20986|1:1|image|utils.pm:run_ssh_command(6172)|sleeping for
15 seconds before making next SSH attempt
2010-03-18 15:05:56|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:05:56
2010-03-18 15:06:01|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:01
2010-03-18 15:06:06|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:06
2010-03-18 15:06:08|20986|1:1|image|utils.pm:run_ssh_command(6184)|attempt 3/3:
executing SSH command on 128.82.128.252:
|20986|1:1|image| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/golden 2>&1' 2>&1
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:06:09|20986|1:1|image|utils.pm:run_ssh_command(6252)|attempt 3/3: failed to
execute SSH command on 128.82.128.252: ls -1
/vmfs/volumes/15a5e041-86bf33de/golden 2>&1, exit status: 255, SSH exits with
the exit status of the remote command or with 255 if an error occurred, output:
|20986|1:1|image| ssh output (ls -1 /vmf...):
/vmfs/volumes/15a5e041-86bf33de/golden
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6252)
|20986|1:1|image| (-2) esx.pm, does_image_exist (line: 910)
|20986|1:1|image| (-3) image.pm, process (line: 135)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:06:09|20986|1:1|image|utils.pm:run_ssh_command(6285)|failed to run SSH
command after 3 attempts, command: /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p
22 -x 128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/golden 2>&1' 2>&1,
exit status: 255, output:
|20986|1:1|image| ssh output (ls -1 /vmf...):
/vmfs/volumes/15a5e041-86bf33de/golden
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6285)
|20986|1:1|image| (-2) esx.pm, does_image_exist (line: 910)
|20986|1:1|image| (-3) image.pm, process (line: 135)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
No recipient addresses found in header
2010-03-18 15:06:09|20986|1:1|image|utils.pm:mail(1348)|SUCCESS -- Sending mail
To: , PROBLEM -- esx.pm
|20986|1:1|image| ---- CRITICAL ----
|20986|1:1|image| 2010-03-18
15:06:09|20986|1:1|image|esx.pm:does_image_exist(922)|LS failed
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) esx.pm, does_image_exist (line: 922)
|20986|1:1|image| (-2) image.pm, process (line: 135)
|20986|1:1|image| (-3) vcld, make_new_child (line: 594)
|20986|1:1|image| (-4) vcld, main (line: 341)
2010-03-18 15:06:09|20986|1:1|image|image.pm:process(145)|image
vmwarewinxp-base7-v1 does not exist in the repository
2010-03-18 15:06:09|20986|1:1|image|DataStructure.pm:_automethod(697)|data
structure updated: $self->request_data->{reservation}{1}{image}{lastupdate}
|20986|1:1|image| image_lastupdate = 2010-03-18 15:06:09
2010-03-18 15:06:09|20986|1:1|image|DataStructure.pm:_automethod(697)|data
structure updated:
$self->request_data->{reservation}{1}{imagerevision}{datecreated}
|20986|1:1|image| imagerevision_date_created = 2010-03-18 15:06:09
2010-03-18 15:06:09|20986|1:1|image|image.pm:process(161)|calling provisioning
module's capture() subroutine
2010-03-18
15:06:09|20986|1:1|image|esx.pm:capture(593)|**********************************************************
2010-03-18 15:06:09|20986|1:1|image|esx.pm:capture(594)|Entering ESX Capture
routine
2010-03-18 15:06:09|20986|1:1|image|utils.pm:run_ssh_command(6180)|executing
SSH command on 128.82.128.252:
|20986|1:1|image| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2 2>&1' 2>&1
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:06:09|20986|1:1|image|utils.pm:run_ssh_command(6252)|attempt 1/3: failed to
execute SSH command on 128.82.128.252: ls -1
/vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2 2>&1, exit status: 255, SSH exits
with the exit status of the remote command or with 255 if an error occurred,
output:
|20986|1:1|image| ssh output (ls -1 /vmf...): ls:
/vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2: No such file or directory
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6252)
|20986|1:1|image| (-2) esx.pm, capture (line: 632)
|20986|1:1|image| (-3) image.pm, process (line: 162)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
2010-03-18 15:06:09|20986|1:1|image|utils.pm:run_ssh_command(6172)|sleeping for
2 seconds before making next SSH attempt
2010-03-18 15:06:11|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:11
2010-03-18 15:06:11|20986|1:1|image|utils.pm:run_ssh_command(6184)|attempt 2/3:
executing SSH command on 128.82.128.252:
|20986|1:1|image| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2 2>&1' 2>&1
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:06:11|20986|1:1|image|utils.pm:run_ssh_command(6252)|attempt 2/3: failed to
execute SSH command on 128.82.128.252: ls -1
/vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2 2>&1, exit status: 255, SSH exits
with the exit status of the remote command or with 255 if an error occurred,
output:
|20986|1:1|image| ssh output (ls -1 /vmf...): ls:
/vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2: No such file or directory
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6252)
|20986|1:1|image| (-2) esx.pm, capture (line: 632)
|20986|1:1|image| (-3) image.pm, process (line: 162)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
2010-03-18 15:06:11|20986|1:1|image|utils.pm:run_ssh_command(6172)|sleeping for
15 seconds before making next SSH attempt
2010-03-18 15:06:16|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:16
2010-03-18 15:06:21|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:21
2010-03-18 15:06:26|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:26
2010-03-18 15:06:26|20986|1:1|image|utils.pm:run_ssh_command(6184)|attempt 3/3:
executing SSH command on 128.82.128.252:
|20986|1:1|image| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2 2>&1' 2>&1
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:06:27|20986|1:1|image|utils.pm:run_ssh_command(6252)|attempt 3/3: failed to
execute SSH command on 128.82.128.252: ls -1
/vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2 2>&1, exit status: 255, SSH exits
with the exit status of the remote command or with 255 if an error occurred,
output:
|20986|1:1|image| ssh output (ls -1 /vmf...): ls:
/vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2: No such file or directory
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6252)
|20986|1:1|image| (-2) esx.pm, capture (line: 632)
|20986|1:1|image| (-3) image.pm, process (line: 162)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:06:27|20986|1:1|image|utils.pm:run_ssh_command(6285)|failed to run SSH
command after 3 attempts, command: /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p
22 -x 128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2 2>&1'
2>&1, exit status: 255, output:
|20986|1:1|image| ssh output (ls -1 /vmf...): ls:
/vmfs/volumes/15a5e041-86bf33de/inuse/resxi-2: No such file or directory
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) utils.pm, run_ssh_command (line: 6285)
|20986|1:1|image| (-2) esx.pm, capture (line: 632)
|20986|1:1|image| (-3) image.pm, process (line: 162)
|20986|1:1|image| (-4) vcld, make_new_child (line: 594)
|20986|1:1|image| (-5) vcld, main (line: 341)
No recipient addresses found in header
2010-03-18 15:06:27|20986|1:1|image|utils.pm:mail(1348)|SUCCESS -- Sending mail
To: , PROBLEM -- esx.pm
|20986|1:1|image| ---- CRITICAL ----
|20986|1:1|image| 2010-03-18 15:06:27|20986|1:1|image|esx.pm:capture(643)|LS
failed
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) esx.pm, capture (line: 643)
|20986|1:1|image| (-2) image.pm, process (line: 162)
|20986|1:1|image| (-3) vcld, make_new_child (line: 594)
|20986|1:1|image| (-4) vcld, main (line: 341)
|20986|1:1|image| ---- WARNING ----
|20986|1:1|image| 2010-03-18
15:06:27|20986|1:1|image|image.pm:process(166)|vmwarewinxp-base7-v1 image
failed to be captured by provisioning module
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) image.pm, process (line: 166)
|20986|1:1|image| (-2) vcld, make_new_child (line: 594)
|20986|1:1|image| (-3) vcld, main (line: 341)
No recipient addresses found in header
2010-03-18 15:06:27|20986|1:1|image|utils.pm:mail(1348)|SUCCESS -- Sending mail
To: , PROBLEM -- image.pm
|20986|1:1|image| ---- CRITICAL ----
|20986|1:1|image| 2010-03-18
15:06:27|20986|1:1|image|image.pm:reservation_failed(390)|vmwarewinxp-base7-v1
image creation failed
|20986|1:1|image| ( 0) utils.pm, notify (line: 737)
|20986|1:1|image| (-1) image.pm, reservation_failed (line: 390)
|20986|1:1|image| (-2) image.pm, process (line: 167)
|20986|1:1|image| (-3) vcld, make_new_child (line: 594)
|20986|1:1|image| (-4) vcld, main (line: 341)
2010-03-18 15:06:27|20986|1:1|image|utils.pm:mail(1348)|SUCCESS -- Sending mail
To: r...@localhost, VCL -- NOTICE DELAY Image Creation No Apps (WinXP vmware)
No recipient addresses found in header
2010-03-18 15:06:27|20986|1:1|image|utils.pm:mail(1348)|SUCCESS -- Sending mail
To: , VCL -- NOTICE FAILED Image Creation No Apps (WinXP vmware)
2010-03-18 15:06:27|20986|1:1|image|utils.pm:update_request_state(2186)|request
1 state updated to: maintenance, laststate to: image
2010-03-18 15:06:27|20986|1:1|image|image.pm:reservation_failed(442)|request
state set to maintenance, laststate to image
2010-03-18
15:06:27|20986|1:1|image|utils.pm:update_computer_state(2228)|computer 1 state
updated to: maintenance
2010-03-18 15:06:27|20986|1:1|image|image.pm:reservation_failed(450)|resxi-2
state set to maintenance
2010-03-18 15:06:27|20986|1:1|image|image.pm:reservation_failed(457)|exiting
2010-03-18 15:06:27|20986|1:1|image|State.pm:DESTROY(905)|destructor called,
ref($self)=VCL::image
2010-03-18
15:06:27|20986|1:1|image|utils.pm:delete_computerloadlog_reservation(7551)|removing
computerloadlog entries matching loadstate = begin
2010-03-18
15:06:27|20986|1:1|image|utils.pm:delete_computerloadlog_reservation(7598)|deleted
rows from computerloadlog for reservation id=1
2010-03-18 15:06:27|20986|1:1|image|State.pm:DESTROY(912)|removed
computerloadlog rows with loadstate=begin for reservation
2010-03-18 15:06:27|20986|1:1|image|State.pm:DESTROY(924)|number of database
handles state process created: 1
2010-03-18 15:06:27|20986|1:1|image|State.pm:DESTROY(933)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2010-03-18 15:06:27|20986|1:1|image|State.pm:DESTROY(935)|$ENV{dbh}: database
disconnect successful
2010-03-18 15:06:27|20986|1:1|image|State.pm:DESTROY(949)|VCL::image process
20986 exiting
2010-03-18 15:06:27|20858|vcld:REAPER(744)|VCL process exited for reservation 1
2010-03-18 15:06:27|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:27
2010-03-18 15:06:32|20858|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-03-18 15:06:32
You have new mail in /var/spool/mail/root
[r...@colbert vcl-debug]# exit
Script done, file is vclamit03.18.a.2010.log
You have new mail in /var/spool/mail/root
[r...@colbert vcl-debug]# /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/golden
>
[r...@colbert vcl-debug]# /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/golden'
/vmfs/volumes/15a5e041-86bf33de/golden
[r...@colbert vcl-debug]# /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
128.82.128.252 'ls -1 /vmfs/volumes/15a5e041-86bf33de/golden/' <- Note forward
slash
thrash
vmwarewinxp-base7-v0
Thank you,
Amit
> -----Original Message-----
> From: Andy Kurth [mailto:[email protected]]
> Sent: Thursday, March 18, 2010 12:22 PM
> To: [email protected]
> Subject: Re: Reservation Error:
>
> Yes, the management node needs to be be able to SSH to the VM hosts before
> attempting the image capture, or any other VM operations. Assuming password
> authentication is still enabled on the VM hosts, you can run "gen-node-key.sh
> <IP>" for each of them. I wouldn't try the VCL image capture process until
> this
> works:
> ssh -i /etc/vcl/vcl.key -l root -p 22 <VM host IP>
>
> -Andy
>
> Kumar, Amit H. wrote:
> > Ah! .. I see. Seems like I started with a wrong assumption.
> >
> > I didn't not do the capture image process yet. I wanted to see if I can
> > make a reservation
> for the already existing VM, that I built with the name
> 'vmwarewinxp-base7-v0' and placed
> it under the Data-Store-Path on the VMhost that built it.
> >
> > Yes you were right I was missing the IP address in the Data-Store Path: I
> > will put in the
> VMhost IP here.
> > In that case shouldn't I generate-node-key's for all the VMhost's because
> > it will try to
> SSH to it to get to the Data-Store-Path?
> >
> >
> > Thank you Andy for the help ... I will give image capture a try first.
> > Amit