← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1738373] Re: nova-compute cannot restart if _init_host failed

 

*** This bug is a duplicate of bug 1784579 ***
    https://bugs.launchpad.net/bugs/1784579

This is fixed with:

https://review.openstack.org/#/q/Ia963a093a1b26d90b4de2e8fc623031cf175aece

** This bug has been marked a duplicate of bug 1784579
   unable to live migrate instance after update to queens

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1738373

Title:
  nova-compute cannot restart if _init_host failed

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  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.

  I find this bug in my Pike enviroment, but i think it also exists in
  master.

  The 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1738373/+subscriptions


References