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] Re: [XCP] Error when trying to import vmware images

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: [XCP] Error when trying to import vmware images
From: Jordan Tomkinson <jordan@xxxxxxxxxx>
Date: Tue, 8 Nov 2011 20:10:34 +0800
Delivery-date: Tue, 08 Nov 2011 04:12:32 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=vUhBOsxSlcTUDKNLuPBNy7sZZwADO3H9jPlm5KwkwN8=; b=Sg3gJ5aYsZ2aQHRNMieCCgB7S9uRH5xyKW+zpKlF72SOAhHe6rO/qt+x1ys4SVKMrx YBPwg0SSgitYPgUboBC2qRlwjPGpq8FITA+IJnNe/H/5XGeeh8Xdrm9eR8T1dEuuscuE lz9VbQ3d/UT1SV45xSikP2ki/bTcdloHWP92g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CACqCOVnt6fzEbmi2NO0jK2Eaai9TwDdq=QODHCPWJiXHVd2qtA@xxxxxxxxxxxxxx>
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>
References: <CACqCOVnt6fzEbmi2NO0jK2Eaai9TwDdq=QODHCPWJiXHVd2qtA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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