Hi,

    I am experiencing a failure running virt-v2v to convert a Linux guest on an ESX host to a RedHat KVM hypervisor.  The output with the failure follows.  Any help/guidance is appreciated.

[root@storage-024 ~]# virt-v2v -ic esx://<ip address>/?no_verify=1 -op transferimages --bridge br0 dev-03 > /tmp/virt-v2v.output
error from Term::ReadKey::GetTerminalSize(): Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/lib64/perl5/vendor_perl/Term/ReadKey.pm line 362.
guessing terminal width 50
dev-03_dev-03: 100% [==================]D 0h24m34s
libguestfs: trace: add_drive_opts "/local/transferimages/dev-03_dev-03" "iface:ide"
libguestfs: trace: add_drive_opts = 0
libguestfs: trace: add_drive_ro_with_if "/var/lib/virt-v2v/transfer.iso" "ide"
libguestfs: trace: add_drive_ro_with_if = 0
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: launch
Using CPU model "cpu64-rhel6"
libguestfs: trace: launch = 0
libguestfs: trace: set_autosync true
libguestfs: trace: set_autosync = 0
libguestfs: trace: list_devices
libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"]
libguestfs: trace: mount_ro "/dev/sda" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: mount_ro "/dev/sdb" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: list_partitions
libguestfs: trace: list_partitions = ["/dev/sda1", "/dev/sda2", "/dev/sda3"]
libguestfs: trace: pvs
libguestfs: trace: pvs = [""]
libguestfs: trace: available "lvm2"
libguestfs: trace: available = 0
libguestfs: trace: lvs
libguestfs: trace: lvs = [""]
libguestfs: trace: file "/dev/sda1"
libguestfs: trace: file = "Linux rev 1.0 ext3 filesystem data"
libguestfs: trace: get_e2uuid "/dev/sda1"
libguestfs: trace: get_e2uuid = "1a90f551-5635-4d8d-af60-810b82a45cda"
libguestfs: trace: get_e2label "/dev/sda1"
libguestfs: trace: get_e2label = "/boot"
libguestfs: trace: mount_ro "/dev/sda1" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: is_file "/grub/menu.lst"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/grub/grub.conf"
libguestfs: trace: is_file = 1
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: file "/dev/sda2"
libguestfs: trace: file = "Linux/i386 swap file (new style) 1 (4K pages) size 1024142 pages Label SWAP-sda2"
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: file "/dev/sda3"
libguestfs: trace: file = "Linux rev 1.0 ext3 filesystem data (large files)"
libguestfs: trace: get_e2uuid "/dev/sda3"
libguestfs: trace: get_e2uuid = "6c19c312-8cd2-44e7-acea-236758464c81"
libguestfs: trace: get_e2label "/dev/sda3"
libguestfs: trace: get_e2label = "/"
libguestfs: trace: mount_ro "/dev/sda3" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: is_file "/grub/menu.lst"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/grub/grub.conf"
libguestfs: trace: is_file = 0
libguestfs: trace: is_dir "/etc"
libguestfs: trace: is_dir = 1
libguestfs: trace: is_dir "/bin"
libguestfs: trace: is_dir = 1
libguestfs: trace: is_file "/etc/fstab"
libguestfs: trace: is_file = 1
libguestfs: trace: exists "/etc/redhat-release"
libguestfs: trace: exists = 1
libguestfs: trace: cat "/etc/redhat-release"
libguestfs: trace: cat = "Red Hat Enterprise Linux Server release 5.4 (Tikanga)
"
libguestfs: trace: cat "/etc/fstab"
libguestfs: trace: cat = "LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0
"
libguestfs: trace: is_file "/bin/bash"
libguestfs: trace: is_file = 1
libguestfs: trace: file_architecture "/bin/bash"
libguestfs: trace: file "/bin/bash"
libguestfs: trace: file = "ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped"
libguestfs: trace: file_architecture = "i386"
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: file "/dev/sdb"
libguestfs: trace: file = "ISO 9660 CD-ROM filesystem data '__virt-v2v_transfer__          '"
libguestfs: trace: mount_ro "/dev/sdb" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: is_file "/grub/menu.lst"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/grub/grub.conf"
libguestfs: trace: is_file = 0
libguestfs: trace: is_dir "/etc"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_dir "/etc"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_dir "/etc"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_file "/AUTOEXEC.BAT"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/autoexec.bat"
libguestfs: trace: is_file = 0
libguestfs: trace: is_dir "/Program Files"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_dir "/WINDOWS"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_file "/boot.ini"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/ntldr"
libguestfs: trace: is_file = 0
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
unknown filesystem label SWAP-sda2
libguestfs: trace: mount_options "" "/dev/sda1" "/"
libguestfs: trace: mount_options = 0
libguestfs: trace: is_dir "/boot"
libguestfs: trace: is_dir = 0
libguestfs: trace: command_lines "rpm -q -a --qf %{name} %{epoch} %{version} %{release} %{arch}
"
libguestfs: trace: command_lines = NULL (error)
Error running rpm -qa: command_lines: command_lines: rpm: No such file or directory at /usr/share/perl5/vendor_perl/Sys/VirtV2V/GuestfsHandle.pm line 188.
 at /usr/lib64/perl5/vendor_perl/Sys/Guestfs/Lib.pm line 1022
libguestfs: trace: available "augeas"
libguestfs: trace: available = 0
libguestfs: trace: aug_init "/" 16
libguestfs: trace: aug_init = 0
libguestfs: trace: aug_match "/files//etc/grub.conf/title"
libguestfs: trace: aug_match = [""]
libguestfs: trace: aug_get "/files//etc/grub.conf/default"
libguestfs: trace: aug_get = NULL (error)
libguestfs: trace: aug_init "/" 16
libguestfs: trace: aug_init = 0
libguestfs: trace: aug_match "/files/etc/conf.modules/alias"
libguestfs: trace: aug_match = [""]
libguestfs: trace: aug_match "/files/etc/modules.conf/alias"
libguestfs: trace: aug_match = [""]
libguestfs: trace: aug_match "/files/etc/modprobe.conf/alias"
libguestfs: trace: aug_match = [""]
libguestfs: trace: aug_match "/files/etc/modprobe.d/*/alias"
libguestfs: trace: aug_match = [""]
libguestfs: trace: exists "/usr/sbin/load_policy"
libguestfs: trace: exists = 0
libguestfs: trace: aug_close
libguestfs: trace: aug_close = 0
libguestfs: trace: aug_init "/" 1
libguestfs: trace: aug_init = 0
libguestfs: trace: aug_match "/augeas/load/Grub/incl"
libguestfs: trace: aug_match = ["/augeas/load/Grub/incl[1]", "/augeas/load/Grub/incl[2]"]
libguestfs: trace: aug_get "/augeas/load/Grub/incl[1]"
libguestfs: trace: aug_get = "/etc/grub.conf"
libguestfs: trace: aug_get "/augeas/load/Grub/incl[2]"
libguestfs: trace: aug_get = "/boot/grub/menu.lst"
libguestfs: trace: aug_load
libguestfs: trace: aug_load = 0
libguestfs: trace: exists "/etc/conf.modules"
libguestfs: trace: exists = 0
libguestfs: trace: exists "/etc/modules.conf"
libguestfs: trace: exists = 0
libguestfs: trace: exists "/etc/modprobe.conf"
libguestfs: trace: exists = 0
libguestfs: trace: exists "/etc/modprobe.d"
libguestfs: trace: exists = 0
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: sync
libguestfs: trace: sync = 0
libguestfs: trace: kill_subprocess
libguestfs: trace: kill_subprocess = 0
virt-v2v: Unable to find any valid modprobe configuration

Regards,

John Kienle
Emerging Technologies Solutions Development
IBM T.J. Watson Research