← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1243291] Re: Restarting nova compute has an exception

 

** Changed in: nova/havana
       Status: Fix Committed => Fix Released

-- 
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/1243291

Title:
  Restarting nova compute has an exception

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  Fix Released

Bug description:
  (latest havana code - libvirt driver)

  1. launch a nova vm
  2. see that the instance is deployed on the compute node
  3. restart the compute node

  get the following exception:

  2013-10-22 05:46:53.711 30742 INFO nova.openstack.common.rpc.common [req-57056535-4ecd-488a-a75e-ff83341afb98 None None] Connected to AMQP server on 192.168.10.111:5672
  2013-10-22 05:46:53.737 30742 AUDIT nova.service [-] Starting compute node (version 2013.2)
  2013-10-22 05:46:53.814 30742 ERROR nova.openstack.common.threadgroup [-] 'NoneType' object has no attribute 'network_info'
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 117, in wait
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     x.wait()
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 49, in wait
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     return self.thread.wait()
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     return self._exit_event.wait()
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     return hubs.get_hub().switch()
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     return self.greenlet.switch()
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     result = function(*args, **kwargs)
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/service.py", line 65, in run_service
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     service.start()
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 154, in start
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     self.manager.init_host()
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 786, in init_host
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     self._init_instance(context, instance)
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 664, in _init_instance
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     net_info = compute_utils.get_nw_info_for_instance(instance)
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/compute/utils.py", line 349, in get_nw_info_for_instance
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup     return instance.info_cache.network_info
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup AttributeError: 'NoneType' object has no attribute 'network_info'
  2013-10-22 05:46:53.814 30742 TRACE nova.openstack.common.threadgroup

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