On Wed, Feb 29, 2012 at 07:23:20PM -0500, Cole Robinson wrote:
On 02/29/2012 06:17 PM, Mike Brady wrote:
> I have been doing some testing with v2v and p2v and have got stuck on with p2v
> failing on mmy test systems and need some pointers.
>
> I got v2v working for Centos 5 Xen to Centos 6 KVM for both Linux (Centos) and
> Windows (2008) with out too much problem.
>
> I then installed Win2008R2 native on the hardware that was the Centos 5 server
> to test p2v. The virt-p2v ISO boots fine and starts the disk transfer, but
> the transfer fails at the same point, 21% into the transfer of the disk. The
> "disk" is a single 320GB RAID 10 array on an HP CCISS controller.
>
> The virt-p2v.iso was created on a Fedora 16 i386 machine and has v2v/p2v 0.8.5
> on it.
>
> The Centos 6 KVM server started with virt-v2v 0.8.3, but I have built 0.8.6
> RPMs and updated due to this issue, with no change in behavior.
>
> I have enabled DEBUG logging on the virt-p2v-server and get the following out
> put:
> 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}.
>
> /var/log/virt-p2v-server.1330551856.log contains:
> virt-v2v: Error receiving data:
>
> Any pointers on what to look at next?
>
CCing to virt-tools-list (this was sent to virt-tools-list-owner)
Thanks but virt-p2v & v2v questions should go to the
libguestfs mailing list.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org