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.
Descriptionmxie@redhat.com
2021-12-23 05:22:08 UTC
Description of problem:
v2v rhv-upload conversion is failed with NBD.Error("nbd_block_status: request out of bounds: Invalid argument", 22)
Version-Release number of selected component (if applicable):
virt-v2v-1.45.95-2.el9.x86_64
libguestfs-1.46.1-1.el9.x86_64
guestfs-tools-1.46.1-6.el9.x86_64
libvirt-libs-7.10.0-1.el9.x86_64
qemu-img-6.2.0-1.el9.x86_64
nbdkit-server-1.28.3-2.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Convert a guest from ESXi6.7 to rhv4.4 via rhv-upload by v2v
# export LIBGUESTFS_BACKEND=direct
# virt-v2v -ic vpx://root.198.169/data/10.73.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0.2 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78 -ip /home/passwd -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data -b ovirtmgmt esx7.0-rhel8.5-x86_64
[ 1.8] Opening the source
[ 8.4] Inspecting the source
[ 17.0] Checking for sufficient free disk space in the guest
[ 17.0] Converting Red Hat Enterprise Linux 8.5 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 118.3] Mapping filesystem data to avoid copying unused and blank areas
[ 119.3] Closing the overlay
[ 119.4] Assigning disks to buses
[ 119.4] Checking if the guest needs BIOS or UEFI to boot
[ 139.9] Copying disk 1/1
█ 100% [****************************************]
[ 637.5] Creating output metadata
virt-v2v: error: exception: NBD.Error("nbd_block_status: request out of
bounds: Invalid argument", 22)
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:
v2v conversion can finish without error
Additional info:
1.Can't reproduce the bug with virt-v2v-1.45.94-3.el9.x86_64
# virt-v2v -ic vpx://root.198.169/data/10.73.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0.2 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78 -ip /home/passwd -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data -b ovirtmgmt esx7.0-rhel8.5-x86_64
[ 23.5] Opening the source
[ 28.0] Inspecting the source
[ 43.4] Checking for sufficient free disk space in the guest
[ 43.4] Converting Red Hat Enterprise Linux 8.5 (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 153.5] Mapping filesystem data to avoid copying unused and blank areas
[ 154.5] Closing the overlay
[ 154.6] Assigning disks to buses
[ 154.6] Checking if the guest needs BIOS or UEFI to boot
[ 154.6] Copying disk 1/1
█ 100% [****************************************]
[ 463.9] Creating output metadata
[ 528.1] Finishing off
Description of problem: v2v rhv-upload conversion is failed with NBD.Error("nbd_block_status: request out of bounds: Invalid argument", 22) Version-Release number of selected component (if applicable): virt-v2v-1.45.95-2.el9.x86_64 libguestfs-1.46.1-1.el9.x86_64 guestfs-tools-1.46.1-6.el9.x86_64 libvirt-libs-7.10.0-1.el9.x86_64 qemu-img-6.2.0-1.el9.x86_64 nbdkit-server-1.28.3-2.el9.x86_64 How reproducible: 100% Steps to Reproduce: 1.Convert a guest from ESXi6.7 to rhv4.4 via rhv-upload by v2v # export LIBGUESTFS_BACKEND=direct # virt-v2v -ic vpx://root.198.169/data/10.73.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0.2 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78 -ip /home/passwd -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data -b ovirtmgmt esx7.0-rhel8.5-x86_64 [ 1.8] Opening the source [ 8.4] Inspecting the source [ 17.0] Checking for sufficient free disk space in the guest [ 17.0] Converting Red Hat Enterprise Linux 8.5 (Ootpa) to run on KVM virt-v2v: This guest has virtio drivers installed. [ 118.3] Mapping filesystem data to avoid copying unused and blank areas [ 119.3] Closing the overlay [ 119.4] Assigning disks to buses [ 119.4] Checking if the guest needs BIOS or UEFI to boot [ 139.9] Copying disk 1/1 █ 100% [****************************************] [ 637.5] Creating output metadata virt-v2v: error: exception: NBD.Error("nbd_block_status: request out of bounds: Invalid argument", 22) 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: v2v conversion can finish without error Additional info: 1.Can't reproduce the bug with virt-v2v-1.45.94-3.el9.x86_64 # virt-v2v -ic vpx://root.198.169/data/10.73.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0.2 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78 -ip /home/passwd -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data -b ovirtmgmt esx7.0-rhel8.5-x86_64 [ 23.5] Opening the source [ 28.0] Inspecting the source [ 43.4] Checking for sufficient free disk space in the guest [ 43.4] Converting Red Hat Enterprise Linux 8.5 (Ootpa) to run on KVM virt-v2v: This guest has virtio drivers installed. [ 153.5] Mapping filesystem data to avoid copying unused and blank areas [ 154.5] Closing the overlay [ 154.6] Assigning disks to buses [ 154.6] Checking if the guest needs BIOS or UEFI to boot [ 154.6] Copying disk 1/1 █ 100% [****************************************] [ 463.9] Creating output metadata [ 528.1] Finishing off