[Openstack] cannot restart the instance

Wangpan hzwangpan at corp.netease.com
Mon Jan 7 09:34:32 UTC 2013


Hi zhaopeng,
have you changed the code in nova? if not, can you post more log searched by request id about this error? 

2013-01-07



Wangpan



发件人:小盆儿
发送时间:2013-01-07 01:45
主题:Re: [Openstack] cannot restart the instance
收件人:"openstack"<openstack at lists.launchpad.net>
抄送:

no one knows how to fix this?
help me please 



2012/12/31 小盆儿 <zhaopeng1988 at gmail.com>

hey guys~


I just shutoff one of my instance .
but when I try to start it ,I got the errors like below:


2012-12-31 16:31:12 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 275, in _process_data
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kw)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 181, in decorated_function
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     pass
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 167, in decorated_function
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 202, in decorated_function
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     kwargs['instance']['uuid'], e, sys.exc_info())
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 196, in decorated_function
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 953, in start_instance
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     self.power_on_instance(context, instance)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kw)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 181, in decorated_function
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     pass
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 167, in decorated_function
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 202, in decorated_function
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp     kwargs['instance']['uuid'], e, sys.exc_info())
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp KeyError: 'instance'
2012-12-31 16:31:12 TRACE nova.openstack.common.rpc.amqp 


how can I fix this error?
and how to find what config cause these errors ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130107/4cb0ac51/attachment.html>


More information about the Openstack mailing list