Bug 2148499

Summary: nbdkit: error: /home/vddk8.0.0/lib64/libvixDiskLib.so.7: cannot open shared object file: No such file or directory [rhel-9.0.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: nbdkitAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: mxie <mxie>
Severity: high Docs Contact:
Priority: high    
Version: 9.2CC: chhu, eblake, gveitmic, hhan, hongzliu, juzhou, lersek, lmen, mzhan, nashok, rjones, tyan, tzheng, virt-maint, vwu, xiaodwan, ymankad
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: nbdkit-1.28.5-2.el9_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2143889 Environment:
Last Closed: 2023-01-30 15:43:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2143889    
Bug Blocks:    

Comment 1 mxie@redhat.com 2022-12-01 06:58:55 UTC
Test the bug with below builds:
virt-v2v-1.45.99-2.el9_0.x86_64
libguestfs-1.46.1-5.el9_0.x86_64
nbdkit-server-1.28.5-2.el9_0.x86_64
libvirt-libs-8.0.0-8.2.el9_0.x86_64
qemu-img-6.2.0-11.el9_0.5.x86_64
kernel-5.14.0-70.36.1.el9_0.x86_64
virtio-win-1.9.28-0.el9_0.noarch


Steps:

Scenario1: convert a guest from ESXi8.0 via vddk8.0.0 by v2v

1.1 # virt-v2v -ic vpx://root.212.149/data/10.73.212.36/?no_verify=1  -it vddk -io vddk-libdir=/home/vddk8.0.0 -io vddk-thumbprint=D1:03:96:7E:11:3D:7C:4C:B6:50:28:1B:63:74:B5:40:5F:9D:9F:94 -ip /home/passwd -o libvirt -os images esx8.0-rhel8.8-x86_64
[   0.0] Setting up the source: -i libvirt -ic vpx://root.212.149/data/10.73.212.36/?no_verify=1 -it vddk esx8.0-rhel8.8-x86_64
[   1.9] Opening the source
[   7.8] Inspecting the source
[  21.2] Checking for sufficient free disk space in the guest
[  21.2] Converting Red Hat Enterprise Linux 8.8 Beta (Ootpa) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 122.9] Mapping filesystem data to avoid copying unused and blank areas
[ 123.5] Closing the overlay
[ 123.8] Assigning disks to buses
[ 123.8] Checking if the guest needs BIOS or UEFI to boot
[ 123.8] Setting up the destination: -o libvirt -os images
[ 125.4] Copying disk 1/1
█ 100% [****************************************]
[ 262.5] Creating output metadata
[ 262.5] Finishing off

1.2 Check guest after finishing conversion, checkpoints of guest are passed


Scenario2: convert guests from ESXi7.0 via vddk8.0.0 by v2v

2.1 # virt-v2v -ic vpx://administrator%40vsphere.local.213.207/data/10.73.212.38/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.0 -io  vddk-thumbprint=09:9E:54:CF:C3:36:11:9D:7D:B6:45:E0:85:74:4D:DB:CE:24:7B:46  -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 esx7.0-win11-x86_64
[   0.0] Setting up the source: -i libvirt -ic vpx://administrator%40vsphere.local.213.207/data/10.73.212.38/?no_verify=1 -it vddk esx7.0-win11-x86_64
[   1.9] Opening the source
nbdkit: vddk[1]: error: VDDK_PhoneHome: Unable to load configuration options from /tmp/vmware-root/vacConfig.conf.
[  20.5] Inspecting the source
[  24.7] Checking for sufficient free disk space in the guest
[  24.7] Converting Windows 10 Enterprise to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  29.3] Mapping filesystem data to avoid copying unused and blank areas
[  30.5] Closing the overlay
[  30.8] Assigning disks to buses
[  30.8] Checking if the guest needs BIOS or UEFI to boot
[  30.8] Setting up the destination: -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data
[  51.3] Copying disk 1/1
█ 100% [****************************************]
[ 623.4] Creating output metadata
[ 631.0] Finishing off

2.2 Check guest after finishing conversion, checkpoints of guests are passed


Scenario3: Convert guests from ESXi6.7 via vddk8.0.0 by v2v

3.1 #  virt-v2v -ic esx://root.75.219/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.0 -io vddk-thumbprint=62:44:2C:4F:D0:21:0B:0D:85:7B:5D:5D:64:F8:C6:2F:4F:F0:9D:33 -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data -op /home/rhvpasswd -ip /home/esxpw esx6.7-win2022-x86_64
[   0.0] Setting up the source: -i libvirt -ic esx://root.75.219/?no_verify=1 -it vddk esx6.7-win2022-x86_64
[   1.4] Opening the source
[   5.6] Inspecting the source
[  10.6] Checking for sufficient free disk space in the guest
[  10.6] Converting Windows Server 2022 Standard to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  18.0] Mapping filesystem data to avoid copying unused and blank areas
[  19.1] Closing the overlay
[  19.3] Assigning disks to buses
[  19.3] Checking if the guest needs BIOS or UEFI to boot
[  19.3] Setting up the destination: -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data
[  39.4] Copying disk 1/1
█ 100% [****************************************]
[ 399.7] Creating output metadata
[ 408.3] Finishing off

3.2 Check guest after finishing conversion, checkpoints of guest are passed


Scenario4: convert guests from ESXi6.5 via vddk8.0.0 by v2v

4.1 # virt-v2v -ic vpx://root.74.72/data/10.73.196.89/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.0 -io vddk-thumbprint=24:40:7E:C8:C8:1F:9C:DF:E4:E0:48:D0:9E:25:64:94:64:AF:C6:8C  -ip /home/passwd  -o rhv-upload -oc https://dell-per740-48.lab.eng.pek2.redhat.com/ovirt-engine/api -oo rhv-cluster=NFS -os nfs_data  -op /home/rhvpasswd esx6.5-rhel9.0-x86_64
[   0.0] Setting up the source: -i libvirt -ic vpx://root.74.72/data/10.73.196.89/?no_verify=1 -it vddk esx6.5-rhel9.0-x86_64
[   2.0] Opening the source
nbdkit: vddk[1]: error: VDDK_PhoneHome: Unable to load configuration options from /tmp/vmware-root/vacConfig.conf.
[   9.1] Inspecting the source
[  15.0] Checking for sufficient free disk space in the guest
[  15.0] Converting Red Hat Enterprise Linux 9.0 Beta (Plow) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 125.5] Mapping filesystem data to avoid copying unused and blank areas
[ 126.1] Closing the overlay
[ 126.4] Assigning disks to buses
[ 126.4] Checking if the guest needs BIOS or UEFI to boot
[ 126.4] Setting up the destination: -o rhv-upload -oc https://dell-per740-48.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data
[ 137.1] Copying disk 1/1
█ 100% [****************************************]
[1715.8] Creating output metadata
[1728.1] Finishing off

4.2 Check guest after finishing conversion, checkpoints of guest are passed


Result:
  The bug has been fixed

Comment 8 mxie@redhat.com 2022-12-08 08:13:50 UTC
Verify the bug with below builds:
virt-v2v-1.45.99-2.el9_0.x86_64
libguestfs-1.46.1-5.el9_0.x86_64
guestfs-tools-1.46.1-6.el9.x86_64
nbdkit-server-1.28.5-2.el9_0.x86_64
libnbd-1.10.5-1.el9.x86_64
libvirt-libs-8.0.0-8.3.el9_0.x86_64
qemu-img-6.2.0-11.el9_0.6.x86_64
virtio-win-1.9.28-0.el9_0.noarch
kernel-5.14.0-70.37.1.el9_0.x86_64


Steps:

Scenario1: convert a guest from ESXi8.0 via vddk8.0.0 by v2v

1.1 # virt-v2v -ic vpx://root.212.149/data/10.73.212.36/?no_verify=1  -it vddk -io vddk-libdir=/home/vddk8.0.0 -io vddk-thumbprint=D1:03:96:7E:11:3D:7C:4C:B6:50:28:1B:63:74:B5:40:5F:9D:9F:94 -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  esx8.0-rhel9.0-x86_64

1.2 Check guest after finishing conversion, checkpoints of guest are passed


Scenario2: convert guests from ESXi7.0 via vddk8.0.0 by v2v

2.1 # virt-v2v -ic vpx://administrator%40vsphere.local.213.207/data/10.73.212.38/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.0 -io  vddk-thumbprint=09:9E:54:CF:C3:36:11:9D:7D:B6:45:E0:85:74:4D:DB:CE:24:7B:46  -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 esx7.0-win2022-x86_64 -b ovirtmgmt

2.2 Check guest after finishing conversion, checkpoints of guests are passed


Scenario3: Convert guests from ESXi6.7 via vddk8.0.0 by v2v

3.1 # virt-v2v -ic esx://root.75.219/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.0 -io vddk-thumbprint=62:44:2C:4F:D0:21:0B:0D:85:7B:5D:5D:64:F8:C6:2F:4F:F0:9D:33 -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data -op /home/rhvpasswd -ip /home/esxpw esx6.7-win11-x86_64 -b ovirtmgmt -of qcow2

3.2 Check guest after finishing conversion, checkpoints of guest are passed


Scenario4: convert guests from ESXi6.5 via vddk8.0.0 by v2v

4.1 # virt-v2v -ic vpx://root.74.72/data/10.73.196.89/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.0 -io vddk-thumbprint=24:40:7E:C8:C8:1F:9C:DF:E4:E0:48:D0:9E:25:64:94:64:AF:C6:8C  -ip /home/passwd  -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data  -op /home/rhvpasswd esx6.5-rhel8.8-x86_64 -b ovirtmgmt

4.2 Check guest after finishing conversion, checkpoints of guest are passed


Result:
  No problems were found, move the bug from ON_QA to VERIFIED

Comment 13 errata-xmlrpc 2023-01-30 15:43:57 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 (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-2023:0523