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

Re: [Xen-users] XEN importing VM

To: François Van Ingelgom <francois@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] XEN importing VM
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 27 Oct 2009 13:57:22 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Oct 2009 23:58:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <532BFDCD-F1F3-441B-AF2C-54C64CA686B4@xxxxxxxx>
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: <532BFDCD-F1F3-441B-AF2C-54C64CA686B4@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Oct 23, 2009 at 8:45 PM, François Van Ingelgom
<francois@xxxxxxxxxxxxxx> wrote:
> Hi all!
>
> I was wondering if it was possible to import vm exported in XVA format?

Last time I imported vyatta's image with xenmigrate.py
http://www.robotics.net/2009/06/06/converting-citrix-xva-to-xenorg-img/

however I had to modify the file manually to get it working on RHEL5

# diff xenmigrate.orig.py xenmigrate.py
295c295,296
<     numfiles=int(refdirlist[-2])
---
>     #numfiles=int(refdirlist[-2])
>     numfiles=4095

where 4095 is the number of files in the subdirectory of untarred xva
(note this is an ugly case-specific hack).
Probably the output of listdir is different in RHEL5's python compared
to newer versions. As the poster said, it was tested on F10/11.

-- 
Fajar

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

<Prev in Thread] Current Thread [Next in Thread>