Openstack image list should sort on name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Vijendra Soni |
Bug Description
Currently openstack image list display output sorted on the sort_key as 'created_at" argument(taken by default) and sort_dir as desc. For example:
openstack image list
+------
| ID | Name | Status |
+------
| 44a15e58-
| 2c74ff4c-
| 7850eb88-
+------
However glance image-list do it differently. sort_key as 'name' and sort_dir as 'asc'. For example:
glance image-list
+------
| ID | Name |
+------
| 44a15e58-
| 7850eb88-
| 2c74ff4c-
+------
It make more sense to sort the output based on 'name' as it is more human friendly output. So need to change the default sort_key to 'name' and sort_dir to 'asc'
Changed in python-openstackclient: | |
assignee: | nobody → Vijendra Soni (vijendra-soni) |
Changed in python-openstackclient: | |
status: | New → Confirmed |
Changed in python-openstackclient: | |
assignee: | nobody → Vijendra Soni (vijendra-soni) |
Changed in python-openstackclient: | |
status: | New → In Progress |
Dear Reviewers,
I would like to share earlier bug filed in the glance to address the similar issue, this time I am trying to fix the same for openstack client.
URL : https:/ /bugs.launchpad .net/python- glanceclient/ +bug/1081542.
Thanks
Vijendra Soni