You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Alex Berryman <be...@oar.net> on 2011/08/25 07:46:16 UTC

VCL Image creation error: Unable to retrieve the contents of vmx file

Hello,

I am trying to capture an image of a Windows 7 VM located on a licensed ESXi4.1 host.

I receive a 'critical error' saying 'image.pm:reservation_failed(385)|vmwarewin7-vcl0032-v0 image creation failed' but I think I understand where the problem is bases on the 'Warnings'.

You can view the entire log file here: http://pastebin.com/ALUaE0xY, but I will break down what I think are the relevant parts in smaller blocks so it is easier to follow.

VCLD successfully makes an SSH connection to my VM, vcl-1, that I would like to image, and retrieves the MAC address of the VM: http://pastebin.com/SfsUte2P or line 260-312 in the main log file.

VCLD then tries to find a .vmx file containing this MAC address obtained from vcl-1 VM, but every .vmx file it scans, including vcl-1.vmx returns the following warnings: unable to retrieve the contents of vmx file: /vmfs/volumes/VCL_03/VCL-1/vcl-1.vmx (full warning block http://pastebin.com/CBmPFadH)

This leads to the warning: did not find any vmx files on the VM host containing a MAC address matching vcl-1 and failed to determine the vmx file path actively being used by VM vcl-1 (http://pastebin.com/ZsCyAW6t)

The vmx file for vcl-1, http://pastebin.com/um6T0sfx, matches what is defined in the computers table in mysql, http://pastebin.com/XGedUPgU so once vcld can read the VMX file my problem should be solved.

Any ideas on how I can solve the 'unable to retrieve the contents of vmx file' error?

Things I have checked:
Permisions on the vmx files:
-rwxr-xr-x    1 root     root               2961 Aug 24 15:29 VCL-1.vmx

Connectivity between vcl management node and esxi host:
I can use the vmware-cmd -l to list all of my VMs running on my ESXi server using the same root credentials that I gave to VCL.

Connectivity between vcl management and guest:
ssh, and ping works to both the private and public interfaces of my windows 7 guest.

Thank you,
-Alex Berryman
berryman@oar.net