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

Solution Verified - Updated -

Issue

  • 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>
      sys.exit(main())
    File "/usr/lib/python3.6/site-packages/os_net_config/cli.py", line 295, in main
      provider.add_object(obj)
    File "/usr/lib/python3.6/site-packages/os_net_config/__init__.py", line 106, in add_object
      self.add_sriov_pf(obj)
    File "/usr/lib/python3.6/site-packages/os_net_config/impl_ifcfg.py", line 995, in add_sriov_pf
      link_mode=sriov_pf.link_mode)
    File "/usr/lib/python3.6/site-packages/os_net_config/utils.py", line 483, in update_sriov_pf_map
      cur_numvfs = sriov_config.get_numvfs(ifname)
    File "/usr/lib/python3.6/site-packages/os_net_config/sriov_config.py", line 118, in get_numvfs
      raise SRIOVNumvfsException(msg)
    os_net_config.sriov_config.SRIOVNumvfsException: Unable to read numvfs for eno1
    
    

Environment

  • 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