[Libguestfs] few things I found about virt-p2v

Hetz Ben Hamo hetz at hetz.biz
Sat Mar 30 13:32:31 UTC 2019


On Sat, Mar 30, 2019 at 4:23 PM Richard W.M. Jones <rjones at redhat.com>
wrote:

> [Please keep replies on the list]
>

I wasn't approved yet by moderator ;)


> > > >    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.
>

I did, and I'm enclosing gzipped copy of the file. Line 4197 clearly shows
it got the correct parameter:
Initializing the target -o libvirt -os NAS-10G


>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190330/b3fd4fc9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-v2v-conversion-log.txt.gz
Type: application/gzip
Size: 163286 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190330/b3fd4fc9/attachment.gz>


More information about the Libguestfs mailing list