glance image-list should sort on name, not UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Low
|
Brian Waldon |
Bug Description
Look at the output of the following command
$ glance image-list
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| 2f199e99-
| 41152594-
| 54932597-
| 6faf19bb-
| 9474c929-
| a13223fe-
| c7251cc3-
| ca1bb9f9-
+------
Notice how it has sorted the images based on the "ID" column UUID strings. This is incredibly unhelpful for humans, effectively equivalent to no sorting at all, since UUIDs are randomly generated strings. It should be sorting the images based on the 'Name' column. While not a huge issue when you have < 10 images, if you have 100's of images registered the current sorting makes the command practically unusable
Changed in python-glanceclient: | |
assignee: | nobody → Brian Waldon (bcwaldon) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in python-glanceclient: | |
milestone: | none → v0.7.0 |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
I can't decide if the most useful sort is by name, or by creation date (showing newest/oldest images first). As consumers of the CLI tool, what would be most useful to see at the top of the list?