I just now ran into some traceback messages and other errors running virt-p2v-image-builder 0.8.5.1. Anything to worry about? . . . Installing: passwd ##################### [305/307] Installing: syslinux ##################### [306/307] Installing: vim-minimal ##################### [307/307] Note: Forwarding request to 'systemctl enable NetworkManager.service'. error reading information on service auditd: No such file or directory Starting Kickstart Post Creating shadow files Forcing C locale [Errno 2] No such file or directory: '/var/tmp/imgcreate-vC5xTf/install_root/usr/share/locale' ignoring %post failure (code 1) Removing python source files Customizing boot menu Creating manifest....done Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 563, in <module> File "/usr/lib/python2.7/site.py", line 545, in main File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages File "/usr/lib/python2.7/site.py", line 243, in getuserbase File "/usr/lib/python2.7/sysconfig.py", line 520, in get_config_var File "/usr/lib/python2.7/sysconfig.py", line 419, in get_config_vars File "/usr/lib/python2.7/sysconfig.py", line 298, in _init_posix IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig-32.h (No such file or directory) I: -input-charset not specified, using utf-8 (detected in locale settings) Using MANIF000.TXT;1 for /manifest-srpm.txt (manifest-license.txt) Using MANIF001.TXT;1 for /manifest-license.txt (manifest-rpm.txt) Using MANIF000.BZ2;1 for /manifest-owns.txt.bz2 (manifest-deps.txt.bz2) Using MANIF001.BZ2;1 for /manifest-deps.txt.bz2 (manifest-dir.txt.bz2) Using MANIF002.BZ2;1 for /manifest-dir.txt.bz2 (manifest-file.txt.bz2) Using LIVEC000.;1 for /var/tmp/imgcreate-vC5xTf/iso-FsojFr/LiveOS/livecd-iso-to-pxeboot (livecd-iso-to-disk) Size of boot image is 4 sectors -> No emulation 9.95% done, estimate finish Fri Dec 9 21:58:54 2011 19.86% done, estimate finish Fri Dec 9 21:58:54 2011 29.80% done, estimate finish Fri Dec 9 21:58:54 2011 39.72% done, estimate finish Fri Dec 9 21:58:54 2011 49.66% done, estimate finish Fri Dec 9 21:58:56 2011 59.57% done, estimate finish Fri Dec 9 21:58:55 2011 69.51% done, estimate finish Fri Dec 9 21:58:55 2011 79.43% done, estimate finish Fri Dec 9 21:58:55 2011 89.36% done, estimate finish Fri Dec 9 21:58:55 2011 99.29% done, estimate finish Fri Dec 9 21:58:55 2011 Total translation table size: 2048 Total rockridge attributes bytes: 2239 Total directory bytes: 4096 Path table size(bytes): 40 Max brk space used 1b000 50365 extents written (98 MB) Inserting md5sum into iso image... md5 = 846fe73d65f185cc939262f022874f02 Inserting fragment md5sums into iso image... fragmd5 = 24359bb7fa6345fb8826d2b789a326cbcaff94b4d7c221e3b8d99f8ea23d frags = 20 Setting supported flag to 0 umount: /var/tmp/imgcreate-vC5xTf/install_root/sys/fs/selinux/load: not found [root at Fedora16P2V gregs]# [root at Fedora16P2V gregs]# [root at Fedora16P2V gregs]# ls -al | grep iso -rw-r--r--. 1 root root 103809024 Dec 9 21:58 Virt-P2V.iso [root at Fedora16P2V gregs]# Thanks - Greg
Woops, I didn't document how I ran virt-p2v-image-builder: virt-p2v-image-builder -a http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/16/i3 86 I'll leave the original email intact below because it looks less garbled than the one that just posted to the list. - Greg -----Original Message----- From: libguestfs-bounces at redhat.com [mailto:libguestfs-bounces at redhat.com] On Behalf Of Greg Scott Sent: Friday, December 09, 2011 10:16 PM To: libguestfs at redhat.com; Matthew Booth Subject: [Libguestfs] A few errors with virt-p2v-image-builder I just now ran into some traceback messages and other errors running virt-p2v-image-builder 0.8.5.1. Anything to worry about? . . . Installing: passwd ##################### [305/307] Installing: syslinux ##################### [306/307] Installing: vim-minimal ##################### [307/307] Note: Forwarding request to 'systemctl enable NetworkManager.service'. error reading information on service auditd: No such file or directory Starting Kickstart Post Creating shadow files Forcing C locale [Errno 2] No such file or directory: '/var/tmp/imgcreate-vC5xTf/install_root/usr/share/locale' ignoring %post failure (code 1) Removing python source files Customizing boot menu Creating manifest....done Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 563, in <module> File "/usr/lib/python2.7/site.py", line 545, in main File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages File "/usr/lib/python2.7/site.py", line 243, in getuserbase File "/usr/lib/python2.7/sysconfig.py", line 520, in get_config_var File "/usr/lib/python2.7/sysconfig.py", line 419, in get_config_vars File "/usr/lib/python2.7/sysconfig.py", line 298, in _init_posix IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig-32.h (No such file or directory) I: -input-charset not specified, using utf-8 (detected in locale settings) Using MANIF000.TXT;1 for /manifest-srpm.txt (manifest-license.txt) Using MANIF001.TXT;1 for /manifest-license.txt (manifest-rpm.txt) Using MANIF000.BZ2;1 for /manifest-owns.txt.bz2 (manifest-deps.txt.bz2) Using MANIF001.BZ2;1 for /manifest-deps.txt.bz2 (manifest-dir.txt.bz2) Using MANIF002.BZ2;1 for /manifest-dir.txt.bz2 (manifest-file.txt.bz2) Using LIVEC000.;1 for /var/tmp/imgcreate-vC5xTf/iso-FsojFr/LiveOS/livecd-iso-to-pxeboot (livecd-iso-to-disk) Size of boot image is 4 sectors -> No emulation 9.95% done, estimate finish Fri Dec 9 21:58:54 2011 19.86% done, estimate finish Fri Dec 9 21:58:54 2011 29.80% done, estimate finish Fri Dec 9 21:58:54 2011 39.72% done, estimate finish Fri Dec 9 21:58:54 2011 49.66% done, estimate finish Fri Dec 9 21:58:56 2011 59.57% done, estimate finish Fri Dec 9 21:58:55 2011 69.51% done, estimate finish Fri Dec 9 21:58:55 2011 79.43% done, estimate finish Fri Dec 9 21:58:55 2011 89.36% done, estimate finish Fri Dec 9 21:58:55 2011 99.29% done, estimate finish Fri Dec 9 21:58:55 2011 Total translation table size: 2048 Total rockridge attributes bytes: 2239 Total directory bytes: 4096 Path table size(bytes): 40 Max brk space used 1b000 50365 extents written (98 MB) Inserting md5sum into iso image... md5 = 846fe73d65f185cc939262f022874f02 Inserting fragment md5sums into iso image... fragmd5 = 24359bb7fa6345fb8826d2b789a326cbcaff94b4d7c221e3b8d99f8ea23d frags = 20 Setting supported flag to 0 umount: /var/tmp/imgcreate-vC5xTf/install_root/sys/fs/selinux/load: not found [root at Fedora16P2V gregs]# [root at Fedora16P2V gregs]# [root at Fedora16P2V gregs]# ls -al | grep iso -rw-r--r--. 1 root root 103809024 Dec 9 21:58 Virt-P2V.iso [root at Fedora16P2V gregs]# Thanks - Greg _______________________________________________ Libguestfs mailing list Libguestfs at redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Trying to do a P2V; booted from the latest 0.8.5 CD and it immediately died. What in the world does this error mean? [root at Fedora16-64P2V log]# more virt-p2v-server.1323724282.log libguestfs: trace: close virt-v2v: Can't use string ("/tmp/9_NlkdocoV/f76c1443-10d8-49"...) as a HASH ref while "strict ref s" in use at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 80, <> line 5. [root at Fedora16-64P2V log]# I'm running the latest virt-p2v-server [root at Fedora16-64P2V log]# ls -al /usr/bin | grep p2v -rwxr-xr-x. 1 root root 15705 Dec 9 22:02 virt-p2v-server [root at Fedora16-64P2V log]# /usr/bin/virt-p2v-server VIRT_P2V_SERVER 0.8.5 ^C [root at Fedora16-64P2V log]# This was an upgrade from the temporary 0.8.4.1 version. I'll try completely removing virt-v2v and reinstalling it. - Greg