resize instance - flavors not sorted

Bug #1279135 reported by Cindy Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Cindy Lu

Bug Description

New Flavor dropdown menu should be sorted by RAM or something.

Revision history for this message
Julie Pichon (jpichon) wrote :
Changed in horizon:
status: New → Triaged
importance: Undecided → Medium
tags: added: low-hanging-fruit
Changed in horizon:
importance: Medium → Low
Cindy Lu (clu-m)
Changed in horizon:
assignee: nobody → Cindy Lu (clu-m)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/73095

Changed in horizon:
status: Triaged → In Progress
Revision history for this message
Cindy Lu (clu-m) wrote :

Hi,

I didn't add the CREATE_INSTANCE_FLAVOR_SORT setting to the documentation page because it seemed a little out of place. It is such a minor config setting.

Please let me know if you think differently.

Thanks :)

Revision history for this message
Julie Pichon (jpichon) wrote :

Personally I'd love to have an exhaustive list of settings I can point people to (cf. bug 1221115), rather than have some settings defined only in local_settings.py.example, other in the docs, and other nowhere except in the code. I think it's confusing and makes neat features less discoverable. Please consider adding it :) Thank you!

(...of course we'll definitely need to improve the layout of the settings page at some point, to avoid overwhelming people!)

Revision history for this message
Cindy Lu (clu-m) wrote :

Thank you for linking me to that bug, Julie. Will do. :)

Revision history for this message
Cindy Lu (clu-m) wrote :

Also, do you know how to generate the settings.html so that I can double check the things are okay? I tried to use the sphinx-build command to no avail. Thanks!

Revision history for this message
Julie Pichon (jpichon) wrote :

@clu-m: Thanks! I normally use `./run_tests.sh --docs` to generate the documentation. If that doesn't work feel free to pop on #openstack-horizon on IRC so we can try and debug it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/73095
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=19eac27aa62e087d7bb5e9eb3d0220a003693f08
Submitter: Jenkins
Branch: master

commit 19eac27aa62e087d7bb5e9eb3d0220a003693f08
Author: Cindy Lu <email address hidden>
Date: Mon Feb 24 14:45:28 2014 -0800

    sort flavors on Resize Instance modal

    in the new flavor dropdown menu, it is sorted by id right now,
    changed so that it matches that in create instance, sorted
     by ascending RAM usage

    I refactored out the common flavor sorting code into instances/util.py
    that is shared by create_instance and resize_instance

    Change-Id: I40dedcf87dbcfb7128185445510d9ec96462abb2
    Closes-Bug: #1279135

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.