← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1196690] Re: "Launch Instance" dialog displays flavors in wonky sort order

 

** Changed in: horizon
       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/1196690

Title:
  "Launch Instance" dialog displays flavors in wonky sort order

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When launching an instance, the list of flavors comes back in what
  appears to be a pseudo-random order.

  Looking at the code for populate_flavor_choices, it is sorting its
  inputs, but it's doing a default comparison against the string values
  of the flavor IDs, which means you get odd artifacts like ['1', '10',
  '2', '21', '3', '4', '5', ...] in the resulting set.

  This should probably be sorted by the display name, amount of
  RAM/VCPU/etc., or likewise.  Even better, it should be tunable through
  local_settings.py to return whatever the admins like.

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