Description of problem: When converting a Windows guest, if dependencies specified in the config file are not found the code dies untidily: [root@t500 virt-v2v]# ./v2v/run-v2v-locally -f v2v/virt-v2v.conf -ic qemu+ssh://root.marston/system -o rhev -osd blue:/export/export winxp-minimal root.marston's password: root.marston's password: cp: cp: cannot stat `/sysroot/transferECnJPK/windows/xp/i386/viostor.sys': No such file or directory at /home/mbooth/src/virt-v2v/blib/lib/Sys/VirtV2V/Converter/Windows.pm line 359. It should do the same as the Linux converter, which is to attempt to determine all missing dependencies at once and report them in a single error message. Version-Release number of selected component (if applicable): virt-v2v-0.6.0-1.el5
Fix posted: https://www.redhat.com/archives/libguestfs/2010-May/msg00152.html
Fixed in 0.6.0-3.el5
Verified on virt-v2v-0.6.0-3.el5 + v2v-libvirt-0.8.1-1.el5 Now it will point the installation failed reason in a single error msg when missing deps. =========For Linux Guest================ # virt-v2v -f /etc/virt-v2v.conf -i libvirtxml -o rhev -osd 10.66.90.115:/vol/v2vwulinglu/wulingluv2v/fcp_export /tmp/xen-rhel54-64-pv-raw.img.xml virt-v2v: Installation failed because the following files referenced in the configuration file are required, but missing: rhel/5/kernel-2.6.18-128.el5.x86_64.rpm rhel/5/ecryptfs-utils-56-8.el5.x86_64.rpm rhel/5/ecryptfs-utils-56-8.el5.i386.rpm virt-v2v: Installation failed because the following files referenced in the configuration file are required, but missing: rhel/5/kernel-2.6.18-128.el5.x86_64.rpm rhel/5/ecryptfs-utils-56-8.el5.x86_64.rpm rhel/5/ecryptfs-utils-56-8.el5.i386.rpm virt-v2v: No bootable kernels installed, and no replacement is available. Unable to continue. virt-v2v: Failed to unmount 10.66.90.115:/vol/v2vwulinglu/wulingluv2v/fcp_export. Command exited with status 1. Output was: umount: /tmp/uZcjLgbaYc: device is busy umount: /tmp/uZcjLgbaYc: device is busy virt-v2v: Failed to remove mount directory /tmp/uZcjLgbaYc: Device or resource busy ========For Windows Guest============= #virt-v2v -i libvirtxml -o rhev -osd 10.66.90.115:/vol/v2vwulinglu/wulingluv2v/fcp_export /tmp/win2008-32.raw.xml virt-v2v: Installation failed because the following files referenced in the configuration file are required, but missing: windows/2008/i386/viostor.sys windows/firstboot.bat windows/rhev-apt.exe windows/rhsrvany.exe virt-v2v: Failed to unmount 10.66.90.115:/vol/v2vwulinglu/wulingluv2v/fcp_export. Command exited with status 1. Output was: umount: /tmp/p7Xxg0ofKn: device is busy umount: /tmp/p7Xxg0ofKn: device is busy
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2010-0495.html