← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1133254] Re: Flavors get deleted when reusing an existing name

 

** 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/1133254

Title:
  Flavors get deleted when reusing an existing name

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) folsom series:
  Fix Released

Bug description:
  If I edit a flavour and accidentally change its name to another
  existing name, the flavour I was editing will be deleted.

  Steps to reproduce:
  1. Go to the flavour menus and edit "m1.tiny". 
  2. Change the name to "m1.xlarge". The form doesn't validate and a message "Error: Unable to update flavor" appears on screen.
  3. Cancel and reload the flavors page: m1.tiny doesn't exist anymore.

  This applies to both master and Folsom.

  To edit a flavour we delete it then recreate it. We should be able to
  do a name/id check first and avoid losing the flavour entirely.

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