[Libguestfs] Trying to use virt-p2v

Greg Scott GregScott at Infrasupport.com
Wed Aug 31 18:52:04 UTC 2011


Oh man, so close!

[root at f14ptov ~]# yum list available | grep p2v
rubygem-virt-p2v.noarch                   0.8.1-2.fc14
updates
rubygem-virt-p2v-doc.noarch               0.8.1-2.fc14
updates
virt-p2v-image-builder.noarch             0.8.1-2.fc14
updates
[root at f14ptov ~]#

So is rubygem-virt-p2v the piece I'm missing?

- Greg



-----Original Message-----
From: Brian Gold [mailto:bgold at simons-rock.edu] 
Sent: Wednesday, August 31, 2011 1:44 PM
To: Greg Scott; 'Richard W.M. Jones'
Cc: libguestfs at redhat.com
Subject: RE: [Libguestfs] Trying to use virt-p2v

The conversion server has to be running virt-p2v-server (which is part
of
the virt-p2v package on Fedora). So the same system that you made the
virt-p2v-image on will be your conversion server. RHEL 6.1 doesn't yet
support virt-p2v, that won't be added until 6.2 at the earliest. On the
virt-p2v conversion server, you need to configure a virt-v2v.conf file
in
the same way you would if you were doing a v2v conversion.

-----Original Message-----
From: libguestfs-bounces at redhat.com
[mailto:libguestfs-bounces at redhat.com]
On Behalf Of Greg Scott
Sent: Wednesday, August 31, 2011 2:37 PM
To: Richard W.M. Jones
Cc: libguestfs at redhat.com
Subject: Re: [Libguestfs] Trying to use virt-p2v

OK.  I changed the subject line so it fits in with the post I did a few
minutes ago to the list. 

I did my virt-p2v-image-builder on June 28, version virt-p2v 0.8.1
devel.20110628025409.  You just released virt-v2v 0.8.3 and I can go
grab that and install it on my Fedora 14 VM.  It looks like my virt-P2v
CD that I burned 2 months ago is still current.  

But what I still don't get is, how do I set up the conversion server?
This is part of what I tried earlier today and it blows up with a
bizarre error.  I'm guessing I want ssh:// but I haven't found any
guidance.

> [root at megahost gregs]# sh -v EOCHSP2V.sh
> date
> Wed Aug 31 11:53:39 CDT 2011
> virt-v2v -ic ssh://10.10.10.127/?no_verify=1 -o libvirt -os
EOCHSVMStorage --bridge br0 10.10.10.127
> virt-v2v: Failed to connect to ssh://10.10.10.127/?no_verify=1:
libvirt error code: 38, message: Cannot access CA certificate
'/etc/pki/CA/cacert.pem': No such file or directory
>
> date
> Wed Aug 31 11:53:40 CDT 2011
> [root at megahost gregs]#


- Greg Scott


-----Original Message-----
From: Richard W.M. Jones [mailto:rjones at redhat.com] 
Sent: Wednesday, August 31, 2011 1:01 PM
To: Greg Scott
Cc: Matthew Booth; libguestfs at redhat.com
Subject: Re: Some more Virt-P2V CD results

On Wed, Aug 31, 2011 at 12:56:50PM -0500, Greg Scott wrote:
> OK, thanks.  I just did a yum install virt-v2v on a Fedora 14 VM - but
> the man pages don't have anything about how to do physical machines.
I
> already have a p2v CD built with virt-p2v-image-builder a while ago.
I
> boot my source server from that CD - what do I do on the Fedora 14
> conversion VM?  How do I tell it to get its input from a physical
server
> instead of another VM?

Let's keep this on the upstream mailing list so that
discussion benefits everyone.

I'm not sure how compatible the protocol was between an old version of
the ISO and current versions.  Matt will know in detail.

However I just pushed virt-p2v-image-builder to F14 quite recently.
The version in *F16* is known to be broken, but the version in F14 is
worth trying ...

https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

_______________________________________________
Libguestfs mailing list
Libguestfs at redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs





More information about the Libguestfs mailing list