yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01876
[Bug 1161709] Re: confirm-resize failed, after migration. "KeyError: 'old_instance_type_memory_mb'"
Yes, that's the fix I'm talking about. I'm going to mark this bug as
invalid since it has already been fixed.
** Changed in: nova
Status: Incomplete => Invalid
--
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/1161709
Title:
confirm-resize failed, after migration. "KeyError:
'old_instance_type_memory_mb'"
Status in OpenStack Compute (Nova):
Invalid
Bug description:
confirm-resize failed, after migration. "KeyError: 'old_instance_type_memory_mb'"
Because after migration (Not resize), no "old_*" information exist in sys_meta. (old_* and new_* both exist only after resize operations)
-----------------------
2013-03-28 01:24:50.716 ERROR nova.api.openstack.compute.servers [req-cb15c1c5-3045-479e-a921-3f05a94c27be e9d9c977a94c4204b59192689347c126 e30341b47c714bf8b5f92b531cea9caf] Error in confirm-resize 'old_instance_type_memory_mb'
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers Traceback (most recent call last):
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/servers.py", line 1051, in _action_confirm_resize
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers self.compute_api.confirm_resize(context, instance)
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers File "/usr/lib/python2.6/site-packages/nova/compute/api.py", line 174, in wrapped
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers return func(self, context, target, *args, **kwargs)
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers File "/usr/lib/python2.6/site-packages/nova/compute/api.py", line 164, in inner
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers return function(self, context, instance, *args, **kwargs)
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers File "/usr/lib/python2.6/site-packages/nova/compute/api.py", line 145, in inner
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers return f(self, context, instance, *args, **kw)
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers File "/usr/lib/python2.6/site-packages/nova/compute/api.py", line 1868, in confirm_resize
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers deltas = self._downsize_quota_delta(context, instance)
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers File "/usr/lib/python2.6/site-packages/nova/compute/api.py", line 1948, in _downsize_quota_delta
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers 'old_')
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers File "/usr/lib/python2.6/site-packages/nova/compute/instance_types.py", line 250, in extract_instance_type
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers instance_type[key] = type_fn(sys_meta[type_key])
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers KeyError: 'old_instance_type_memory_mb'
2013-03-28 01:24:50.716 16798 TRACE nova.api.openstack.compute.servers
----------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1161709/+subscriptions