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.
Bug 1138184 - virt-v2v will fail when converting guests with initramfs-*kdump.img under /boot
Summary: virt-v2v will fail when converting guests with initramfs-*kdump.img under /boot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-04 08:27 UTC by tingting zheng
Modified: 2015-03-05 13:44 UTC (History)
6 users (show)

Fixed In Version: libguestfs-1.27.38-1.1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 13:44:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0303 0 normal SHIPPED_LIVE libguestfs bug fix and enhancement update 2015-03-05 17:34:44 UTC

Description tingting zheng 2014-09-04 08:27:10 UTC
Description
virt-v2v will fail when converting guests with initramfs-*kdump.img under /boot

Version:
libguestfs-tools-c-1.27.32-1.1.el7.x86_64
libguestfs-1.27.32-1.1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Prepare a guest installed kdump,there is initramfs-*kdump.img under /boot.
# cd /boot
# ls |grep initramfs-3.10.0-123.el7
initramfs-3.10.0-123.el7.x86_64.img
initramfs-3.10.0-123.el7.x86_64kdump.img

2.Run virt-v2v to convert the guest,error shows and virt-v2v fails.
# virt-v2v -o rhev -os 10.66.90.115:/vol/v2v_auto/auto_export --network rhevm rhel7-http
[   0.0] Opening the source -i libvirt rhel7-http
[   0.0] Creating an overlay to protect the source from being modified
[   0.0] Opening the overlay
[   9.0] Initializing the target -o rhev -os 10.66.90.115:/vol/v2v_auto/auto_export
[   9.0] Inspecting the overlay
[  16.0] Converting Red Hat Enterprise Linux Server release 7.0 (Maipo) to run on KVM
virt-v2v: error: multiple files in /boot could be the initramfs
matching kernel 3.10.0-123.el7.  This could be a bug in virt-v2v.


virt-v2v: If reporting bugs, run virt-v2v with debugging enabled (-v
-x) and include the complete output.

Actual results:
As description.

Expected results:
Guest with initramfs-*kdump.img under /boot can be converted successfully by virt-v2v.

Additional info:

Comment 2 Richard W.M. Jones 2014-09-05 13:28:09 UTC
Upstream fix:

35d49cd9de8f07ae281b276bad852ad33875a9b8

(Included in libguestfs 1.27.38)

Comment 4 zhoujunqin 2014-09-10 09:35:01 UTC
I can reproduce this issue with bug description.

Try to verify with new version package:
virt-v2v-1.27.41-1.1.el7.x86_64
libguestfs-1.27.41-1.1.el7.x86_64

1. Prepare a guest installed kdump,there is initramfs-*kdump.img under /boot.
# cd /boot
# ls |grep initramfs
initramfs-3.10.0-131.el7.x86_64.img
initramfs-3.10.0-131.el7.x86_64kdump.img

2.Run virt-v2v to convert the guest, no error shows and virt-v2v successfully.

# virt-v2v -o rhev -os 10.66.90.115:/vol/v2v_auto/auto_export --network rhevm  rhel7new 
[   0.0] Opening the source -i libvirt rhel7new
[   0.0] Creating an overlay to protect the source from being modified
[   0.0] Opening the overlay
[   2.0] Initializing the target -o rhev -os 10.66.90.115:/vol/v2v_auto/auto_export
[   2.0] Inspecting the overlay
[  13.0] Checking for sufficient free disk space in the guest
[  13.0] Converting Red Hat Enterprise Linux Server release 7.0 (Maipo) to run on KVM
virt-v2v: warning: could not update grub2 console: aug_get: no matching 
node (ignored)
[  46.0] Mapping filesystem data to avoid copying unused and blank areas
[  48.0] Closing the overlay
[  48.0] Copying disk 1/1 to /tmp/v2v.VkiwZi/5b625e34-c943-4407-949d-9b9926bdf406/images/dd1c3a24-9371-40d6-ba34-a7fff2b08bfa/8ea5709c-5f9e-40e3-a27a-b698736785f2 (qcow2)
    (100.00/100%)
[ 158.0] Creating output metadata
[ 158.0] Finishing off

So move to VERIFIED.

Comment 6 errata-xmlrpc 2015-03-05 13:44:12 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-0303.html


Note You need to log in before you can comment on or make changes to this bug.