[Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411

Richard W.M. Jones rjones at redhat.com
Wed Nov 19 17:12:19 UTC 2014


On Wed, Nov 19, 2014 at 04:42:23PM +0100, Nicolas Ecarnot wrote:
> disks:
> 	nbd:localhost:33363 (raw) [sda]
> 	nbd:localhost:49584 (raw) [sdb]
> 	nbd:localhost:41988 (raw) [sdc]
> removable media:
> 
> NICs:
> 
> [   0.0] Creating an overlay to protect the source from being modified
> qemu-img create -q -f qcow2 -b 'nbd:localhost:33363' -o
> 'compat=1.1,backing_fmt=raw' /var/tmp/v2vovl636444.qcow2
> nbd.c:nbd_receive_negotiate():L501: read failed
> qemu-img: /var/tmp/v2vovl636444.qcow2: Could not open
> 'nbd:localhost:33363': Could not open image: Invalid argument:
> Invalid argument

What is supposed to happen is that qemu-nbd is started (3 times) on
the virt-p2v machine.  Then 3 x ssh connections are made which reverse
proxy the nbd connection from virt-v2v back to virt-p2v, the
equivalent of:

  ssh -R 33363:localhost:<hostport> virt-v2v-server

Somehow that's not happening.

I'm not sure what.  Is this reproducible?  Do you have an unusual
firewall configuration on the virt-v2v conversion server?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list