The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1755607 - PMD: net_mlx4: cannot load glue library: libibverbs.so.1
Summary: PMD: net_mlx4: cannot load glue library: libibverbs.so.1
Keywords:
Status: CLOSED DUPLICATE of bug 1626936
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch2.11
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Open vSwitch development team
QA Contact: ovs-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-25 19:55 UTC by Phil Cameron
Modified: 2019-12-02 17:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-02 17:18:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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