← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1202975] Re: auto confirm is invalid with nova master branch

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
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/1202975

Title:
  auto confirm is invalid with nova master branch

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Reproduce steps in my devstack env with latest master branch nova:
  1. set resize_confirm_window=10 in nova.conf
  2. create an instance
  3. resize it
  4. wait for it is confirmed and watch the log

  2013-07-19 08:34:50.775 INFO nova.compute.manager [-] Found 1 unconfirmed migrations older than 10 seconds
  2013-07-19 08:34:50.776 INFO nova.compute.manager [-] Automatically confirming migration 21 for instance d85c25a4-c4a7-40c3-99f2-750834ed332a
  ......
  2013-07-19 08:34:50.863 ERROR nova.compute.manager [-] [instance: d85c25a4-c4a7-40c3-99f2-750834ed332a] Error auto-confirming resize: u'\'system_metadata\'\nTraceback (most recent call last):\n\n  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 426, in _process_data\n    **args)
  File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
      result = getattr(proxyobj, method)(ctxt, **kwargs)\n\n  File "/opt/stack/nova/nova/conductor/manager.py", line 522, in compute_confirm_resize
      self.compute_api.confirm_resize(context, instance, migration_ref)
    File "/opt/stack/nova/nova/compute/api.py", line 188, in wrapped
      return func(self, context, target, *args, **kwargs)\n\n  File "/opt/stack/nova/nova/compute/api.py", line 178, in inner
      return function(self, context, instance, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/api.py", line 159, in inner
      return f(self, context, instance, *args, **kw)
    File "/opt/stack/nova/nova/compute/api.py", line 2032, in confirm_resize
    File "/opt/stack/nova/nova/compute/api.py", line 2108, in _downsize_quota_delta
      \'new_\')
    File "/opt/stack/nova/nova/compute/flavors.py", line 242, in extract_flavor
      sys_meta = utils.instance_sys_meta(instance)
    File "/opt/stack/nova/nova/utils.py", line 1048, in instance_sys_meta
     if isinstance(instance[\'system_metadata\'], dict):
  KeyError: \'system_metadata\'\n'. Will retry later.

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