DPDK support check broken with OVS-DPDK on Debian
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/
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:/
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/
* 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) |
tags: | added: stx.9.0 |
Changed in starlingx: | |
status: | In Progress → Triaged |
importance: | Undecided → Medium |
Also affected by this, in my installation that was made from starlingx- intel-x86- 64-202302111319 09-cd.iso dpdk-pmdinfo.py was missing from /usr/share/ openvswitch/ scripts/ where it is supposed to be according to query_pci_id.