-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
None
-
0
-
False
-
-
False
-
?
-
os-net-config-18.0.1-18.0.20250908114718.22b9a65.el9osttrunk
-
rhos-connectivity-nfv
-
None
-
-
-
-
Important
To Reproduce Steps to reproduce the behavior:
template
--- network_config: - type: sriov_pf name: nic2 numvfs: 6 mtu: 9000 use_dhcp: false promisc: true drivers_autoprobe: true - type: sriov_pf name: nic3 numvfs: 6 mtu: 9000 use_dhcp: false promisc: true drivers_autoprobe: true - type: ovs_bridge name: br-ex use_dhcp: false members: - type: ovs_bond name: ovsbond0 use_dhcp: false ovs_options: "bond_mode=active-backup" members: - type: sriov_vf device: nic2 vfid: 0 primary: true - type: sriov_vf device: nic3 vfid: 0
Apply the above template using os-net-config
os-net-config -c <config.yaml> -p ifcfg -d
Received Error
2025-08-29 19:29:46.740 INFO os_net_config.utils.configure_sriov_vfs Configuring VFs now 2025-08-29 19:29:46.744 INFO os_net_config.sriov_config.configure_sriov_vf eno2: Configuring settings for VF: 0 VF name: eno2v0 2025-08-29 19:29:46.745 ERROR os_net_config.main ***Failed to configure with ifcfg provider*** 'pci_address' 2025-08-29 19:29:46.746 ERROR os_net_config.common.log_exceptions Traceback (most recent call last): File "/usr/local/bin/os-net-config", line 10, in <module> sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/os_net_config/cli.py", line 422, in main utils.configure_sriov_vfs() File "/usr/local/lib/python3.9/site-packages/os_net_config/utils.py", line 610, in configure_sriov_vfs sriov_config.configure_sriov_vf() File "/usr/local/lib/python3.9/site-packages/os_net_config/sriov_config.py", line 895, in configure_sriov_vf common.set_driverctl_override(item['pci_address'], KeyError: 'pci_address' NoneType: None Traceback (most recent call last): File "/usr/local/bin/os-net-config", line 10, in <module> sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/os_net_config/cli.py", line 422, in main utils.configure_sriov_vfs() File "/usr/local/lib/python3.9/site-packages/os_net_config/utils.py", line 610, in configure_sriov_vfs sriov_config.configure_sriov_vf() File "/usr/local/lib/python3.9/site-packages/os_net_config/sriov_config.py", line 895, in configure_sriov_vf common.set_driverctl_override(item['pci_address'], KeyError: 'pci_address'
Expected behavior
The ovs_bond and the bridges shall be created
Device Info (please complete the following information):
- Hardware Specs: x86 nics
- OS Version: Red Hat Enterprise Linux release 9.4 (Plow)
- links to
-
RHBA-2025:155582
Release of components for RHOSO 18.0.14