Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1908615

Summary: FDB DPDK 20.11 fdb version dpdk-tools install failed on both rhel8.3 and rhel8.4
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Hekai Wang <hewang>
Component: DPDKAssignee: Timothy Redaelli <tredaelli>
DPDK sub component: other QA Contact: liting <tli>
Status: CLOSED EOL Docs Contact:
Severity: unspecified    
Priority: unspecified CC: ctrautma, jhsiao, ktraynor, pezhang, tredaelli
Version: RHEL 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dpdk-20.11-1.el8fdb.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-08 17:49:14 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 Hekai Wang 2020-12-17 07:49:03 UTC
Description of problem:
dpdk 20.11 fdb rpm package install failed on both rhel8.3 and rhel8.4 


Version-Release number of selected component (if applicable):
dpdk/20.11/1.el8fdb.3/x86_64/dpdk-tools-20.11-1.el8fdb.3.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
[root@dell-per730-18 libexec]# ls -al /usr/libexec/platform-python*
lrwxrwxrwx. 1 root root    20 Nov 24 02:54 /usr/libexec/platform-python -> ./platform-python3.6
lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 -> platform-python3.6
-rwxr-xr-x. 2 root root 11824 Nov 24 02:54 /usr/libexec/platform-python3.6
lrwxrwxrwx. 1 root root    28 Nov 24 02:54 /usr/libexec/platform-python3.6-config -> ./platform-python3.6m-config
-rwxr-xr-x. 2 root root 11824 Nov 24 02:54 /usr/libexec/platform-python3.6m
-rwxr-xr-x. 1 root root   204 Nov 24 02:54 /usr/libexec/platform-python3.6m-config
-rwxr-xr-x. 1 root root  3626 Nov 24 02:47 /usr/libexec/platform-python3.6m-x86_64-config
lrwxrwxrwx. 1 root root    27 Nov 24 02:54 /usr/libexec/platform-python-config -> ./platform-python3.6-config
[root@dell-per730-18 libexec]# rpm -qa | grep dpdk-tools-20.11-1.el8fdb.3.x86_64 || rpm -ivh http://download-node-02.eng.bos.redhat.com/brewroot/packages/dpdk/20.11/1.el8fdb.3/x86_64/dpdk-tools-20.11-1.el8fdb.3.x86_64.rpm
Retrieving http://download-node-02.eng.bos.redhat.com/brewroot/packages/dpdk/20.11/1.el8fdb.3/x86_64/dpdk-tools-20.11-1.el8fdb.3.x86_64.rpm
error: Failed dependencies:
	/usr/libexec/platform-python3 is needed by dpdk-tools-20.11-1.el8fdb.3.x86_64
[root@dell-per730-18 libexec]# rpm -qa | grep platform-python
platform-python-devel-3.6.8-33.el8.x86_64
platform-python-3.6.8-33.el8.x86_64
platform-python-setuptools-39.2.0-6.el8.noarch
platform-python-pip-9.0.3-18.el8.noarch

1.
2.
3.

Actual results:
Install failed

Expected results:
Install successfully


Additional info:

Comment 1 David Marchand 2021-01-05 15:58:22 UTC
- Hekai,

Just to confirm, did you create this symlink?
lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 -> platform-python3.6
A RHEL 8.3 system of mine does not have it.


- Timothy,

The problem Hekai describes is a packaging issue.

The downstream specfile currently replaces python shebang with content of ${__python3}.
As far as I can see, this gets filled with /usr/lib/platform-python3.
This should be either /usr/lib/platform-python or /usr/bin/python3.

I think you are better placed than me to fix this, wdyt?

Comment 2 Hekai Wang 2021-01-06 01:58:54 UTC
(In reply to David Marchand from comment #1)
> - Hekai,
> 
> Just to confirm, did you create this symlink?
> lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 ->
> platform-python3.6
> A RHEL 8.3 system of mine does not have it.

Yes , It still does not work even I create a symlink for it .
Thanks .
[root@dell-per730-18 libexec]# ls -al /usr/libexec/platform-python*
lrwxrwxrwx. 1 root root    20 Nov 24 02:54 /usr/libexec/platform-python -> ./platform-python3.6
lrwxrwxrwx. 1 root root    18 Dec 17 02:47 /usr/libexec/platform-python3 -> platform-python3.6
> 
> 
> - Timothy,
> 
> The problem Hekai describes is a packaging issue.
> 
> The downstream specfile currently replaces python shebang with content of
> ${__python3}.
> As far as I can see, this gets filled with /usr/lib/platform-python3.
> This should be either /usr/lib/platform-python or /usr/bin/python3.
> 
> I think you are better placed than me to fix this, wdyt?

Comment 3 Timothy Redaelli 2021-01-12 19:38:52 UTC
It should be fixed in dpdk-20.11-1.el8fdb.4

Comment 4 Timothy Redaelli 2021-01-13 18:37:22 UTC
*** Bug 1912094 has been marked as a duplicate of this bug. ***

Comment 6 ovs-bot 2024-10-08 17:49:14 UTC
This bug did not meet the criteria for automatic migration and is being closed.
If the issue remains, please open a new ticket in https://issues.redhat.com/browse/FDP