[Libguestfs] few things I found about virt-p2v

Richard W.M. Jones rjones at redhat.com
Sat Mar 30 13:23:29 UTC 2019


[Please keep replies on the list]

On Sat, Mar 30, 2019 at 02:24:36PM +0300, Hetz Ben Hamo wrote:
> > > I spent the last few hours playing with virt-p2v, and here are few things
> > > that I found, please tell me on which to submit a bug report:
> > >
> > >    1. I created a boot image (without any parameters) and tested it using
> > >    virt-manager. With QXL driver, when it loads the Xorg, it shows .. a
> > blank
> > >    screen (I tried it tens of times). With VirtIO it works.
> >
> > Unclear, you'd probably need to look at the logs from the virtual
> > machine to see what's going on.
> >
> 
> I mean the screen is totally blank after it boots and tries to go to X. You
> cannot type or see anything. if you want, I can record a video and show it
> to you.

A video is not going to help.  Press the key to get to the console
after boot ([Alt]+[Ctrl]+[F2] or something similar) and have a look at
the journalctl output.

> > >    3. There network to connect to - I think GUI wise, that it's not
> > >    understandable that you need to click the word "default" and change
> > the
> > >    name manually. Perhaps change the name from "default" to something
> > like
> > >    "Type Network Name"?
> >
> > Where exactly is this in the UI?
> >
> 
> In the right bottom side, where you see the nic MAC address and near it by
> default you see the word "Default".

I'm not exactly sure, but if it's the "Network interfaces" section of
the second page of the wizard then that is the network that we try to
connect to.

> > >    4. Looks like there is no way to type a pool name to export to (if I
> > >    select libvirt) or am I missing something? (let's say I have a pool
> > called
> > >    NAS-10G). In the -os field I'm trying to put the NAS-10G (as the
> > virt-v2v
> > >    man page suggests), but this seems not work.
> >
> > Put the pool name into the storage (-os) field.
> >
> 
> that's the problem. Once I remove the default "/var/tmp" and try to put my
> pool name and starts the conversion, it thinks that I'm using the Local
> mode (and I selected the libvirt  mode) and when it finishes and it fails,
> the end of the log shows:
> 
> virt-v2v: error: -o libvirt: output pool ‘NAS-10G’ is not a directory
> (type='dir').  See virt-v2v-output-local(1)

It could well be a bug, but take a look at the virt-p2v logs which are
saved under /tmp/virt-p2v-* on the conversion server.  That will tell
you what exact command line was used.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list