Bug 1292734 - When sorting by instance size, it's not sorted the right way
Summary: When sorting by instance size, it's not sorted the right way
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Radomir Dopieralski
QA Contact: Ola Pavlenko
URL:
Whiteboard:
Depends On: 1262107
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-18 08:47 UTC by Matthias Runge
Modified: 2023-02-22 23:02 UTC (History)
7 users (show)

Fixed In Version: python-django-horizon-2015.1.3-1.el7ost
Doc Type: Bug Fix
Doc Text:
Cause: Sorting of flavors doesn't make sense Consequence: Fix: Sorting was removed from flavor column Result: Horizon does not provide the false claim any more, that sorting by flavor makes any sense.
Clone Of: 1262107
Environment:
Last Closed: 2017-06-29 14:11:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1518893 0 None None None 2015-12-18 08:47:04 UTC

Comment 1 Matthias Runge 2016-06-14 07:31:12 UTC
According to our records, this has already been shipped.

Comment 2 Lon Hohberger 2016-06-23 18:20:59 UTC
According to our records, this should be resolved by python-django-horizon-2015.1.4-1.el7ost.  This build is available now.

Comment 4 Ido Ovadia 2016-07-26 15:32:56 UTC
Failed QA
=========
Failed on: python-django-horizon-2015.1.4-1.el7ost.noarch

How Reproduced:
===============
1. Create many instances of different size (flavors)
2. Go to (http://public_vip/dashboard/project/instances/)
3. Play with the "Size" column sorting until you notice the sorting failure

Actual results:
===============
Instances don't sort, it seems that the sorting is missing on this column 

Expected results:
=================
Instances sort by size

==============================================
Test 2:
=======
1. Create many instances of different size (flavors)
2. Go to (http://public_vip/dashboard/admin/instances/)
3. Play with the "Size" column sorting until you notice the sorting failure

Actual results:
===============
m1.tiny
m1.tiny
m1.tiny
m1.medium
m1.small

Expected results:
=================
m1.tiny
m1.tiny
m1.tiny
m1.small
m1.medium

Comment 5 Matthias Runge 2016-07-27 06:39:07 UTC
That's actually the issue with this bug.

No sorting makes sense here, there are way too many variables (cpu, ram, disk, ...)
It shouldn't be sortable. if it is, that's actually the bug.

In my tests, in projects/instances, the size attribute is not sortable.

Comment 6 Beth White 2017-06-29 14:11:22 UTC
As above comment, the flavor column is not sortable due to the number of variables involved. This table does not have a size column.


Note You need to log in before you can comment on or make changes to this bug.