Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-14169

After RHOSP 17.1.3 to 17.1.4 update, os-net-config-sriov fails with KeyError: 'drivers_autoprobe' on SR-IOV enabled Compute nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • rhos-17.1.5
    • rhos-17.1.4
    • os-net-config
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    •  os-net-config-14.2.1-17.1.20250128190824.61d7bd7.el9ost
    •  os-net-config-14.2.1-17.1.20250128190824.61d7bd7.el9ost
    • rhos-dfg-nfv
    • None
    • Hide
      .Fixes bug that caused update failures in environments with SR-IOV enabled Compute nodes

      Before this bug fix, during updates to a new maintenance releases of RHOSP 17.1 in environments with SR-IOV enabled Compute nodes, `os-net-config-sriov` failed with the error "KeyError:drivers_autoprobe" on the SR-IOV enabled Compute nodes.

      Now the error does not occur or cause an update failure.
      Show
      .Fixes bug that caused update failures in environments with SR-IOV enabled Compute nodes Before this bug fix, during updates to a new maintenance releases of RHOSP 17.1 in environments with SR-IOV enabled Compute nodes, `os-net-config-sriov` failed with the error "KeyError:drivers_autoprobe" on the SR-IOV enabled Compute nodes. Now the error does not occur or cause an update failure.
    • Bug Fix
    • Done
    • Rejected
    • NFV 004, NFV 005, NFV 006
    • 3
    • Important

       

      To Reproduce Steps to reproduce the behavior:

      1. Upgrade SRIOV enabled compute from RHOSP 17.1.3 to 17.1.4
      2. Expect VFs to be up but none found
      3. Check failed services and find this error for sriov_config.service:
      systemd[1]: Starting SR-IOV numvfs configuration...
      os-net-config-sriov[693357]: 2025-02-18 14:16:46.636 ERROR os_net_config.common.log_exceptions Traceback (most recent call last):
      os-net-config-sriov[693357]:  File "/usr/bin/os-net-config-sriov", line 10, in <module>
      os-net-config-sriov[693357]:    sys.exit(main())
      os-net-config-sriov[693357]:  File "/usr/lib/python3.9/site-packages/os_net_config/sriov_config.py", line 924, in main
      os-net-config-sriov[693357]:    configure_sriov_pf()
      os-net-config-sriov[693357]:  File "/usr/lib/python3.9/site-packages/os_net_config/sriov_config.py", line 420, in configure_sriov_pf
      os-net-config-sriov[693357]:    set_drivers_autoprobe(item['name'], item['drivers_autoprobe'])
      os-net-config-sriov[693357]: KeyError: 'drivers_autoprobe'
      os-net-config-sriov[693357]: NoneType: None
      os-net-config-sriov[693357]: Traceback (most recent call last):
      os-net-config-sriov[693357]:  File "/usr/bin/os-net-config-sriov", line 10, in <module>
      os-net-config-sriov[693357]:    sys.exit(main())
      os-net-config-sriov[693357]:  File "/usr/lib/python3.9/site-packages/os_net_config/sriov_config.py", line 924, in main
      os-net-config-sriov[693357]:    configure_sriov_pf()
      os-net-config-sriov[693357]:  File "/usr/lib/python3.9/site-packages/os_net_config/sriov_config.py", line 420, in configure_sriov_pf
      os-net-config-sriov[693357]:    set_drivers_autoprobe(item['name'], item['drivers_autoprobe'])
      os-net-config-sriov[693357]: KeyError: 'drivers_autoprobe'
      systemd[1]: sriov_config.service: Main process exited, code=exited, status=1/FAILURE
      systemd[1]: sriov_config.service: Failed with result 'exit-code'.
      systemd[1]: Failed to start SR-IOV numvfs configuration.

      ~~~
      Expected behavior

      • SR-IOV numvfs configuration to complete successfully

      Device Info :

      • Hardware Specs: HPE ProLiant DL360 Gen10
        * OS Version: RHEL 9.2
      • NIC: Intel Corporation Ethernet Controller XXV710

      Bug impact

      • Impact on workload, unable to spawn or start instances that use sriov ports

      Known workaround

      • None so far

       

              rdiazcam@redhat.com Ricardo Diaz Campos
              rhn-support-mlaniel Martin Laniel
              Miguel Angel Nieto Jimenez Miguel Angel Nieto Jimenez
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: