[Please keep replies on the list] On Thu, Sep 25, 2014 at 08:33:52AM +0000, VONDRA Alain wrote:
Hi, Can we expect a new build today ?
Possibly. There is at least another problem with the Windows conversion code that hasn't been resolved yet, so it will depend on whether I'm able to reproduce and/or fix that. 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/
Hi, Now with the new libguestfs-1.27.55-1.1 I have this new issue : libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/freedos/freedos.ico" libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/boot/loader.rc" libguestfs: trace: is_file = 0 libguestfs: trace: umount_all libguestfs: trace: umount_all = 0 libguestfs: trace: vfs_type "/dev/sda2" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda2" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda2" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda2" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda3" libguestfs: trace: vfs_type = "" libguestfs: trace: internal_parse_mountable "/dev/sda3" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda3" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda3" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda5" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda5" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda5" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda5" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: inspect_get_roots libguestfs: trace: inspect_get_roots = [] libguestfs: trace: inspect_os = [] virt-v2v: error: no root device found in this operating system image. If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal_autosync = 0 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é : jeudi 25 septembre 2014 10:43 À : VONDRA Alain; libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue [Please keep replies on the list] On Thu, Sep 25, 2014 at 08:33:52AM +0000, VONDRA Alain wrote:
Hi, Can we expect a new build today ?
Possibly. There is at least another problem with the Windows conversion code that hasn't been resolved yet, so it will depend on whether I'm able to reproduce and/or fix that. 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/
On Sat, Sep 27, 2014 at 10:44:42AM +0000, VONDRA Alain wrote:
Hi, Now with the new libguestfs-1.27.55-1.1 I have this new issue :
libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/freedos/freedos.ico" libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/boot/loader.rc" libguestfs: trace: is_file = 0 libguestfs: trace: umount_all libguestfs: trace: umount_all = 0 libguestfs: trace: vfs_type "/dev/sda2" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda2" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda2" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda2" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda3" libguestfs: trace: vfs_type = "" libguestfs: trace: internal_parse_mountable "/dev/sda3" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda3" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda3" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda5" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda5" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda5" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda5" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: inspect_get_roots libguestfs: trace: inspect_get_roots = [] libguestfs: trace: inspect_os = [] virt-v2v: error: no root device found in this operating system image.
If reporting bugs, run virt-v2v with debugging enabled and include the complete output:
Please don't edit/cut the debug log when reporting bugs. Also tell us what guest you are trying to convert. In this case I suspect you don't have libguestfs-winsupport installed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Hi, I am trying to convert a Windows 2008 version, and I have libguestfs-winsupport-7.1-3.el7.x86_64 installed. Regards 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é : samedi 27 septembre 2014 13:33 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sat, Sep 27, 2014 at 10:44:42AM +0000, VONDRA Alain wrote:
Hi, Now with the new libguestfs-1.27.55-1.1 I have this new issue :
libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/freedos/freedos.ico" libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/boot/loader.rc" libguestfs: trace: is_file = 0 libguestfs: trace: umount_all libguestfs: trace: umount_all = 0 libguestfs: trace: vfs_type "/dev/sda2" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda2" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda2" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda2" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda3" libguestfs: trace: vfs_type = "" libguestfs: trace: internal_parse_mountable "/dev/sda3" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda3" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda3" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda5" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda5" libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda5" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda5" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: inspect_get_roots libguestfs: trace: inspect_get_roots = [] libguestfs: trace: inspect_os = [] virt-v2v: error: no root device found in this operating system image.
If reporting bugs, run virt-v2v with debugging enabled and include the complete output:
Please don't edit/cut the debug log when reporting bugs. Also tell us what guest you are trying to convert. In this case I suspect you don't have libguestfs-winsupport installed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
On Sun, Sep 28, 2014 at 07:11:55PM +0000, VONDRA Alain wrote:
Hi, I am trying to convert a Windows 2008 version, and I have libguestfs-winsupport-7.1-3.el7.x86_64 installed.
There's something strange going on. Can you try: virt-inspector -v -x -a /path/to/source/disk.img |& tee /tmp/log and then post the complete log (/tmp/log). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
My log file is attached 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é : dimanche 28 septembre 2014 21:16 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sun, Sep 28, 2014 at 07:11:55PM +0000, VONDRA Alain wrote:
Hi, I am trying to convert a Windows 2008 version, and I have libguestfs-winsupport-7.1-3.el7.x86_64 installed.
There's something strange going on. Can you try: virt-inspector -v -x -a /path/to/source/disk.img |& tee /tmp/log and then post the complete log (/tmp/log). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Oh I see. It looks like you've got a self-compiled copy of supermin & libguestfs in /usr/local, which is the one which is running. libguestfs-winsupport only works to add NTFS support to the normal installed packages that we build, ie. the ones here: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html You'll probably have to nuke all traces of the version in /usr/local, otherwise nothing will really work. As a general rule of thumb, never use 'make install' with libguestfs as you'll just end up with two copies installed which will conflict with each other like this. If you want to build from source, then run the second copy from the build directory using the `./run' script in the top-level [see README], and that'll be fine. 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
Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... What action do you advice me to get a clean install ? Thanks 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é : dimanche 28 septembre 2014 21:35 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Oh I see. It looks like you've got a self-compiled copy of supermin & libguestfs in /usr/local, which is the one which is running. libguestfs-winsupport only works to add NTFS support to the normal installed packages that we build, ie. the ones here: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html You'll probably have to nuke all traces of the version in /usr/local, otherwise nothing will really work. As a general rule of thumb, never use 'make install' with libguestfs as you'll just end up with two copies installed which will conflict with each other like this. If you want to build from source, then run the second copy from the build directory using the `./run' script in the top-level [see README], and that'll be fine. 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
On Sun, Sep 28, 2014 at 08:05:54PM +0000, VONDRA Alain wrote:
Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... What action do you advice me to get a clean install ?
I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Ok, I've removed all the files relating to libguestfs in /usr/local/, but the error message is still the same. 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é : dimanche 28 septembre 2014 22:25 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sun, Sep 28, 2014 at 08:05:54PM +0000, VONDRA Alain wrote:
Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... What action do you advice me to get a clean install ?
I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
For information, I had still an issue "unknown filesystem type 'ntfs'", even though I ahve libguestfs-winsupport installed, I decided to to try a: yum reinstall libguestfs-winsupport and the conversion seems to run well, just wait and see.... Thank you Richard anyway for your help 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é : dimanche 28 septembre 2014 22:39 À : Richard W.M. Jones Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Ok, I've removed all the files relating to libguestfs in /usr/local/, but the error message is still the same. 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é : dimanche 28 septembre 2014 22:25 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sun, Sep 28, 2014 at 08:05:54PM +0000, VONDRA Alain wrote:
Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... What action do you advice me to get a clean install ?
I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
On Sun, Sep 28, 2014 at 09:31:07PM +0000, VONDRA Alain wrote:
For information, I had still an issue "unknown filesystem type 'ntfs'", even though I ahve libguestfs-winsupport installed, I decided to to try a: yum reinstall libguestfs-winsupport
This happens because installing (any) package causes the RPM database to be touched, causing supermin to rebuild the appliance in /var/tmp/.guestfs-<UID>/ Before the reinstall, this contained the old appliance from the /usr/local copy of libguestfs. rm -rf /var/tmp/.guestfs-* would have also worked. 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
participants (2)
-
Richard W.M. Jones -
VONDRA Alain