Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Converting ESX RHEL VM's to KVM VM's, the process is failing possibly because the version of vmware-tools in use is later than the code can cope with.
This has been tried with both the vmware-tools packages installed on the VM and un-installed, each time resulting in this sort of messages in the error logs:
command: command: error: Failed dependencies:
vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-nox-0:9.0.1-2.x86_64 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
The v2v code doesn't attempt to remove the vmware-tools-libraries-nox package, hence the error.
Version-Release number of selected component (if applicable):
virt-v2v-0.8.9-2.el6.x86_64
How reproducible:
Consistently on same systems, with and without vmware tools on the guest.
Steps to Reproduce:
Conversion command is:
virt-v2v -ic ${ESXHOST} \
-os ${STROAGEPOOL} \
-oa "sparse" \
-of "raw" \
--bridge "bridge1" \
-on ${ESXVM}-v2v \
${ESXVM}
Actual results:
Conversion fails with:
command: command: error: Failed dependencies:
vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-nox-0:9.0.1-2.x86_64 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
Expected results:
Conversion succeeds.
Additional info:
I can reproduce this issue with virt-v2v-0.8.9-2.el6.x86_64:
# virt-v2v -ic esx://10.66.6.211/?no_verify=1 -os default esx5.1-rhel6-x64-vmware-toolesx5.0-template-test_esx5.0-template-test: 100% [======================================================]D 0h03m51s
virt-v2v: WARNING: Failed to install replacement dependencies for vmware-tools-libraries-nox. Package will not be uninstalled. Error was: command: command: Error: Need to pass a list of pkgs to install at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 1094
virt-v2v: WARNING: Failed to install replacement dependencies for vmware-tools-libraries-x. Package will not be uninstalled. Error was: command: command: Error: Need to pass a list of pkgs to install at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 1094
command: command: error: Failed dependencies:
vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-nox-0:9.0.1-2.x86_64
vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-x-0:9.0.1-2.x86_64 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 895
Tested with:
virt-v2v-0.9.1-1.el6_5.x86_64
libvirt-0.10.2-18.el6_4.8.x86_64
libguestfs-1.20.8-5.el6.x86_64
# virt-v2v -ic esx://10.66.6.211/?no_verify=1 -os default esx5.1-rhel6-x64-vmware-tool
esx5.0-template-test_esx5.0-template-test: 100% [======================================================]D 0h03m56s
virt-v2v: esx5.1-rhel6-x64-vmware-tool configured with virtio drivers.
After conversion,the guest can boot successfully.
So mark the status of the bug as VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2013-1547.html
Description of problem: Converting ESX RHEL VM's to KVM VM's, the process is failing possibly because the version of vmware-tools in use is later than the code can cope with. This has been tried with both the vmware-tools packages installed on the VM and un-installed, each time resulting in this sort of messages in the error logs: command: command: error: Failed dependencies: vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-nox-0:9.0.1-2.x86_64 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204. The v2v code doesn't attempt to remove the vmware-tools-libraries-nox package, hence the error. Version-Release number of selected component (if applicable): virt-v2v-0.8.9-2.el6.x86_64 How reproducible: Consistently on same systems, with and without vmware tools on the guest. Steps to Reproduce: Conversion command is: virt-v2v -ic ${ESXHOST} \ -os ${STROAGEPOOL} \ -oa "sparse" \ -of "raw" \ --bridge "bridge1" \ -on ${ESXVM}-v2v \ ${ESXVM} Actual results: Conversion fails with: command: command: error: Failed dependencies: vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-nox-0:9.0.1-2.x86_64 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204. Expected results: Conversion succeeds. Additional info: