I am waiting the process hangs, now the conversion is still running... Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -----Message d'origine----- De : Richard W.M. Jones [mailto:rjones@redhat.com] Envoyé : mardi 14 octobre 2014 11:09 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 07:56:22AM +0000, VONDRA Alain wrote:> The version libguestfs-winsupport installed is well 7.1-3.el7 and the > qemu-kvm-rhev is 2.1.2-2.el7 In fact the qemu-img convert hangs.You'll have to attach gdb to it and find out why it hangs. It is likely to be a bug in qemu of some kind. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
Rich, The conversion did'nt finish, and I don't have any core dump. The qemu-img seems to hang, but doesn't crash... Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -----Message d'origine----- De : libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] De la part de VONDRA Alain Envoyé : mardi 14 octobre 2014 11:30 À : Richard W.M. Jones Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue I am waiting the process hangs, now the conversion is still running... Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -----Message d'origine----- De : Richard W.M. Jones [mailto:rjones@redhat.com] Envoyé : mardi 14 octobre 2014 11:09 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 07:56:22AM +0000, VONDRA Alain wrote:> The version libguestfs-winsupport installed is well 7.1-3.el7 and the > qemu-kvm-rhev is 2.1.2-2.el7 In fact the qemu-img convert hangs.You'll have to attach gdb to it and find out why it hangs. It is likely to be a bug in qemu of some kind. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
On Tue, Oct 14, 2014 at 02:43:31PM +0000, VONDRA Alain wrote:> Rich, > The conversion did'nt finish, and I don't have any core dump. > The qemu-img seems to hang, but doesn't crash...Please connect gdb to the hung process and get a stack trace to find out where it's hanging. 'strace -p ...' output might also be enlightening, if it is not hung but doing "something" (albeit not making progress). I should also note that if qemu-img convert hits a lot of zeroes in the source (possible, because fstrim wasnt successful), then it will consume CPU skipping them, but won't write anything for a while. RIch. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Also I noticed from the log that you're running qemu 2.0.0 (from where?) Try qemu-kvm-rhev included in the repository, currently at version qemu-img-rhev-2.1.2-2.el7.x86_64. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v