yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02060
[Bug 1129354] Re: sqlalchemy _instance_update sets extra_specs for original instance type.
Looks like this was fixed together with
https://github.com/openstack/nova/commit/6f47035605e471562a3c7de593a272cf1b5a3a86.
** Changed in: nova
Status: Confirmed => Invalid
** Tags removed: baremetal
--
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/1129354
Title:
sqlalchemy _instance_update sets extra_specs for original instance
type.
Status in OpenStack Compute (Nova):
Invalid
Bug description:
Bare metal seems to require that instance['extra_specs'] contains a
copy of the extra specs for the instance type of the instance.
However, instance_update() can change the instance type ID. The
_instance_update() method in sqlalchemy/api.py only seems to pull and
set instance['extra_specs'] for the OLD instance_type if
instance_type_id is changing (as can happen with resize()). I think
we need to pull the extra specs at the end of this method if the
instance_type_id changes.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1129354/+subscriptions