← Back to team overview

openstack team mailing list archive

Re: cannot restart the instance

 

Hi, 小盆儿

which version of openstack you used? I think you need this patch
(https://review.openstack.org/#/c/14496/) to get the real exception.

于 2012年12月31日 16:39, 小盆儿 写道:
> 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 ?
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


-- 
best regards,
gtt


References