nova-compute no longer work after reboot with instances running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Yun Mao |
Bug Description
How to reproduce:
install from the master branch. Make sure resume_
Start an instance. Once the instance is in running, reboot the compute node.
After reboot, the nova-compute daemon can no longer start. Here is the traceback:
2013-02-18 20:13:10.703 INFO nova.compute.
3422520b-
2013-02-18 20:13:10.703 DEBUG nova.openstack.
Making synchronous call on conductor ... multicall /usr/local/
rpc/amqp.py:362
2013-02-18 20:13:10.703 DEBUG nova.openstack.
MSG_ID is 387dff66e09f4c4
n/rpc/amqp.py:365
2013-02-18 20:13:10.779 1291 CRITICAL nova [-] string indices must be integers
Traceback (most recent call last):
File "/usr/local/
rval = self.proxy.
File "/usr/local/
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/usr/local/
all_by_instance
context, instance['uuid'])
TypeError: string indices must be integers
2013-02-18 20:13:10.779 1291 TRACE nova Traceback (most recent call last):
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
2013-02-18 20:13:10.779 1291 TRACE nova service.wait()
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
, in wait
2013-02-18 20:13:10.779 1291 TRACE nova super(ServiceLa
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
, in wait
2013-02-18 20:13:10.779 1291 TRACE nova service.wait()
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
line 168, in wait
2013-02-18 20:13:10.779 1291 TRACE nova return self._exit_
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
16, in wait
2013-02-18 20:13:10.779 1291 TRACE nova return hubs.get_
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
e 187, in switch
2013-02-18 20:13:10.779 1291 TRACE nova return self.greenlet.
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
line 194, in main
2013-02-18 20:13:10.779 1291 TRACE nova result = function(*args, **kwargs)
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
, in run_server
2013-02-18 20:13:10.779 1291 TRACE nova server.start()
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
, in start
2013-02-18 20:13:10.779 1291 TRACE nova self.manager.
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
line 516, in init_host
2013-02-18 20:13:10.779 1291 TRACE nova self._init_
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
line 475, in _init_instance
2013-02-18 20:13:10.779 1291 TRACE nova context, instance['uuid'])
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
line 1039, in _get_instance_
2013-02-18 20:13:10.779 1291 TRACE nova bdms = self._get_
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
line 1023, in _get_instance_
2013-02-18 20:13:10.779 1291 TRACE nova context, instance))
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
ne 535, in block_device_
2013-02-18 20:13:10.779 1291 TRACE nova context, instance)
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
line 233, in block_device_
2013-02-18 20:13:10.779 1291 TRACE nova return self.call(context, msg, version='1.13')
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
proxy.py", line 80, in call
2013-02-18 20:13:10.779 1291 TRACE nova return rpc.call(context, self._get_
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
__init__.py", line 139, in call
2013-02-18 20:13:10.779 1291 TRACE nova return _get_impl(
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
impl_kombu.py", line 772, in call
2013-02-18 20:13:10.779 1291 TRACE nova rpc_amqp.
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
amqp.py", line 379, in call
2013-02-18 20:13:10.779 1291 TRACE nova rv = list(rv)
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
amqp.py", line 347, in __iter__
2013-02-18 20:13:10.779 1291 TRACE nova raise result
2013-02-18 20:13:10.779 1291 TRACE nova TypeError: string indices must be integers
2013-02-18 20:13:10.779 1291 TRACE nova Traceback (most recent call last):
2013-02-18 20:13:10.779 1291 TRACE nova
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
amqp.py", line 276, in _process_data
2013-02-18 20:13:10.779 1291 TRACE nova rval = self.proxy.
2013-02-18 20:13:10.779 1291 TRACE nova
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
dispatcher.py", line 133, in dispatch
2013-02-18 20:13:10.779 1291 TRACE nova return getattr(proxyobj, method)(ctxt, **kwargs)
2013-02-18 20:13:10.779 1291 TRACE nova
2013-02-18 20:13:10.779 1291 TRACE nova File "/usr/local/
, line 235, in block_device_
2013-02-18 20:13:10.779 1291 TRACE nova context, instance['uuid'])
2013-02-18 20:13:10.779 1291 TRACE nova
2013-02-18 20:13:10.779 1291 TRACE nova TypeError: string indices must be integers
2013-02-18 20:13:10.779 1291 TRACE nova
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/22235
Review: https:/