← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1116913] Re: Flavor creation falls due to duplicate flavorid

 

** Changed in: horizon/folsom
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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