Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2314230

Summary: ovs-extra not applied when using Network manager + os-net-config
Product: Red Hat OpenStack Reporter: Miguel Angel Nieto <mnietoji>
Component: os-net-configAssignee: RHOSP:NFV_Eng <rhosp-nfv-int>
Status: CLOSED MIGRATED QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: bfournie, dsneddon, jslagle, mburns, njohnston, vcandapp
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-15 11:25:04 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:
Bug Depends On:    
Bug Blocks: 1645689    

Description Miguel Angel Nieto 2024-09-23 15:16:11 UTC
Description of problem:
Options are not applied:

type: ovs_dpdk_bond
name: dpdkbond0
mtu: 9000
rx_queue: 1
ovs_extra:
set port dpdkbond0 bond_mode=balance-slb
set Interface dpdk0 options:n_rxq_desc=2048
set Interface dpdk0 options:n_txq_desc=2048
set Interface dpdk1 options:n_rxq_desc=2048
set Interface dpdk1 options:n_txq_desc=2048
[root@compute-r740 os-net-config]# ovs-vsctl get port dpdkbond0 bond_mode
active-backup
[root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk0 options

{dpdk-devargs="0000:86:00.0", n_rxq="1"}
[root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk1 options

{dpdk-devargs="0000:86:00.1", n_rxq="1"}
It can be configured in a different way, but this is not working either

type: ovs_dpdk_bond
name: dpdkbond0
mtu: 9000
rx_queue: 1
ovs_options: bond_mode=balance-slb
rx_queue_size: 2048
tx_queue_size: 2048
There is a third way that it is working:

type: ovs_dpdk_bond
name: dpdkbond0
mtu: 9000
rx_queue: 1
ovs_options: bond_mode=balance-slb
members:
type: ovs_dpdk_port
name: dpdk0
rx_queue_size: 2048
tx_queue_size: 2048
members:
type: interface
name: nic7
type: ovs_dpdk_port
name: dpdk1
rx_queue_size: 2048
tx_queue_size: 2048
members:
type: interface
name: nic8
[root@compute-r740 os-net-config]# ovs-vsctl get port dpdkbond0 bond_mode
balance-slb
[root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk0 options

{dpdk-devargs="0000:86:00.0", n_rxq="1", n_rxq_desc="2048", n_txq_desc="2048"}
[root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk1 options

{dpdk-devargs="0000:86:00.1", n_rxq="1", n_rxq_desc="2048", n_txq_desc="2048"}

Version-Release number of selected component (if applicable):
RHOS-17.1-RHEL-9-20240909.n.1
Waiting for a puddle with os-net-config update, but as not available yet, i am updating os-net-config from the following repo
git clone https://github.com/os-net-config/os-net-config.git
cd /home/stack/images/os-net-config
git fetch -v --all
git switch -c stable/wallaby origin/stable/wallaby

How reproducible:
Deploy configuration using nmstate and ovs-extra as shown before


Actual results:
ovs-extra parameters not applied

Expected results:
ovs-extra parameter should be applied


Additional info: