Bug 1879509

Summary: Unable to import VM from VMware using VDDK 7
Product: Container Native Virtualization (CNV) Reporter: Jean-Francois Saucier <jsaucier>
Component: V2VAssignee: Brett Thurber <bthurber>
Status: CLOSED DUPLICATE QA Contact: Daniel Gur <dagur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.4.1CC: cnv-qe-bugs, istein, jcoscia, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-21 14:17:00 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 Jean-Francois Saucier 2020-09-16 12:38:47 UTC
Description of problem:

Following our documentation to import a VM from VMware, using VDDK 7, the import process fail to proceed and error out.


Version-Release number of selected component (if applicable):
OpenShift Virtualization 2.4.1
OCP 4.5.4


How reproducible:
Everytime


Steps to Reproduce:
1. Follow our doc for VMware import using VDDK 7
2. Launch the import of a VM from VMware
3. See the import process fail


Actual results:
The import process fail with :

~~~
+ VDDK=/opt/vmware-vix-disklib-distrib/
+ ls -l /usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so
-rwxr-xr-x. 1 root root 25296 Feb  7  2020 /usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so
+ ls -ld /opt/vmware-vix-disklib-distrib/
drwxrwxrwx. 7 root root 84 Sep 15 18:38 /opt/vmware-vix-disklib-distrib/
++ find /opt/vmware-vix-disklib-distrib/ -name 'libvixDiskLib.so.[67]'
+ lib=/opt/vmware-vix-disklib-distrib/lib64/libvixDiskLib.so.7
++ dirname /opt/vmware-vix-disklib-distrib/lib64/libvixDiskLib.so.7
+ LD_LIBRARY_PATH=/opt/vmware-vix-disklib-distrib/lib64
+ nbdkit vddk --dump-plugin libdir=/opt/vmware-vix-disklib-distrib/
nbdkit: error: libvixDiskLib.so.6: cannot open shared object file: No such file or directory

If 'libvixDiskLib.so.6' is located on a non-standard path you may need to
set $LD_LIBRARY_PATH or edit /etc/ld.so.conf.

See the nbdkit-vddk-plugin(1) man page for details.
~~~


Expected results:
The import process go on to completion.


Additional info:

Comment 5 Richard W.M. Jones 2020-09-21 07:14:02 UTC
Which version of nbdkit are you using?

Comment 6 Richard W.M. Jones 2020-09-21 07:53:00 UTC
This is almost certainly the bug which Brett linked to (bug 1831969).
It's fixed in nbdkit >= 1.16.2-3.el8, in RHEL AV 8.2.1.

Comment 7 Brett Thurber 2020-09-21 14:17:00 UTC
Since this issue was fixed in a previous version of nbdkit closing this BZ.  The issue experienced here was related to the v2v-conversion image not being upgraded with the proper version of nbdkit.

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

Comment 8 Red Hat Bugzilla 2023-09-14 06:08:31 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days