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:
parent
ccc768414c
commit
deb08630fc
@ -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
|
||||
|
||||
|
7
releasenotes/notes/bug-2058372-f94889bae9522ae4.yaml
Normal file
7
releasenotes/notes/bug-2058372-f94889bae9522ae4.yaml
Normal 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>`__.
|
Loading…
Reference in New Issue
Block a user