[Libguestfs] p2v with cciss failure

Mike Brady mike.brady at devnull.net.nz
Tue Mar 6 19:40:18 UTC 2012


I have continued on with my attempts to get p2v working will little success.

I have changed my server to Fedora 16 and finally got an XP with a  
single SATA disk (sda) to work.  I think that this means that the  
current virt-p2v.iso just doesn't work with the packages that are  
available on Centos 6 at the moment.

However, the machines that I currently need to actually migrate all  
have cciss controllers of some sort in them.  For testing I have two  
very different servers with different controllers in them that both  
use the cciss driver that fail to complete the transfer of the image.

Debug output is listed below, but doesn't give me any clues as to what  
to look at next.

Mar  1 10:44:16 c2cl00 virt-v2v[6721]: p2v-server started.
Mar  1 10:44:16 c2cl00 virt-v2v[6721]: Received: LIST_PROFILES
Mar  1 10:44:16 c2cl00 virt-v2v[6721]: Sent: LIST 1#012libvirt
Mar  1 10:45:50 c2cl00 kernel: lo: Disabled Privacy Extensions
Mar  1 10:46:24 c2cl00 virt-v2v[6721]: Received: SET_PROFILE libvirt
Mar  1 10:46:24 c2cl00 virt-v2v[6721]: Sent: OK
Mar  1 10:46:24 c2cl00 virt-v2v[6721]: Received: METADATA 224
Mar  1 10:46:24 c2cl00 virt-v2v[6721]: Read 224 bytes
Mar  1 10:46:24 c2cl00 virt-v2v[6721]: Sent: OK
Mar  1 10:46:24 c2cl00 virt-v2v[6721]: Received: PATH 320016572416  
/dev/cciss/c0d0
Mar  1 10:46:24 c2cl00 virt-v2v[6721]: Pool: $VAR1 = bless( do{\(my $o  
= 23313248)}, 'Sys::Virt::StoragePool' );
Mar  1 10:46:25 c2cl00 virt-v2v[6721]: Sent: OK
Mar  1 10:46:25 c2cl00 virt-v2v[6721]: Received: CONTAINER RAW
Mar  1 10:46:25 c2cl00 virt-v2v[6721]: Sent: OK
Mar  1 10:46:25 c2cl00 virt-v2v[6721]: Received: DATA 320016572416
Mar  1 10:46:25 c2cl00 virt-v2v[6721]: Read 4194304 bytes
Mar  1 10:46:25 c2cl00 virt-v2v[6721]: Read 4194304 bytes
Mar  1 10:46:25 c2cl00 virt-v2v[6721]: Read 4194304 bytes
                                               .
                                               .
                                               .
Mar  1 11:33:12 c2cl00 virt-v2v[6721]: Read 4194304 bytes
Mar  1 11:33:12 c2cl00 virt-v2v[6721]: Read 4194304 bytes
Mar  1 11:33:12 c2cl00 virt-v2v[6721]: Read 65536 bytes
Mar  1 11:33:14 c2cl00 virt-v2v[6721]: Sent: ERROR Error receiving data:
Mar  1 11:33:14 c2cl00 virt-v2v[6721]: FATAL: Error receiving data:
Mar  1 11:33:14 c2cl00 virt-v2v[6721]: WARNING: Error messages were  
written to /var/log/virt-p2v-server.1330551856.log.
Mar  1 11:33:14 c2cl00 virt-v2v[6721]: p2v-server exited.
Mar  1 11:33:14 c2cl00 virt-v2v[6721]: Automatically cleaning up  
volume win2008-cciss_c0d0 from pool {pool}.

The file /var/log/virt-p2v-server.1330551856.log contains
-----Start
virt-v2v: Error receiving data:

-----End

This failure is repeatable for each server in that each will fail at  
the same point if I try the transfer again.  The amount of data  
transferred before failure for each server is different.

I have tried different array configurations and the transfer fails  
with differing, but repeatable for that particular configuration,  
amounts of data transferred.

The destination storage pool is an LVM volume group and the volume is  
not "Automatically cleaning up" as the log says and is not called  
"pool" as I think that the log is indicating.

The virt-p2v.iso being used was created on a Fedora 16 32 bit machine  
and has virt-v2v 0.8.5 installed, as does the server that I am now  
using.

At this point I am leaning towards there being an issue with the cciss  
drivers on the virt-p2v.iso, but am not sure what to try next.

Any help would be appreciated.

Thanks

Mike






More information about the Libguestfs mailing list