Newton - "ERROR oslo_service.service NovaException: Unsupported VIF type binding_failed convert '_nova_to_osvif_vif_binding_failed'"

Latest response

We are using RedHAT OSP Newton release and 2 compute nodes and using OVS-DPDK for networking. On one of the compute nodes, we see the following errors inside compute.log and this error prevents launching new instances on that compute node:

2017-02-03 11:07:50.695 10094 DEBUG oslo_service.service [req-ed860bf0-8ed6-435e-94a4-370ae73cd119 - - - - -] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service [req-5a10d319-2591-47ee-a50f-38532e8c3ee5 - - - - -] Error starting thread.
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service Traceback (most recent call last):
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 708, in run_service
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service service.start()
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/service.py", line 117, in start
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service self.manager.init_host()
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1150, in init_host
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service self._init_instance(context, instance)
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 953, in _init_instance
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service self.driver.plug_vifs(instance, net_info)
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 684, in plug_vifs
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service self.vif_driver.plug(instance, vif)
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 815, in plug
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service vif_obj = os_vif_util.nova_to_osvif_vif(vif)
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/network/os_vif_util.py", line 370, in nova_to_osvif_vif
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service {'type': vif['type'], 'func': funcname})
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service NovaException: Unsupported VIF type binding_failed convert '_nova_to_osvif_vif_binding_failed'
2017-02-03 11:07:51.349 10094 ERROR oslo_service.service

We have tried deleting and creating br-int and rebooting the compute node but it didn't help.
Do you have an idea on this?

Thanks,
Gokhan
gokhan_turhan@affirmednetworks.com

Responses

Hello,

We've faced a similar issue upgrading to Ocata, not fully understood yet the root cause (we're running ml2 openvswitch) but seems to be something connected to Nova on our case.

The solution we've found was to massage the cached information of the network interfaces in the 'nova' database, table 'instance_info_caches'. We updated the column "network_info" for the failing instances (things like ovs_interfaceid, type, details, bridge were not set properly).

After doing these changes nova-compute was able to start properly and launch the running instances on the compute node.

I hope this helps (maybe there is a better way to tackle it).

Hi, how did you find which rows were causing the problem ?

i got same problem