Fix installation of ovs-dpdk service

This patch fixes ovs-dpdk script as options
in DPDK changed and PCI whitelist config changed
from '-w' to '-a' as per [1].

[1] db27370b57

Closes-Bug: #2058372
Change-Id: Iae812a4a255c13a42b2d6a691e265922d220f4c8
This commit is contained in:
Michal Arbet 2024-03-19 11:36:40 +01:00
parent ccc768414c
commit deb08630fc
2 changed files with 10 additions and 3 deletions

View File

@ -47,9 +47,9 @@ function generate_pciwhitelist {
for nic in $(list_dpdk_nics); do
address="$(get_value $nic address)"
if [ "$_Whitelist" == '' ]; then
_Whitelist="-w $address"
_Whitelist="-a $address"
else
_Whitelist="$_Whitelist -w $address"
_Whitelist="$_Whitelist -a $address"
fi
done
echo $_Whitelist
@ -482,7 +482,7 @@ options:
- The pci_whitelist allows multiple dpdk primary process to
utilise different pci devices without resulting in a conflict
of ownership.
- Example: pci_whitelist="-w <pci address 1> -w <pci address 2>"
- Example: pci_whitelist="-a <pci address 1> -a <pci address 2>"
- Default: auto generated form port_mappings.
EOF

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fix the wrong configuration of the ovs-dpdk service.
this breaks the deployment of kolla-ansible.
For more details please see `bug 2058372
<https://bugs.launchpad.net/kolla-ansible/+bug/2058372>`__.