Confirmed in Folsom, re-targeting the bug. Thank you for the report and
patch!
** Also affects: horizon/folsom
Importance: Undecided
Status: New
** Changed in: horizon/folsom
Status: New => Confirmed
** Changed in: horizon
Status: New => Invalid
** Changed in: horizon/folsom
Assignee: (unassigned) => Jordan Callicoat (jcallicoat)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1116913
Title:
Flavor creation falls due to duplicate flavorid
Status in OpenStack Dashboard (Horizon):
Invalid
Status in OpenStack Dashboard (Horizon) folsom series:
Confirmed
Bug description:
In Folsom, the flavorid of new flavors (instance_types) is calculated
as +1 the highest flavorid [1]. However, flavorid is a varchar [2], so
the calculation can be wrong: max(['10', '9']) == '9'
This is fixed in Grizzly with the switch to uuids instead of ints.
[1]
https://github.com/openstack/horizon/blob/stable/folsom/horizon/dashboards/syspanel/flavors/forms.py#L51
[2]
https://github.com/openstack/nova/blob/stable/folsom/nova/db/sqlalchemy/models.py#L334
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1116913/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp