← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1133572] Re: rescue is broken with no-db-compute

 

** Changed in: nova
       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/1133572

Title:
  rescue is broken with no-db-compute

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  something In no-db-compute changes caused extra_specs to be omitted
  from the instance during rescue leading to a failure when rescue is
  called:

  2013-02-26 11:44:30.139 ERROR nova.openstack.common.rpc.amqp [req-63168d2e-350b-4ee5-be1a-c72f7da3ebf0 demo demo] Exception during message handling
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 393, in _process_data
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 109, in wrapped
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 207, in decorated_function
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     pass
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 193, in decorated_function
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 258, in decorated_function
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     function(self, context, *args, **kwargs)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 235, in decorated_function
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     e, sys.exc_info())
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 222, in decorated_function
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 1799, in rescue_instance
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     rescue_image_meta, admin_password)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1463, in rescue
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     image_meta, rescue=rescue_images)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2300, in to_xml
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     disk_info, rescue, block_device_info)
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2115, in get_guest_config
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp     for key, value in instance['extra_specs'].iteritems():
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp KeyError: 'extra_specs'
  2013-02-26 11:44:30.139 TRACE nova.openstack.common.rpc.amqp

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