Bug 1755607

Summary: PMD: net_mlx4: cannot load glue library: libibverbs.so.1
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Phil Cameron <pcameron>
Component: openvswitch2.11Assignee: Open vSwitch development team <ovs-team>
Status: CLOSED DUPLICATE QA Contact: ovs-qe
Severity: low Docs Contact:
Priority: low    
Version: RHEL 8.0CC: ctrautma, dcbw, jhsiao, mleitner, ralongi
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: 2019-12-02 17:18:30 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 Phil Cameron 2019-09-25 19:55:15 UTC
Description of problem: ovs tries to load an unneeded library as seen by log message: cannot load glue library: libibverbs.so.1 . Openshift doesn't use this feature however ovs tries to load the library.


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


How reproducible:
openshift vsphere install.

Steps to Reproduce:
Openshift vsphere install shows the log message
1.
2.
3.

Actual results:
Log messages:
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)
net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)



Expected results:
no log messages in this case.


Additional info:
This can be worked around by providing the libibverbs rpm. However, this just wastes space, since i tis not really needed.

Comment 1 Phil Cameron 2019-09-25 19:59:48 UTC
@dcbw asked me to create this bug. The log messages are just noise in the log file and indicate a situation where ovs really doesn't need to try to load the library since the features are not used.

This relates to https://github.com/openshift/ovn-kubernetes/pull/26/

Comment 2 Dan Williams 2019-10-09 18:03:26 UTC
We'd like to have this error suppressed, or have the wording changed, since we don't ship this library in OpenShift and the message is "scary" :)

Comment 3 Marcelo Ricardo Leitner 2019-10-18 16:46:09 UTC
The fact that the message is logged means that Mellanox PMD cannot be used, while other cards are likely working.
So I gotta ask, do we really want that?

From what I recall of the code, DPDK relies on that library for finding Mellanox cards. Surpressing the message
would be hard then because it doesn't know if the card is there or not, if the lib is actually needed or not.
I may be wrong, need to check that.

Comment 4 Marcelo Ricardo Leitner 2019-12-02 17:18:30 UTC
The two bugs are asking the same thing.
Lets close this one and track it over the oldest one.

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