Bug 1801361

Summary: dpdk-pmdinfo.py can't work on RHEL8
Product: Red Hat Enterprise Linux 8 Reporter: Jean-Tsung Hsiao <jhsiao>
Component: dpdkAssignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: Jean-Tsung Hsiao <jhsiao>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.2CC: atragler, ctrautma, jhsiao, ktraynor, ovs-qe, tredaelli
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dpdk-19.11.1-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 04:02:06 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 Jean-Tsung Hsiao 2020-02-10 17:50:38 UTC
Description of problem: dpdk-pmdinfo.py can't work on RHEL8

[root@netqe10 qed]# !$
/usr/share/dpdk/usertools/dpdk-pmdinfo.py
Traceback (most recent call last):
  File "/usr/share/dpdk/usertools/dpdk-pmdinfo.py", line 18, in <module>
    from elftools.common.exceptions import ELFError
ModuleNotFoundError: No module named 'elftools'


Version-Release number of selected component (if applicable):
[root@netqe10 qed]# rpm -qa | grep dpdk
dpdk-devel-19.11-1.el8.x86_64
dpdk-19.11-1.el8.x86_64
kernel-kernel-networking-ovs-dpdk-tunneling-1.0-85.noarch
dpdk-tools-19.11-1.el8.x86_64
[root@netqe10 qed]# uname -r
4.18.0-147.el8.x86_64
[root@netqe10 qed]#

How reproducible: Reproducible


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Jean-Tsung Hsiao 2020-07-15 18:48:12 UTC
Not working --- See log below.
Please advise!
Thanks!
Jean

[root@netqe10 yum.repos.d]# /usr/share/dpdk/usertools/dpdk-pmdinfo.pyTraceback (most recent call last):
  File "/usr/share/dpdk/usertools/dpdk-pmdinfo.py", line 18, in <module>
    from elftools.common.exceptions import ELFError
ModuleNotFoundError: No module named 'elftools'
[root@netqe10 yum.repos.d]# rpm -qa | grep dpdk
dpdk-tools-19.11-4.el8.x86_64
dpdk-devel-debuginfo-19.11-4.el8.x86_64
dpdk-19.11-4.el8.x86_64
dpdk-devel-19.11-4.el8.x86_64
dpdk-debuginfo-19.11-4.el8.x86_64
kernel-tests-playground-kernel-networking-ovs-dpdk-tunneling-1.0-85.noarch
dpdk-debugsource-19.11-4.el8.x86_64
[root@netqe10 yum.repos.d]# uname -r
4.18.0-193.el8.x86_64
[root@netqe10 yum.repos.d]#

Comment 4 Timothy Redaelli 2020-07-27 10:37:59 UTC
You are testing the wrong release (dpdk-19.11-4),
but the errata includes dpdk-19.11.2-1.el8.

Can you try to test the correct version that should NOT ship dpdk-pmdinfo.py?

Thank you

Comment 5 Jean-Tsung Hsiao 2020-07-27 15:01:56 UTC
(In reply to Timothy Redaelli from comment #4)
> You are testing the wrong release (dpdk-19.11-4),
> but the errata includes dpdk-19.11.2-1.el8.
Sorry about that.
> 
> Can you try to test the correct version that should NOT ship dpdk-pmdinfo.py?
Yes, I will.
Thanks!
Jean
> 
> Thank you

Comment 6 Jean-Tsung Hsiao 2020-07-27 17:50:24 UTC
The bug has been verified.

[root@netqe29 ~]# !find
find / -name dpdk-pmdinfo.py
[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 ~]# uname -r
4.18.0-227.el8.x86_64
[root@netqe29 ~]#

Comment 9 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