v2 client sorts on name in wrong direction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Won't Fix
|
Undecided
|
Kairat Kushaev | ||
Glance Client |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The v1 client sorts images by name alphabetically:
$ glance --os-image-
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| 7d1923d7-
| 5e9dc64e-
| 6802e222-
| 7af0d66b-
| dde89c3c-
| 262ac5aa-
| 4cc5b305-
The v2 client sorts in reverse alphabetical:
$ glance --os-image-
+------
| ID | Name |
+------
| b16dbfb2-
| cc658de9-
| 2fa0f342-
| c95a4ee7-
| d75354ed-
| ecc24d0d-
| f3b996a9-
adding the sort dir gives the same result as v1:
$ glance --os-image-
+------
| ID | Name |
+------
| 7d1923d7-
| 5e9dc64e-
| 6802e222-
| 7af0d66b-
| dde89c3c-
| 262ac5aa-
| 4cc5b305-
tags: | added: 1.0.0-potential |
Changed in python-glanceclient: | |
assignee: | nobody → Niall Bunting (niall-bunting) |
Changed in python-glanceclient: | |
assignee: | Niall Bunting (niall-bunting) → nobody |
Changed in glance: | |
assignee: | nobody → Kairat Kushaev (kkushaev) |
status: | Triaged → In Progress |
sorting is also reversed for:
status, id, size
(created_at, updated_at, container_format, disk_format are ok)