DPDK support check broken with OVS-DPDK on Debian

Bug #2008124 reported by Thales Elero Cervi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StarlingX
Triaged
Medium
Thales Elero Cervi

Bug Description

Brief Description
-----------------

For data-neetwork interfaces, sysinv currently relies on query_pci_id script [1], that relies on the provided dpdk-pmdinfo.py script, to check if a NIC supports DPDK. This script needs an ELF file to check DPDK compatibility against, currently it is using the ovs-dpdk built binary: /usr/sbin/ovs-vswitchd

On Debian though, this script is no longer able to correctly check DPDK compatibility since it always fails to check even supported devices (vendor+device).

It is probably a build issue introduced when Openvswitch package was ported to Debian

[1] https://opendev.org/starlingx/config/src/branch/master/sysinv/sysinv/sysinv/scripts/query_pci_id

Severity
--------
Critical: ovs-dpdk configuration is not usable due to the defect

Steps to Reproduce
------------------
* List host available ports: system host-port-list controller-0
* Get one of the data-networks PCI ID
* From /sys/bus/pci/devices/ get both the VendorID and DeviceID for that port
* Make sure this NIC is officially supported by the current OVS-DPDK version
* Manually execute the script "query_pci_id -v 0xabcd -d 0x1234"

Expected Behavior
------------------
Given that the NIC is officially supported by the current OVS-DPDK version, the script must print: "Vendor ID: 0xabcd Device ID: 0x1234 is supported"

Actual Behavior
----------------
Even when the NIC is officially supported by the current OVS-DPDK version, the script prints: "Vendor ID: 0xabcd Device ID: 0x1234 is not supported"

Reproducibility
---------------
Reproducible

Branch/Pull Time/Commit
-----------------------
starlingx master

Last Pass
---------
On CentOS builds of stx.7.0 or stx.8.0

Timestamp/Logs
--------------
None

Test Activity
-------------
Sanity

Workaround
----------
None

tags: added: stx.distro.openstack
Changed in starlingx:
assignee: nobody → Thales Elero Cervi (tcervi)
Revision history for this message
Mathias Lindberg (shambulance) wrote (last edit ):

Also affected by this, in my installation that was made from starlingx-intel-x86-64-20230211131909-cd.iso dpdk-pmdinfo.py was missing from /usr/share/openvswitch/scripts/ where it is supposed to be according to query_pci_id.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/tools/+/885662

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to integ (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/integ/+/885663

tags: added: stx.9.0
Revision history for this message
Thales Elero Cervi (tcervi) wrote :

Fix was proposed but a complete OVS-DPDK deployment will only be possible after [1] is fixed.

[1] https://bugs.launchpad.net/starlingx/+bug/2025682

Changed in starlingx:
status: In Progress → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.