On Sat, Mar 30, 2019 at 4:23 PM Richard W.M. Jones <rjones(a)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