WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [XCP] Error when trying to import vmware images
From: Jordan Tomkinson <jordan@xxxxxxxxxx>
Date: Mon, 7 Nov 2011 14:09:14 +0800
Delivery-date: Sun, 06 Nov 2011 22:12:40 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=Gz5Dsf7J5yOaKvs2KiJuoL8gdYG7bMLR187YzcofC48=; b=RLE7wf9dTxkpPxjGTPwecw67+tvo1LdSpFu0WllK648Jp1S045FEtLwLv6moab7ctf IrXcnvD1M3pyaMF+4blQTQkaEaDfP3y9nuwRZ2rvCQxsUmr0mwNjMDNTwzBKj4g11EFV rUP+kIy7DmLqoc11yEsJxtTdcWJZtkdEus+RI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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