← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1093379] Re: i can not start lxc instance via "nova start" after rebooting the host

 

** Changed in: nova
       Status: Confirmed => 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/1093379

Title:
  i can not  start lxc instance via "nova start" after rebooting the
  host

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  i install openstack with nova-compute-lxc.

  for a test, i boot a lxc instance via "nova boot",then i stop it via "nova stop",finaly i reboot the host.
  when the host is up,the lxc instance's status is SUTOFF,i want to start the stoped lxc instnace via "nova start",but i can not do it.

  PS,i can boot new lxc instance via "nova boot".

  below is the nova-compute log:

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

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