Bug 2083617
Summary: | Suppress nbdkit vddk error when convert guest from vCenter7.0 via vddk7 and resolve vCenter7.0 hostname to ip address to /etc/hosts | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | mxie <mxie> |
Component: | nbdkit | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | mxie <mxie> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9.1 | CC: | chhu, eblake, hongzliu, juzhou, lersek, rjones, tyan, tzheng, virt-maint, vwu, xiaodwan |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | nbdkit-1.30.8-1.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 09:50:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mxie@redhat.com
2022-05-10 12:45:27 UTC
Fixed in commit 270ee75ede3881f32a7c21264676851dcf0969be. The fix for this bug was actually done in nbdkit. Tingting, could you QA ack this one again pls? It lost it when I moved the component. Verify the bug with below builds: 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 libvirt-libs-8.3.0-1.el9.x86_64 qemu-img-7.0.0-3.el9.x86_64 nbdkit-server-1.30.5-1.el9.x86_64 libnbd-1.12.2-1.el9.x86_64 Steps: 1. Add vCenter7.0 hostname and ip address to /etc/hosts # cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.73.227.27 bootp-73-227-27.lab.eng.pek2.redhat.com 2.Convert a guest from vCenter7.0 via vddk7.0.3 by v2v # virt-v2v -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 -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 -o rhv-upload -of qcow2 -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data -b ovirtmgmt -ip /home/passwd esx7.0-rhel9.1-x86_64 [ 0.0] Setting up the source: -i libvirt -ic vpx://root.227.27/data/10.73.199.217/?no_verify=1 -it vddk esx7.0-rhel9.1-x86_64 [ 1.8] Opening the source [ 7.7] Inspecting the source [ 13.8] Checking for sufficient free disk space in the guest [ 13.8] Converting Red Hat Enterprise Linux 9.1 Beta (Plow) to run on KVM virt-v2v: This guest has virtio drivers installed. [ 114.7] Mapping filesystem data to avoid copying unused and blank areas [ 115.6] Closing the overlay [ 115.9] Assigning disks to buses [ 115.9] Checking if the guest needs BIOS or UEFI to boot [ 115.9] Setting up the destination: -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data [ 129.1] Copying disk 1/1 █ 100% [****************************************] [ 256.0] Creating output metadata [ 275.7] Finishing off 3. Check the guest after finishing conversion, the checkpoints of guest are passed Result: The bug has been fixed, move the bug from ON_QA to 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 (nbdkit bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2022:7945 |