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 1813252 - dpdk-devel needs rdma-core-devel and libmnl-devel on x86_64
Summary: dpdk-devel needs rdma-core-devel and libmnl-devel on x86_64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dpdk
Version: 8.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.3
Assignee: Timothy Redaelli
QA Contact: Jean-Tsung Hsiao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-13 11:37 UTC by Timothy Redaelli
Modified: 2023-09-14 05:54 UTC (History)
2 users (show)

Fixed In Version: dpdk-19.11.1-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 04:02:06 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Timothy Redaelli 2020-03-13 11:37:09 UTC
dpdk-devel needs rdma-core-devel and libmnl-devel on x86_64 for Mellanox PMDs.

Test: build ovs 2.13 from git with --with-dpdk

Comment 3 Jean-Tsung Hsiao 2020-07-16 01:18:03 UTC
(In reply to Timothy Redaelli from comment #0)
> dpdk-devel needs rdma-core-devel and libmnl-devel on x86_64 for Mellanox
> PMDs.
> 
> Test: build ovs 2.13 from git with --with-dpdk

Please let me how to "build ovs 2.13 from git with --with-dpdk"
Thanks!
Jean

Comment 4 Timothy Redaelli 2020-07-27 16:40:30 UTC
You need to install dpdk-devel and dpdk from dpdk-19.11.2-1.el8 (see the errata https://errata.devel.redhat.com/advisory/55958) and then launch the following commands:

sudo dnf build-dep openvswitch2.13
git clone -b v2.13.0 --depth 1 https://github.com/openvswitch/ovs.git
cd ovs
./boot.sh && ./configure --with-dpdk && make -j$(nproc)

Comment 5 Jean-Tsung Hsiao 2020-07-27 19:18:29 UTC
Hi Tim,
Get Error --- see log below.
Something missing ?
Please advise!
Thanks!
Jean


[root@netqe29 ~]# sudo dnf build-dep openvswitch2.13
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 2:46:37 ago on Mon 27 Jul 2020 12:26:53 PM EDT.
no package matched: openvswitch2.13
Error: Some packages could not be found.
[root@netqe29 ~]# rpm -qa | grep dpdk
dpdk-devel-19.11.2-1.el8.x86_64
dpdk-19.11.2-1.el8.x86_64
dpdk-debuginfo-19.11.2-1.el8.x86_64
dpdk-tools-19.11.2-1.el8.x86_64
dpdk-devel-debuginfo-19.11.2-1.el8.x86_64
dpdk-debugsource-19.11.2-1.el8.x86_64
[root@netqe29 ~]#

Comment 6 Jean-Tsung Hsiao 2020-07-28 20:12:32 UTC
HI Tim,
Even after fast data path repo enable I am still getting trouble --- check log below.
Please advise.
Thanks!

[root@netqe29 ovs]# yum repolist | grep -i fast
fast-datapath-beta-for-rhel-8-x86_64-debug-rpms  Fast Datapath Beta for RHEL 8 x86_64 (Debug RPMs)
fast-datapath-beta-for-rhel-8-x86_64-rpms        Fast Datapath Beta for RHEL 8 x86_64 (RPMs)
fast-datapath-beta-for-rhel-8-x86_64-source-rpms Fast Datapath Beta for RHEL 8 x86_64 (Source RPMs)
[root@netqe29 ovs]# sudo dnf build-dep openvswitch2.13
Updating Subscription Management repositories.
enabling rhel-8-for-x86_64-baseos-beta-source-rpms repository
enabling rhel-8-for-x86_64-appstream-beta-source-rpms repository
Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (Source RPMs)                                        11 kB/s | 3.8 kB     00:00    
Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (Source RPMs)                                    8.4 kB/s | 3.8 kB     00:00    
no package matched: openvswitch2.13
Error: Some packages could not be found.
[root@netqe29 ovs]# 

Jean

Comment 7 Timothy Redaelli 2020-07-29 09:58:20 UTC
To avoid dependency on fast-datapath repository you can do:

sed -e 's/@VERSION@/0.0.1/' rhel/openvswitch-fedora.spec.in > /tmp/ovs.spec
sudo dnf build-dep --define='with_dpdk 1' /tmp/ovs.spec

Instead of sudo dnf build-dep openvswitch2.13

Comment 8 Jean-Tsung Hsiao 2020-07-29 20:21:28 UTC
(In reply to Timothy Redaelli from comment #7)
> To avoid dependency on fast-datapath repository you can do:
> 
> sed -e 's/@VERSION@/0.0.1/' rhel/openvswitch-fedora.spec.in > /tmp/ovs.spec
> sudo dnf build-dep --define='with_dpdk 1' /tmp/ovs.spec
> 
> Instead of sudo dnf build-dep openvswitch2.13

Looks like successful. Please check last few lines of the console log --- attached below.
What to look for now to verify this Bug ?
Thanks!
Jean

writing output... [100%] tutorials/ovs-conntrack                               
generating indices... genindex
writing additional pages... search
copying images... [100%] intro/../_static/overview.png                         
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.

The HTML pages are in Documentation/_build/html.
mv tests/testsuite.tmp tests/testsuite
sphinx-build-3  -b man -W -n -d ./Documentation/_build/doctrees  ./Documentation ./Documentation/_build/man && touch docs-check
Running Sphinx v1.7.6
Cannot find 'ovs-sphinx-theme' package. Falling back to default theme.
making output directory...
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
writing... ovs-appctl.8 { } ovs-ctl.8 { } ovs-l3ping.8 { } ovs-parse-backtrace.8 { } ovs-pki.8 { } ovs-sim.1 { } ovs-tcpdump.8 { } ovs-tcpundump.1 { } ovs-test.8 { } ovs-vlan-test.8 { } ovsdb-server.7 { } ovsdb.5 { } ovsdb.7 { } 
build succeeded.

The manual pages are in Documentation/_build/man.
make[2]: Leaving directory '/root/ovs'
make[1]: Leaving directory '/root/ovs'
[root@netqe29 ovs]#

Comment 9 Jean-Tsung Hsiao 2020-07-30 19:29:41 UTC
Per IRC communication with the build was successful. Will set the status to VERIFIED.

Comment 12 errata-xmlrpc 2020-11-04 04:02:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: dpdk security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4806

Comment 13 Red Hat Bugzilla 2023-09-14 05:54:20 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.