Bug 1879509 - Unable to import VM from VMware using VDDK 7
Summary: Unable to import VM from VMware using VDDK 7
Keywords:
Status: CLOSED DUPLICATE of bug 1831969
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: V2V
Version: 2.4.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Brett Thurber
QA Contact: Daniel Gur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-16 12:38 UTC by Jean-Francois Saucier
Modified: 2023-12-15 19:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-21 14:17:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1831969 0 urgent CLOSED vddk: vddk7.0 not supported 2023-12-15 17:49:56 UTC
Red Hat Issue Tracker CNV-32949 0 None None None 2023-09-14 06:14:08 UTC

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


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