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.

Bug 1615392

Summary: Switch nbdkit-plugin-vddk to use VixDiskLib_AllocateConnectParams
Product: Red Hat Enterprise Linux 7 Reporter: Richard W.M. Jones <rjones>
Component: nbdkitAssignee: Richard W.M. Jones <rjones>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.7CC: juzhou, mxie, mzhan, tzheng, xiaodwan, zili
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: V2V
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-05 21:51:42 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 Richard W.M. Jones 2018-08-13 13:49:53 UTC
Description of problem:

With VDDK 6.7 we get this warning:

nbdkit: error: VixDiskLib: VixDiskLibIsLegacyConnParams: the instance of VixDiskLibConnectParams is NOT allocated by VixDiskLib_AllocateConnectParams. The new features in 6.7 or later are not supported.

It falls back to using the legacy path so this is not a
problem, but at some point we should switch to using
VixDiskLib_AllocateConnectParams

Version-Release number of selected component (if applicable):

nbdkit 1.2.6-1.el7

How reproducible:

100%

Steps to Reproduce:
1. Run virt-v2v with ‘-it vddk’ source.

Make sure you have the ‘-v -x’ flags set too so you can see
VDDK debugging messages.

Make sure you are using VDDK >= 6.7

Actual results:

You will see the warning above.

Expected results:

If using VixDiskLib_AllocateConnectParams then the warning
should not be printed and presumably extra features are
possible.

Additional info:

"New Connect Parameters and Functions" in
https://vdc-download.vmware.com/vmwb-repository/dcr-public/8f96698a-0e7b-4d67-bb6c-d18a1d101540/d326003d-55b9-4b15-babc-1adfdc69a4a2/vsphere-vddk-67-programming-guide.pdf

Comment 2 Richard W.M. Jones 2019-04-05 09:13:14 UTC
Upstream in 61e11b41597f80a5e8b629a5dd320cd62c3e8a59, nbdkit 1.12.

Seems unlikely we'll get this for RHEL 7, but could happen for RHEL 8.1.0.

Comment 3 Richard W.M. Jones 2019-06-05 21:51:42 UTC
We're not going to fix this in RHEL 7, but it's already fixed in RHEL 8.1.