-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhos-17.1.3
-
None
-
8
-
False
-
False
-
Not Set
-
os-net-config-18.0.1-18.0.20241215105304.22b9a65
-
Not Set
-
Not Set
-
None
-
-
-
2024Q3
-
Important
Description of problem:
Failing to configure ovs-dpdk with nicpartitioning when using Network manager + nmstate
For those interfaces, it should be executed the following command in order to be configured in a ovs bridge, but apparently it is not executed or it is not taking efect. I have only tested with intel nics, i will test later on with mellanox
set-override <device> vfio-pci
Config:
- type: sriov_pf
name: nic7
mtu: 9000
numvfs: 5
use_dhcp: false
defroute: false
nm_controlled: true
hotplug: true
promisc: false
- type: sriov_pf
name: nic8
mtu: 9000
numvfs: 5
use_dhcp: false
defroute: false
nm_controlled: true
hotplug: true
promisc: false
- type: ovs_user_bridge
name: br-link0
use_dhcp: false
mtu: 9000
ovs_extra: "set port br-link0 tag=656"
addresses: - ip_netmask: 10.20.156.119/24
members: - type: ovs_dpdk_bond
name: dpdkbond0
mtu: 9000
rx_queue: 1
members: - type: ovs_dpdk_port
name: dpdk0
members: - type: sriov_vf
device: nic7
vfid: 3 - type: ovs_dpdk_port
name: dpdk1
members: - type: sriov_vf
device: nic8
vfid: 3
Error:
Interface dpdk0
type: dpdk
options:
error: "Error attaching device '0000:05:02.3' to DPDK"
Interface dpdk1
type: dpdk
options:
error: "Error attaching device '0000:05:06.3' to DPDK"
logs:
2024-09-23T10:01:51.129Z|00706|dpdk|ERR|EAL: Driver cannot attach the device (0000:05:02.3)
2024-09-23T10:01:51.129Z|00707|dpdk|ERR|EAL: Failed to attach device on primary process
2024-09-23T10:01:51.129Z|00708|netdev_dpdk|WARN|Error attaching device ‘0000:05:02.3’ to DPDK
2024-09-23T10:01:51.129Z|00709|netdev|WARN|dpdk0: could not set configuration (Invalid argument)
2024-09-23T10:01:51.129Z|00710|dpdk|ERR|Invalid port_id=1024
2024-09-23T10:01:51.152Z|00711|dpdk|ERR|EAL: Driver cannot attach the device (0000:05:06.3)
2024-09-23T10:01:51.152Z|00712|dpdk|ERR|EAL: Failed to attach device on primary process
2024-09-23T10:01:51.152Z|00713|netdev_dpdk|WARN|Error attaching device ‘0000:05:06.3’ to DPDK
2024-09-23T10:01:51.152Z|00714|netdev|WARN|dpdk1: could not set configuration (Invalid argument)
2024-09-23T10:01:51.152Z|00715|dpdk|ERR|Invalid port_id=1024
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 nic partitioning config with ovs-dpdk using vfs
Actual results:
os-net-config does not configure properly ovs-dpdk bridge with vfs
Expected results:
os-net-config should configure ovs-dpdk bridge with vfs
Additional info:
- blocks
-
OSPRH-8768 Greenfield deployment with os-net-config nmstate provider
- Testing
-
OSPRH-2273 [RFE] [18.0] NetworkManager implementation for os-net-config (tech preview)
- Closed
-
OSPRH-3707 [RFE] [17.1.4] NetworkManager implementation for os-net-config
- Closed
- external trackers