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
On 03/06/2012 07:40 PM, Mike Brady wrote:> 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 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: > > -----EndI don't think this error has anything to do with the cciss controller, as I've had it from a number of sources now. There appears to be some kind of race in the code which sends disk data. I'm currently working on trying to track it down. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
> On 03/06/2012 07:40 PM, Mike Brady wrote: > 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 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 > > I don't think this error has anything to do with the cciss > controller, as I've had it from a number of sources now. There > appears to be some kind of race in the code which sends disk data. > I'm currently working on trying to track it down. > > Matt > -- > Matthew Booth, RHCA, RHCSS > Red Hat Engineering, Virtualisation Team > > GPG ID: D33C3490 > GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 >Matthew Apologies, but some how I managed to miss your original reply. Let me now if there is something I can do to help with tracking this down. I have a couple of machines here that reliably fail that I can test on. Thanks Mike