Cannot attach / detach SR-IOV ports in nova in Red Hat OpenStack Platform

Solution Verified - Updated -

Issue

Cannot attach / detach SR-IOV ports in nova in Red Hat OpenStack Platform. Nova logs report No conversion for VIF type hw_veb yet.

2018-04-05 17:39:46.933 237964 DEBUG nova.network.os_vif_util [req-36b544f4-91a6-442e-a30d-6148220d1449 d7530d1d970f48b2b19cf1f2a5289a4a 5516f95420f14e1885fde8449654a412 - - -] No conversion for VIF type hw_veb yet nova_to_osvif_vif /usr/lib/python2.7/site-packages/nova/network/os_vif_util.py:416

2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server [req-36b544f4-91a6-442e-a30d-6148220d1449 d7530d1d970f48b2b19cf1f2a5289a4a 5516f95420f14e1885fde8449654a412 - - -] Exception during message handling
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 75, in wrapped
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server function_name, call_dict, binary)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server self.force_reraise()
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 66, in wrapped
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server return f(self, context, *args, **kw)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 216, in decorated_function
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server kwargs['instance'], e, sys.exc_info())
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server self.force_reraise()
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 204, in decorated_function
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5047, in attach_interface
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server self.driver.attach_interface(instance, image_meta, network_info[0])
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1372, in attach_interface
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server self._host)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 539, in get_config
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server inst_type, virt_type, host)
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 320, in get_config_hw_veb
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server conf, net_type, profile['pci_slot'],
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server KeyError: 'pci_slot'
2018-04-05 17:39:46.950 237964 ERROR oslo_messaging.rpc.server

Environment

  • Red Hat OpenStack Platform 7-10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In