[Libguestfs] virt-p2v migration seemingly hangs, no data transmitted, no sign of life

Tim Hildred thildred at redhat.com
Tue Jul 12 05:28:08 UTC 2011


Hello List;

I am having trouble performing p2v migration using the p2v iso. I built it using virt-p2v-image-builder-0.8.1-2.fc14.noarch. It boots, connects to the fedora14 machine that is serving both as the v2v server and the nfs server. I know it is connecting because:

a)If I try and connect to another server, like one that does not have virt-p2v-server installed, I get a message saying that the p2v server could not be started on the remote server.
b)I can select the profile I created from a drop down menu. 

I've inserted this just before the </virt-v2v> in virt-v2v.conf on my fedora14 machine:

  <profile name="p2vtest">
        <method>libvirt</method>
        <storage format="raw" allocation="sparse">192.168.22.7:/export/v2v</storage>
        <network type="default">
                <network type="network" name="sandbox"/>
        </network>
  </profile>

The /etc/exports on the looks like this:

/export/v2v 192.168.22.0/22(rw,no_root_squash)


/export/v2v is actually a separate drive, mounted from /etc/fstab like:

/dev/sda1 /export/v2v	ext4	rw,user,exec 0 0


ls -l /export/ gives:

drwxr-xr-x. 3 root root 4096 Jul 12 10:02 v2v

showmount -e on the fedora machine gives
/export/v2v 192.168.22.0/24
/export     192.168.22.0/24

When I enter a name for the converted machine and hit convert, the convert button becomes greyed out, and then nothing happens. The transfer progress bar does not change. Watching the nfs export shows no new folders/files created, and no change in available space. 

A look at /var/log/messages shows that:

Jul 12 15:10:42 fedora14 libvirtd: 15:10:42.308: error : storagePoolLookupByName:299 : Storage pool not found: no pool with matching name '192.168.22.7:/export/v2v'
Jul 12 15:10:42 fedora14 virt-v2v[2398]: FATAL: Output pool 192.168.22.7:/export/v2v is not a valid storage pool.
Jul 12 15:10:42 fedora14 virt-v2v[2398]: FATAL: virt-v2v: Output pool 192.168.22.7:/export/v2v is not a valid storage pool.
Jul 12 15:10:42 fedora14 virt-v2v[2398]: p2v-server exited.

So how can this be? Have I entered something wrong? what would make what I have a valid storage pool?





More information about the Libguestfs mailing list