RE: Image Creation Help Needed
All, I have been looking at Norvins log and I'm not sure I completely understand the process that occurs when reading in the vmx during an image capture. |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_vmx_info(4405)|attempting to retrieve info from vmx file: /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx |30380|24:24|image| WARNING |30380|24:24|image| 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:_get_datastore_name(5848)|unable to determine datastore name from path: '/tmp/6VUppBGwp2/vcl485.vmx', path does not begin with any of the datastore paths: >From these lines I see that it found the VM's vmx and wrote an edited copy of >the vmx to /tmp on the mgmt node, however I am unsure why it is trying to >determine the datastore name for that path since that is not a path located on >the share that is mounted to esx. Can someone please chime in and shed some light? - Gerhard -Original Message- From: Basilio, Norvin [mailto:nbasi...@odu.edu] Sent: Wednesday, May 30, 2012 11:54 AM To: vcl-user@incubator.apache.org Subject: Image Creation Help Needed I'm trying to capture a windows 7 image. I think I have overlooked something but am not able to find it. I'm running VCL 2.2.1 with ESXi 4.1 and I have installed the VSphere SDK for perl. Below is the log from the failed job. vmwarewin7-Windows764bitBase28-v0 image creation failed time: 2012-05-30 09:18:46 caller: image.pm:reservation_failed(385) ( 0) image.pm, reservation_failed (line: 385) (-1) image.pm, process (line: 167) (-2) vcld, make_new_child (line: 568) (-3) vcld, main (line: 346) management node: portman.vcls.priv.odu.edu reservation PID: 30380 parent vcld PID: 2738 request ID: 24 reservation ID: 24 request state/laststate: image/image request start time: 2012-05-30 09:17:54 request end time: 2012-05-30 10:17:54 for imaging: no log ID: none computer: vcl485 computer id: 5 computer type: virtualmachine computer eth0 MAC address: 00:50:56:00:03:c8 computer eth1 MAC address: 00:50:56:00:03:c9 computer private IP address: 192.168.131.245 computer public IP address: 128.82.131.245 computer in block allocation: no provisioning module: VCL::Module::Provisioning::VMware::VMware vm host: hepburn.vcls.priv.odu.edu vm host ID: 1 vm host computer ID: 1 vm profile: Default NFS Storage vm profile VM path: [VCL-VMPATH] vm profile repository path: [VCL-REPOSITORY] vm profile datastore path: [VCL-DATASTORE] vm profile disk type: networkdisk image: vmwarewin7-Windows764bitBase28-v0 image display name: Windows 7 64bit Base image ID: 28 image revision ID: 28 image size: 1450 MB use Sysprep: yes root access: yes image owner ID: 1 image owner affiliation: Local image revision date created: 2012-05-30 09:18:24 image revision production: yes OS module: VCL::Module::OS::Windows::Version_6::7 user: admin user name: vcl admin user ID: 1 user affiliation: Local RECENT LOG ENTRIES FOR THIS PROCESS: 2012-05-30 09:18:45|30380|24:24|image|vSphere_SDK.pm:_get_file_info(2002)|searching for matching file paths: base directory path: '[VCL-VMPATH]', search pattern: '*.vmx' 2012-05-30 09:18:45|30380|24:24|image|vSphere_SDK.pm:find_files(1750)|matching file count: 0 2012-05-30 09:18:45|30380|24:24|image|VMware.pm:get_vmx_file_paths(4337)|found 0 vmx files under /vmfs/volumes/VCL-VMPATH 2012-05-30 09:18:46|30380|24:24|image|vSphere_SDK.pm:get_registered_vms(99)|found 1 registered VMs: |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_vmx_file_paths(4341)|found 1 registered vmx files |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_vmx_file_paths(4346)|found 1 vmx files on VM host |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_active_vmx_file_path(775)|retrieved vmx file paths currently residing on the VM host: |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_active_vmx_file_path(782)|sorted vmx file paths so that directories containing vcl485 are checked first: |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_vmx_info(4405)|attempting to retrieve info from vmx file: /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx |30380|24:24|image| WARNING |30380|24:24|image| 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:_get_datastore_name(5848)|unable to determine datastore name from path: '/tmp/6VUppBGwp2/vcl485.vmx', path do
Image Creation Help Needed
I'm trying to capture a windows 7 image. I think I have overlooked something but am not able to find it. I'm running VCL 2.2.1 with ESXi 4.1 and I have installed the VSphere SDK for perl. Below is the log from the failed job. vmwarewin7-Windows764bitBase28-v0 image creation failed time: 2012-05-30 09:18:46 caller: image.pm:reservation_failed(385) ( 0) image.pm, reservation_failed (line: 385) (-1) image.pm, process (line: 167) (-2) vcld, make_new_child (line: 568) (-3) vcld, main (line: 346) management node: portman.vcls.priv.odu.edu reservation PID: 30380 parent vcld PID: 2738 request ID: 24 reservation ID: 24 request state/laststate: image/image request start time: 2012-05-30 09:17:54 request end time: 2012-05-30 10:17:54 for imaging: no log ID: none computer: vcl485 computer id: 5 computer type: virtualmachine computer eth0 MAC address: 00:50:56:00:03:c8 computer eth1 MAC address: 00:50:56:00:03:c9 computer private IP address: 192.168.131.245 computer public IP address: 128.82.131.245 computer in block allocation: no provisioning module: VCL::Module::Provisioning::VMware::VMware vm host: hepburn.vcls.priv.odu.edu vm host ID: 1 vm host computer ID: 1 vm profile: Default NFS Storage vm profile VM path: [VCL-VMPATH] vm profile repository path: [VCL-REPOSITORY] vm profile datastore path: [VCL-DATASTORE] vm profile disk type: networkdisk image: vmwarewin7-Windows764bitBase28-v0 image display name: Windows 7 64bit Base image ID: 28 image revision ID: 28 image size: 1450 MB use Sysprep: yes root access: yes image owner ID: 1 image owner affiliation: Local image revision date created: 2012-05-30 09:18:24 image revision production: yes OS module: VCL::Module::OS::Windows::Version_6::7 user: admin user name: vcl admin user ID: 1 user affiliation: Local RECENT LOG ENTRIES FOR THIS PROCESS: 2012-05-30 09:18:45|30380|24:24|image|vSphere_SDK.pm:_get_file_info(2002)|searching for matching file paths: base directory path: '[VCL-VMPATH]', search pattern: '*.vmx' 2012-05-30 09:18:45|30380|24:24|image|vSphere_SDK.pm:find_files(1750)|matching file count: 0 2012-05-30 09:18:45|30380|24:24|image|VMware.pm:get_vmx_file_paths(4337)|found 0 vmx files under /vmfs/volumes/VCL-VMPATH 2012-05-30 09:18:46|30380|24:24|image|vSphere_SDK.pm:get_registered_vms(99)|found 1 registered VMs: |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_vmx_file_paths(4341)|found 1 registered vmx files |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_vmx_file_paths(4346)|found 1 vmx files on VM host |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_active_vmx_file_path(775)|retrieved vmx file paths currently residing on the VM host: |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_active_vmx_file_path(782)|sorted vmx file paths so that directories containing vcl485 are checked first: |30380|24:24|image| /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:get_vmx_info(4405)|attempting to retrieve info from vmx file: /vmfs/volumes/VCL-REPOSITORY/vcl485/vcl485.vmx |30380|24:24|image| WARNING |30380|24:24|image| 2012-05-30 09:18:46|30380|24:24|image|VMware.pm:_get_datastore_name(5848)|unable to determine datastore name from path: '/tmp/6VUppBGwp2/vcl485.vmx', path does not begin with any of the datastore paths: |30380|24:24|image| '[VCL-VMPATH]' |30380|24:24|image| '/vmfs/volumes/VCL-VMPATH' |30380|24:24|image| '/vmfs/volumes/7f97aebd-35542d2b' |30380|24:24|image| '[VCL-DATASTORE]' |30380|24:24|image| '/vmfs/volumes/VCL-DATASTORE' |30380|24:24|image| '/vmfs/volumes/97ce3204-9ab49719' |30380|24:24|image| '[VCL-REPOSITORY]' |30380|24:24|image| '/vmfs/volumes/VCL-REPOSITORY' |30380|24:24|image| '/vmfs/volumes/782da00a-e2e7b496' |30380|24:24|image| '[datastore1]' |30380|24:24|image| '/vmfs/volumes/datastore1' |30380|24:24|image| '/vmfs/volumes/4f17e862-32251b14-0c6a-00215af214fa' |30380|24:24|image| ( 0) VMware.pm, _get_datastore_name (line: 5848) |30380|24:24|image| (-1) VMware.pm, _get_datastore_path (line: 5638) |30380|24:24|image| (-2) VMware.pm, _get_parent_directory_datastore_path |30380|(line: 5919) 24:24|image| (-3) VMware.pm, |30380|_get_parent_directory_normal_path (line: 5878) 24:24|image| (-4) |30380|vSphere_SDK.pm, copy_file_from (line: 1402) 24:24|image| (-5) |30380|vSphere_SDK.pm, get_file_contents (line: 1489) 24:24|image| |30380|WARNING 24:24|image| 2012-05-30 |30380|09:18:46|30380|24:24|image|VMware.pm:_get_datastore_path(5640)|un |30380|able to dete