[Libguestfs] Virtio-win RPM?

Greg Scott GregScott at Infrasupport.com
Mon Nov 21 21:23:16 UTC 2011


We tried another P2V with a different physical server today.  Just now watching with RHEV-M, I saw the used space in my Export domain drop from 64GB to 55, then 24, 20, and < 1 GB.  Right in front of my eyes it all went away.  

As soon as I can get some guidance on capturing the detailed trace info - see below - we will try another P2V and capture it.  Meanwhile, the only diagnostic info I can find are these entries from /var/log/messages:

The Nov. 20 machine was a Windows XP workstation.  The one from today, Nov. 21, is a Windows 2003 server.  The "p2v-server started" message from 06:07 today was me starting it by hand to get the version number top post here.  

[root at FedoraP2V log]#
[root at FedoraP2V log]# more /var/log/messages
Nov 20 09:11:54 FedoraP2V virt-v2v[1909]: p2v-server started.
Nov 20 12:39:01 FedoraP2V virt-v2v[1909]: FATAL: inspect_os: cannot resolve Windows
%SYSTEMROOT% at /usr/share/perl5/Sys/VirtConvert/GuestfsHandle.pm line 187, <> line
7.#012 at /usr/bin/virt-p2v-server line 415
Nov 20 12:39:01 FedoraP2V virt-v2v[1909]: p2v-server exited.
Nov 21 03:12:02 FedoraP2V pcscd: winscard.c:285:SCardConnect() Reader E-Gate 0 0 Not
 Found
Nov 21 03:12:02 FedoraP2V pcscd: winscard.c:285:SCardConnect() Reader E-Gate 0 0 Not
 Found
Nov 21 03:12:02 FedoraP2V pcscd: winscard.c:285:SCardConnect() Reader E-Gate 0 0 Not
 Found
Nov 21 03:12:02 FedoraP2V pcscd: winscard.c:285:SCardConnect() Reader E-Gate 0 0 Not
 Found
Nov 21 06:06:37 FedoraP2V virt-v2v[9997]: p2v-server started.
Nov 21 06:37:03 FedoraP2V virt-v2v[10190]: p2v-server started.
Nov 21 12:23:24 FedoraP2V virt-v2v[12368]: p2v-server started.
Nov 21 15:03:44 FedoraP2V virt-v2v[12368]: FATAL: Error receiving data:
Nov 21 15:03:44 FedoraP2V virt-v2v[12368]: p2v-server exited.
[root at FedoraP2V log]#

- Greg



-----Original Message-----
From: libguestfs-bounces at redhat.com [mailto:libguestfs-bounces at redhat.com] On Behalf Of Greg Scott
Sent: Monday, November 21, 2011 10:22 AM
To: Matthew Booth; Richard W.M. Jones
Cc: Fredy Hernández; libguestfs at redhat.com
Subject: Re: [Libguestfs] Virtio-win RPM?

Matt, is there some other variant of virt-p2v-server I should be looking at?  The lines you want me to uncomment do not exist in the version installed on this conversion server.  When I launch it by hand it identifies itself as version 0.8.3.  

[root at FedoraP2V bin]#
[root at FedoraP2V bin]# ./virt-p2v-server
VIRT_P2V_SERVER 0.8.3
^C
[root at FedoraP2V bin]#


The output below is garbled, but I searched all over the place and found no matches for the word, "TRACE" and there are no other files named "virt-p2v-server".  

- Greg


-----Original Message-----
From: libguestfs-bounces at redhat.com [mailto:libguestfs-bounces at redhat.com] On Behalf Of Greg Scott
Sent: Monday, November 21, 2011 5:52 AM
To: Matthew Booth; Richard W.M. Jones
Cc: Fredy Hernández; libguestfs at redhat.com
Subject: Re: [Libguestfs] Virtio-win RPM?

OK, I must be living in the Twilight Zone:


> The only way to do it right now is to edit the virt-p2v-server 
> executable. Up at the top, you should see:

> # Uncomment these 2 lines to capture debug information from the conversion
> # process
> #$ENV{'LIBGUESTFS_DEBUG'} = 1;
> #$ENV{'LIBGUESTFS_TRACE'} = 1;

Is there another virt-p2v-server somewhere?  The above lines don't exist.  Should I just put them in?

[root at FedoraP2V bin]#
[root at FedoraP2V bin]# grep DEBUG virt-p2v-server
#logmsg_level(DEBUG);
    logmsg DEBUG, __x('Received: {command} {args}',
        logmsg DEBUG, "Read $in bytes";
    logmsg DEBUG, __x('Sent: {msg}', msg => $msg);
    logmsg DEBUG, __x('Sent: {msg}', msg => $msg);
    logmsg DEBUG, __x('Sent: {msg}', msg => $msg);
[root at FedoraP2V bin]#
[root at FedoraP2V bin]#
[root at FedoraP2V bin]# grep TRACE virt-p2v-server
[root at FedoraP2V bin]#
[root at FedoraP2V bin]#
[root at FedoraP2V bin]# find / -name virt-p2v-server
/usr/bin/virt-p2v-server
[root at FedoraP2V bin]#

- Greg



_______________________________________________
Libguestfs mailing list
Libguestfs at redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs

_______________________________________________
Libguestfs mailing list
Libguestfs at redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs




More information about the Libguestfs mailing list