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 2089609 - Virt-v2v can't convert rhel8.6 guest from VMware on rhel8.7
Summary: Virt-v2v can't convert rhel8.6 guest from VMware on rhel8.7
Keywords:
Status: CLOSED DUPLICATE of bug 2089623
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virt-v2v
Version: 8.7
Hardware: x86_64
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: tingting zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-24 07:17 UTC by mxie@redhat.com
Modified: 2022-05-24 08:05 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-24 08:05:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-123117 0 None None None 2022-05-24 07:21:50 UTC

Description mxie@redhat.com 2022-05-24 07:17:15 UTC
Description of problem:
Virt-v2v can't convert rhel8.6 guest from VMware on rhel8.7

Version-Release number of selected component (if applicable):
virt-v2v-1.42.0-19.module+el8.7.0+15006+42c9ed21.x86_64
libguestfs-1.44.0-7.module+el8.7.0+15229+b143b6f1.x86_64
libvirt-libs-8.0.0-7.module+el8.7.0+15262+04e62783.x86_64
qemu-img-6.2.0-13.module+el8.7.0+15131+941fbd8d.x86_64
nbdkit-1.24.0-4.module+el8.6.0+14480+c0a3aa0f.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Convert a rhel8.6 guest from VMware via vddk7.0.3 by v2v
# virt-v2v -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.6-x86_64 -it vddk -io vddk-libdir=/home/vddk7.0.3 -io vddk-thumbprint=76:75:59:0E:32:F5:1E:58:69:93:75:5A:7B:51:32:C5:D1:6D:F1:21 -ip /home/passwd
[   0.0] Opening the source -i libvirt -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.6-x86_64 -it vddk  -io vddk-libdir=/home/vddk7.0.3 -io vddk-thumbprint=76:75:59:0E:32:F5:1E:58:69:93:75:5A:7B:51:32:C5:D1:6D:F1:21
[   1.7] Creating an overlay to protect the source from being modified
[   2.5] Opening the overlay
[   7.0] Inspecting the overlay
[  48.2] Checking for sufficient free disk space in the guest
[  48.2] Estimating space required on target for each disk
[  48.2] Converting Red Hat Enterprise Linux 8.6 (Ootpa) to run on KVM
virt-v2v: error: no installed kernel packages were found.

This probably indicates that virt-v2v was unable to inspect this guest 
properly.

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]

2.Convert a rhel8.6 guest from VMware via vddk6.7 by v2v

# virt-v2v -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.6-x86_64 -it vddk -io vddk-libdir=/home/vddk6.7 -io vddk-thumbprint=76:75:59:0E:32:F5:1E:58:69:93:75:5A:7B:51:32:C5:D1:6D:F1:21 -ip /home/passwd
[   0.0] Opening the source -i libvirt -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.6-x86_64 -it vddk  -io vddk-libdir=/home/vddk6.7 -io vddk-thumbprint=76:75:59:0E:32:F5:1E:58:69:93:75:5A:7B:51:32:C5:D1:6D:F1:21
[   1.7] Creating an overlay to protect the source from being modified
[   2.3] Opening the overlay
[   6.8] Inspecting the overlay
[  46.3] Checking for sufficient free disk space in the guest
[  46.3] Estimating space required on target for each disk
[  46.3] Converting Red Hat Enterprise Linux 8.6 (Ootpa) to run on KVM
virt-v2v: error: no installed kernel packages were found.

This probably indicates that virt-v2v was unable to inspect this guest 
properly.

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]

3.Convert a rhel8.6 guest from VMware without vddk by v2v
#  virt-v2v -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.6-x86_64  -ip /home/passwd
[   0.0] Opening the source -i libvirt -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.6-x86_64
[   2.7] Creating an overlay to protect the source from being modified
[   3.7] Opening the overlay
[  35.3] Inspecting the overlay
[ 298.1] Checking for sufficient free disk space in the guest
[ 298.1] Estimating space required on target for each disk
[ 298.1] Converting Red Hat Enterprise Linux 8.6 (Ootpa) to run on KVM
virt-v2v: error: no installed kernel packages were found.

This probably indicates that virt-v2v was unable to inspect this guest 
properly.

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]


Actual results:
As above description

Expected results:
Virt-v2v can convert rhel8.6 guest from VMware on rhel8.7

Additional info:
1.Virt-v2v can convert rhel8.5 guest from VMware on rhel8.7

# virt-v2v -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.5-x86_64 -it vddk -io vddk-libdir=/home/vddk7.0.3 -io vddk-thumbprint=76:75:59:0E:32:F5:1E:58:69:93:75:5A:7B:51:32:C5:D1:6D:F1:21 -ip /home/passwd
[   0.0] Opening the source -i libvirt -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.5-x86_64 -it vddk  -io vddk-libdir=/home/vddk7.0.3 -io vddk-thumbprint=76:75:59:0E:32:F5:1E:58:69:93:75:5A:7B:51:32:C5:D1:6D:F1:21
[   1.7] Creating an overlay to protect the source from being modified
[   2.5] Opening the overlay
[   7.0] Inspecting the overlay
[  15.6] Checking for sufficient free disk space in the guest
[  15.6] Estimating space required on target for each disk
[  15.6] Converting Red Hat Enterprise Linux 8.5 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 104.6] Mapping filesystem data to avoid copying unused and blank areas
[ 105.3] Closing the overlay
[ 105.6] Assigning disks to buses
[ 105.6] Checking if the guest needs BIOS or UEFI to boot
[ 105.6] Initializing the target -o libvirt -os default
[ 105.6] Copying disk 1/1 to /var/lib/libvirt/images/esx7.0-rhel8.5-x86_64-sda (raw)
^C  (21.55/100%)


2.Can't reproduce the bug on rhel9.1
virt-v2v-2.0.5-1.el9.x86_64
libguestfs-1.48.2-2.el9.x86_64
guestfs-tools-1.48.1-1.el9.x86_64
nbdkit-server-1.30.5-1.el9.x86_64
libnbd-1.12.2-1.el9.x86_64

Comment 4 Xiaodai Wang 2022-05-24 08:00:16 UTC
chroot: /sysroot: running 'librpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in 
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in 
librpm returned 0 installed packages

This is similar with https://bugzilla.redhat.com/show_bug.cgi?id=2038786.

Comment 5 Richard W.M. Jones 2022-05-24 08:05:45 UTC
I agree.  Let's continue looking at this in bug 2089623, since
the two bugs are basically the same thing.

*** This bug has been marked as a duplicate of bug 2089623 ***


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