I've had good luck using F14 as a P2V server. You should be able to get the trace
output by typing this on the cli on the p2v server itself: "export
LIBGUESTFS_TRACE=1". Then, when you kick off the p2v conversion, your p2v server will
start spitting out tons of debug logging to stout.
Greg Scott <GregScott(a)Infrasupport.com> wrote:
Why don't I just set up an i386 F16 conversion server and as soon
as I
know how to capture the trace stuff we can try with it. For Fredy -
I'll give it an IP Address of ...0.58.
- Greg
-----Original Message-----
From: Richard W.M. Jones [mailto:rjones@redhat.com]
Sent: Saturday, November 19, 2011 10:11 AM
To: Greg Scott
Cc: Fredy Hernández; libguestfs(a)redhat.com; mbooth(a)redhat.com
Subject: Re: [Libguestfs] Virtio-win RPM?
On Sat, Nov 19, 2011 at 08:13:19AM -0600, Greg Scott wrote:
>
> When the P2V fails, it apparently deletes everything it set up, so
> there is no guest to run virt-inspector.
>
> Where do I export LIBGUESTFS_TRACE=1? AFAIK, there isn't any
> interactive shell where I can do this. I edit virt-v2v.conf, boot
> the source physical machine from the CD, and click some mouse
> buttons. That launches virt-p2v-server on the back end in the
> conversion server. Is there a hook someplace in virt-p2v-server or
> maybe virt-v2v.conf? And where does the output go?
>
> Does it make sense to export that variable in an interactive shell
> and then launch virt-p2v-server by hand? Searching for "TRACE" in
> virt-p2v-server shows no occurrences. But maybe virt-p2v-server
> runs an executable program that looks at that variable? Should I
> still be using Fedora 14 for conversion server or is it better now
> to try with Fedora 16?
Matt ^^
How should Greg capture trace output from the virt-p2v process?
Fedora 16's inspection code has changed quite a lot (libguestfs 1.8 vs
1.14). However functionally it should be just about the same.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
_______________________________________________
Libguestfs mailing list
Libguestfs(a)redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs