Openstack : net-config fails on virtual function with : "Unable to read numvfs"

Solution Verified - Updated -


  • Deployment of new node fails with os-net-config with the below error, found under os-net-config logs

    [root@computesriov-0 ~]# journalctl -fu os-net-config
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "/bin/os-net-config", line 10, in <module>
    File "/usr/lib/python3.6/site-packages/os_net_config/", line 295, in main
    File "/usr/lib/python3.6/site-packages/os_net_config/", line 106, in add_object
    File "/usr/lib/python3.6/site-packages/os_net_config/", line 995, in add_sriov_pf
    File "/usr/lib/python3.6/site-packages/os_net_config/", line 483, in update_sriov_pf_map
      cur_numvfs = sriov_config.get_numvfs(ifname)
    File "/usr/lib/python3.6/site-packages/os_net_config/", line 118, in get_numvfs
      raise SRIOVNumvfsException(msg)
    os_net_config.sriov_config.SRIOVNumvfsException: Unable to read numvfs for eno1


  • Red Hat Openstack Platform 16.1.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content