Comment 0 for bug 1738373

Revision history for this message
Xiao Gong (gongxiao) wrote : nova-compute start failed because of binding_failed vif

This bug is same as https://bugs.launchpad.net/nova/+bug/1324041.
Bug #1324041 has been closed, so i create this bug.

Bug #1324041 has been fixed, but the 'plug' function has changed in commit:745f5fbb3a1b0a42eb54e2be2ecfffca3cbbb872.

This commit imports the bug again in nova.network.os_vif_util:nova_to_osvif_vif method.

New bug log is:

2017-12-13 16:07:47.994 10236 ERROR oslo_service.service [req-c852fd3f-38e2-4955-84b1-1e31efd0eb22 - - - - -] Error starting thread.: NovaException: Unsupported VIF type binding_failed convert '_nova_to_osvif_vif_binding_failed'
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service Traceback (most recent call last):
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 721, in run_service
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service service.start()
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/service.py", line 143, in start
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service self.manager.init_host()
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1160, in init_host
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service self._init_instance(context, instance)
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 957, in _init_instance
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service self.driver.plug_vifs(instance, net_info)
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 748, in plug_vifs
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service self.vif_driver.plug(instance, vif)
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 799, in plug
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service vif_obj = os_vif_util.nova_to_osvif_vif(vif)
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/network/os_vif_util.py", line 486, in nova_to_osvif_vif
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service {'type': vif['type'], 'func': funcname})
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service NovaException: Unsupported VIF type binding_failed convert '_nova_to_osvif_vif_binding_failed'
2017-12-13 16:07:47.994 10236 ERROR oslo_service.service