Bug 2314207
| Summary: | Failing to configure ovs-dpdk with nicpartitioning when using Network manager + nmstate | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Miguel Angel Nieto <mnietoji> |
| Component: | os-net-config | Assignee: | Karthik Sundaravel <ksundara> |
| Status: | CLOSED MIGRATED | QA Contact: | Eran Kuris <ekuris> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17.1 (Wallaby) | CC: | bfournie, dhughes, jjoyce, jmarti, jslagle, ksundara, mburns, njohnston |
| Target Milestone: | z4 | ||
| 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-10 15:48:44 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 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: {dpdk-devargs="0000:05:02.3", n_rxq="1"} error: "Error attaching device '0000:05:02.3' to DPDK" Interface dpdk1 type: dpdk options: {dpdk-devargs="0000:05:06.3", n_rxq="1"} 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: