Hi All, Sorry, I resolved the problem. It turned out that a rouge machine at that IP was active, so VCL was confused.
Thanks, Al Quiros Enterprise Systems University Technology Services Florida International University -------------------------------------------- http://vcl.fiu.edu http://ircc.fiu.edu http://myweb.fiu.edu From: Al Quiros <[email protected]<mailto:[email protected]>> Date: Friday, December 13, 2013 11:17 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Problem capturing Windows 2008 server image Hello VCL Group, I have an issue with capturing an image of Windows 2008 R2 Server. This is a 64 bit version, fully patched, updated and activated. I am not using sys prep. I downloaded and installed the 32 bit version of Cygwin, configured it, but had trouble running gen-node-key.sh. I ended up manually applying the SSH key, so the management node can SSH to it without a password. However, when I try to capture the image, it fails after a few minutes. The log is below. Is there something special I need to configure for Windows 2008 Server ? vmwarewin2008-Win2k872-v0 image creation failed ------------------------------------------------------------------------ time: 2013-12-13 11:02:37 caller: image.pm:reservation_failed(387) ( 0) image.pm, reservation_failed (line: 387) (-1) image.pm, process (line: 167) (-2) vcld, make_new_child (line: 571) (-3) vcld, main (line: 350) ------------------------------------------------------------------------ management node: vclmgt02.fiu.edu reservation PID: 17831 parent vcld PID: 2299 request ID: 30593 reservation ID: 9181 request state/laststate: image/image request start time: 2013-12-13 11:02:23 request end time: 2013-12-13 12:02:23 for imaging: no log ID: none computer: cmpnew computer id: 213 computer type: virtualmachine computer eth0 MAC address: 00:50:56:00:00:01 computer eth1 MAC address: 00:50:56:00:00:02 computer private IP address: 10.0.0.50 computer public IP address: 10.106.128.59 computer in block allocation: no provisioning module: VCL::Module::Provisioning::VMware::VMware vm host: vhost01 vm host ID: 1 vm host computer ID: 1 vm profile: VMware ESXi - network storage vm profile VM path: /vmfs/volumes/ddn-nfs vm profile repository path: /install vm profile datastore path: /vmfs/volumes/ddn-nfs vm profile disk type: shared image: vmwarewin2008-Win2k872-v0 image display name: Win2k8 image ID: 72 image revision ID: 107 image size: 1450 MB use Sysprep: no root access: yes image owner ID: 1 image owner affiliation: Local image revision date created: 2013-12-13 11:02:28 image revision production: yes OS module: VCL::Module::OS::Windows::Version_6::2008 user: admin user name: vcl admin user ID: 1 user affiliation: Local ------------------------------------------------------------------------ RECENT LOG ENTRIES FOR THIS PROCESS: |17831|30593:9181|image| vmdk directory name: 'win2k8' |17831|30593:9181|image| vmdk file name: 'win2k8.vmdk' |17831|30593:9181|image| vmdk file prefix: 'win2k8' |17831|30593:9181|image| dedicated vmdk file path: '/vmfs/volumes/ddn-nfs/win2k8/win2k8.vmdk' |17831|30593:9181|image| dedicated vmdk directory path: '/vmfs/volumes/ddn-nfs/win2k8' |17831|30593:9181|image| dedicated vmdk directory name: 'win2k8' |17831|30593:9181|image| shared vmdk file path: '/vmfs/volumes/ddn-nfs/vmwarewin2008-Win2k872-v0/vmwarewin2008-Win2k872-v0.vmdk' |17831|30593:9181|image| shared vmdk directory path: '/vmfs/volumes/ddn-nfs/vmwarewin2008-Win2k872-v0' |17831|30593:9181|image| shared vmdk directory name: 'vmwarewin2008-Win2k872-v0' 2013-12-13 11:02:36|17831|30593:9181|image|VMware.pm:set_vmdk_file_path(3968)|set overridden vmdk file path: '/vmfs/volumes/datastore1/win2k8/win2k8.vmdk' 2013-12-13 11:02:36|17831|30593:9181|image|VMware.pm:capture(682)|mode of vmdk to be captured is valid: persistent 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(4935)|executing SSH command on vhost01: |17831|30593:9181|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x vhost01 'stat /vmfs/volumes/ddn\-nfs/vmwarewin2008\-Win2k872\-v0/vmwarewin2008\-Win2k872\-v0\.vmdk' 2>&1 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(5053)|run_ssh_command output: |17831|30593:9181|image| stat: cannot stat '/vmfs/volumes/ddn-nfs/vmwarewin2008-Win2k872-v0/vmwarewin2008-Win2k872-v0.vmdk': No such file or directory 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(5063)|SSH command executed on vhost01, command: |17831|30593:9181|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x vhost01 'stat /vmfs/volumes/ddn\-nfs/vmwarewin2008\-Win2k872\-v0/vmwarewin2008\-Win2k872\-v0\.vmdk' 2>&1 |17831|30593:9181|image| returning (1, "stat: cannot stat '/vmfs/volum...") 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(4935)|executing SSH command on cmpnew: |17831|30593:9181|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x cmpnew 'chown root currentimage.txt; chmod 777 currentimage.txt' 2>&1 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(5053)|run_ssh_command output: 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(5067)|SSH command executed on cmpnew, returning (0, "") 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:write_currentimage_txt(5275)|updated ownership and permissions on currentimage.txt 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(4935)|executing SSH command on cmpnew: |17831|30593:9181|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x cmpnew 'echo -e "vmwarewin2008-Win2k872-v0\r\nid=72\r\nprettyname=Win2k8\r\nimagerevision_id=107\r\nimagerevision_datecreated=2013-12-13 11:02:28\r\ncomputer_id=213\r\ncomputer_hostname=cmpnew" > currentimage.txt && cat currentimage.txt' 2>&1 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(5053)|run_ssh_command output: |17831|30593:9181|image| vmwarewin2008-Win2k872-v0 |17831|30593:9181|image| id=72 |17831|30593:9181|image| prettyname=Win2k8 |17831|30593:9181|image| imagerevision_id=107 |17831|30593:9181|image| imagerevision_datecreated=2013-12-13 11:02:28 |17831|30593:9181|image| computer_id=213 |17831|30593:9181|image| computer_hostname=cmpnew 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:run_ssh_command(5067)|SSH command executed on cmpnew, returning (0, "vmwarewin2008-Win2k872-v0 id=7...") 2013-12-13 11:02:36|17831|30593:9181|image|utils.pm:write_currentimage_txt(5293)|created currentimage.txt file on cmpnew: |17831|30593:9181|image| vmwarewin2008-Win2k872-v0 |17831|30593:9181|image| id=72 |17831|30593:9181|image| prettyname=Win2k8 |17831|30593:9181|image| imagerevision_id=107 |17831|30593:9181|image| imagerevision_datecreated=2013-12-13 11:02:28 |17831|30593:9181|image| computer_id=213 |17831|30593:9181|image| computer_hostname=cmpnew 2013-12-13 11:02:36|17831|30593:9181|image|DataStructure.pm:_automethod(836)|data structure updated, hash path: $self->request_data->{reservation}{9181}{image}{imagemeta}{sysprep}, data identifier: imagemeta_sysprep, data: |17831|30593:9181|image| : 0 2013-12-13 11:02:36|17831|30593:9181|image|2008.pm:pre_capture(103)|calling parent class pre_capture() subroutine 2013-12-13 11:02:36|17831|30593:9181|image|Version_6.pm:pre_capture(113)|calling parent class pre_capture() subroutine 2013-12-13 11:02:36|17831|30593:9181|image|OS.pm:pre_capture(89)|beginning common image capture preparation tasks 2013-12-13 11:02:37|17831|30593:9181|image|OS.pm:is_ssh_responding(640)|cmpnew is responding to SSH, port 22: open, port 24: closed 2013-12-13 11:02:37|17831|30593:9181|image|OS.pm:create_text_file(1770)|created file on cmpnew: ~/currentimage.txt 2013-12-13 11:02:37|17831|30593:9181|image|OS.pm:pre_capture(125)|completed common image capture preparation tasks 2013-12-13 11:02:37|17831|30593:9181|image|Windows.pm:pre_capture(238)|beginning Windows image capture preparation tasks on cmpnew |17831|30593:9181|image| ---- WARNING ---- |17831|30593:9181|image| 2013-12-13 11:02:37|17831|30593:9181|image|Windows.pm:is_64_bit(8574)|unable to find registry value line in reg.exe output: |17831|30593:9181|image| bash: reg.exe: command not found |17831|30593:9181|image| ( 0) Windows.pm, is_64_bit (line: 8574) |17831|30593:9181|image| (-1) Windows.pm, get_system32_path (line: 8619) |17831|30593:9181|image| (-2) Windows.pm, logoff_users (line: 1575) |17831|30593:9181|image| (-3) Windows.pm, pre_capture (line: 246) |17831|30593:9181|image| (-4) Version_6.pm, pre_capture (line: 114) |17831|30593:9181|image| (-5) 2008.pm, pre_capture (line: 104) 2013-12-13 11:02:37|17831|30593:9181|image|Windows.pm:get_system32_path(8621)|failed to determine the architecture of the Windows OS installed on cmpnew, unable to determine correct system32 path |17831|30593:9181|image| ---- WARNING ---- |17831|30593:9181|image| 2013-12-13 11:02:37|17831|30593:9181|image|Windows.pm:pre_capture(247)|unable to log off all currently logged in users on cmpnew |17831|30593:9181|image| ( 0) Windows.pm, pre_capture (line: 247) |17831|30593:9181|image| (-1) Version_6.pm, pre_capture (line: 114) |17831|30593:9181|image| (-2) 2008.pm, pre_capture (line: 104) |17831|30593:9181|image| (-3) VMware.pm, capture (line: 712) |17831|30593:9181|image| (-4) image.pm, process (line: 162) |17831|30593:9181|image| (-5) vcld, make_new_child (line: 571) |17831|30593:9181|image| ---- WARNING ---- |17831|30593:9181|image| 2013-12-13 11:02:37|17831|30593:9181|image|Version_6.pm:pre_capture(118)|failed to execute parent class pre_capture() subroutine |17831|30593:9181|image| ( 0) Version_6.pm, pre_capture (line: 118) |17831|30593:9181|image| (-1) 2008.pm, pre_capture (line: 104) |17831|30593:9181|image| (-2) VMware.pm, capture (line: 712) |17831|30593:9181|image| (-3) image.pm, process (line: 162) |17831|30593:9181|image| (-4) vcld, make_new_child (line: 571) |17831|30593:9181|image| (-5) vcld, main (line: 350) |17831|30593:9181|image| ---- WARNING ---- |17831|30593:9181|image| 2013-12-13 11:02:37|17831|30593:9181|image|2008.pm:pre_capture(108)|failed to execute parent class pre_capture() subroutine |17831|30593:9181|image| ( 0) 2008.pm, pre_capture (line: 108) |17831|30593:9181|image| (-1) VMware.pm, capture (line: 712) |17831|30593:9181|image| (-2) image.pm, process (line: 162) |17831|30593:9181|image| (-3) vcld, make_new_child (line: 571) |17831|30593:9181|image| (-4) vcld, main (line: 350) |17831|30593:9181|image| ---- WARNING ---- |17831|30593:9181|image| 2013-12-13 11:02:37|17831|30593:9181|image|VMware.pm:capture(713)|failed to complete OS module's pre_capture tasks |17831|30593:9181|image| ( 0) VMware.pm, capture (line: 713) |17831|30593:9181|image| (-1) image.pm, process (line: 162) |17831|30593:9181|image| (-2) vcld, make_new_child (line: 571) |17831|30593:9181|image| (-3) vcld, main (line: 350) |17831|30593:9181|image| ---- WARNING ---- |17831|30593:9181|image| 2013-12-13 11:02:37|17831|30593:9181|image|image.pm:process(166)|vmwarewin2008-Win2k872-v0 image failed to be captured by provisioning module |17831|30593:9181|image| ( 0) image.pm, process (line: 166) |17831|30593:9181|image| (-1) vcld, make_new_child (line: 571) |17831|30593:9181|image| (-2) vcld, main (line: 350) 2013-12-13 11:02:37|17831|30593:9181|image|DataStructure.pm:get_computer_private_ip_address(1606)|returning private IP address previously retrieved: 10.0.0.50 2013-12-13 11:02:37|17831|30593:9181|image|utils.pm:is_inblockrequest(5793)|zero rows were returned from database select 2013-12-13 11:02:37|17831|30593:9181|image|DataStructure.pm:get_image_affiliation_name(2118)|image owner id: 1 2013-12-13 11:02:37|17831|30593:9181|image|DataStructure.pm:retrieve_user_data(1401)|attempting to retrieve and store data for user: user.id = '1' 2013-12-13 11:02:37|17831|30593:9181|image|DataStructure.pm:retrieve_user_data(1464)|data has been retrieved for user: admin (id: 1)
