[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: [XCP] Error when trying to import vmware images



For anyone interested, I have diagnosed the problem...

It appears as though the "Import VM" feature of XenCenter relies on a hidden "Transfer VM" that exists in XenServer but interestingly not XCP.

I found this guide from Citrix to restore the Transfer VM on a XenServer - http://blogs.citrix.com/2010/12/09/diagnosing-xenserver-appliance-wizard-failures/ - and will attempt to copy the Transfer VM into my XCP server and install it there.

I will keep the list updated on my progress.

It would be nice to know why the Transfer VM was not included with XCP 1.1 and whether it will be in XCP 1.5 ?


On Mon, Nov 7, 2011 at 2:09 PM, Jordan Tomkinson <jordan@xxxxxxxxxx> wrote:
Hi list,

I have recently migrated to XCP from Vmware Server 2 and have run into issues importing the VM's

Following citrix's guide I tried using XenCenter to do the import directly on the vmdk files
this resulted in XenCenter logging this error:

 "Failed to import. ---> System.Exception: Failed to import virtual disk file. ---> System.Xml.XmlException: Root element is missing."

Followed by a stack trace (I can attach full logs if requested)

I get this same error when trying to import exported OVF files from VMware Workstation

The citrix guide also mentions using xe vm-import, this gives me:

[root@xcp ~]# xe vm-import filename=/mnt/vmware/MyVM.vmdk sr-uuid=2c8e28b5-e0b4-2901-9635-1c824f43aeb6
The VM could not be imported.
msg: INTERNAL_ERROR: [ Failure("int_of_string") ]

I have also run "qemu-img convert -f vmdk MyVM.vmdk -O raw xen_compat.img" and tried to "xe vm-import" the img file but was presented with the same error.

What am I doing wrong here?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.