virt2v on RHEL6 fails with "aug_get: no matching node" when attempting to convert a Xen guest to RHEV

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6.3
  • Red Hat Enterprise Virtualization 3.1
  • virt-v2v

Issue

This is all RHEV 3.1 GA code, no updates.

The issue appears to happen within Perl code

# virt-v2v -o rhev -ic xen+ssh://root@universe -os
localhost:/export/exp31 --network rhevm hydrogen

hydrogen.raw:  11% [=========                          *
                             ]ETA  13:17

hydrogen.raw:  11% [=========                           *
                             ]ETA  13:17

hydrogen.raw:  11% [=========                            *
                             ]ETA  13:17

hydrogen.raw:  11% [=========                              *
                             ]ETA  13:17

hydrogen.raw:  12% [=========
    *                        ]ETA  13:17

hydrogen.raw:  12% [=========
     *                       ]ETA  13:17

hydrogen.raw: 100%
[================================================================================]D
1h23m59s

aug_get: aug_get: no matching node at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 203.

at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 376

Resolution

Upgrade to virt-v2v-0.9.1-4.el6 or newer, then attempt the conversion again

Root Cause

The virt-v2v code did not take into account the possibility of having multiple "console" kernel parameters specified in /boot/grub/grub.cfg.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments