trove list should be sorted by name not by id

Bug #1525419 reported by Craig Vyvial
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-troveclient
In Progress
Low
Unassigned

Bug Description

when listing instances in the trove cli the instances listed should be sorted lexicographical by Name not by ID.

+--------------------------------------+---------------------------+-----------+-------------------+--------+-----------+------+
| ID | Name | Datastore | Datastore Version | Status | Flavor ID | Size |
+--------------------------------------+---------------------------+-----------+-------------------+--------+-----------+------+
| 09950044-b657-417b-a577-722f38432bd5 | mongo-cluster-rs1-2 | mongodb | 3.0 | ERROR | 7 | 3 |
| 53720be2-9943-4c8e-9151-c5ad9906571a | mongo-cluster-configsvr-3 | mongodb | 3.0 | BUILD | 7 | 3 |
| 72c61a1d-872f-4fc2-ad93-b71e669fffa5 | mongo-cluster-configsvr-2 | mongodb | 3.0 | BUILD | 7 | 3 |
| 7a659087-244d-4b06-a9f2-5a9c1aa3dea1 | mongo-cluster-configsvr-1 | mongodb | 3.0 | BUILD | 7 | 3 |
| bd264a6f-6120-4fd2-b340-68cd3eba8fd0 | mongo-cluster-rs1-3 | mongodb | 3.0 | ERROR | 7 | 3 |
| c383e3cb-9721-43a4-87ac-30508d98782c | mongo-cluster-mongos-1 | mongodb | 3.0 | BUILD | 7 | 3 |
| fc9866dd-c419-4a17-b5a6-39435de72d31 | mongo-cluster-rs1-1 | mongodb | 3.0 | ERROR | 7 | 3 |
+--------------------------------------+---------------------------+-----------+-------------------+--------+-----------+------+

nova makes it look much better by doing this.

+--------------------------------------+---------------------------+--------+------------+-------------+-------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------------------------+--------+------------+-------------+-------------------+
| 9f6146ce-8a6e-4e85-afbb-1d2903a32589 | mongo-cluster-configsvr-1 | ACTIVE | - | Running | private=10.0.0.4 |
| fcc55442-069e-4a87-8352-29a27da55894 | mongo-cluster-configsvr-2 | ACTIVE | - | Running | private=10.0.0.5 |
| f4635882-a21c-4444-bee7-bb93f993ac24 | mongo-cluster-configsvr-3 | ACTIVE | - | Running | private=10.0.0.10 |
| c0666283-c874-4802-bd1e-e43947ab59aa | mongo-cluster-mongos-1 | ACTIVE | - | Running | private=10.0.0.9 |
| a01c0b51-f388-488d-8784-d5a58d836ee8 | mongo-cluster-rs1-1 | ACTIVE | - | Running | private=10.0.0.2 |
| a7b73c37-a181-467c-abf0-e2997cd3de67 | mongo-cluster-rs1-2 | ACTIVE | - | Running | private=10.0.0.7 |
| 3df28bc1-39be-4c00-ae35-2a336e9b54eb | mongo-cluster-rs1-3 | ACTIVE | - | Running | private=10.0.0.3 |
+--------------------------------------+---------------------------+--------+------------+-------------+-------------------+

Craig Vyvial (cp16net)
Changed in python-troveclient:
importance: Undecided → Low
Amit Ghadge (amitg-b14)
Changed in python-troveclient:
assignee: nobody → Amit (amitg-b14)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-troveclient (master)

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

Changed in python-troveclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-troveclient (master)

Change abandoned by Amit (<email address hidden>) on branch: master
Review: https://review.openstack.org/261432

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by amrith (<email address hidden>) on branch: master
Review: https://review.openstack.org/261530
Reason: abandoning for inactivity

Amit Ghadge (amitg-b14)
Changed in python-troveclient:
assignee: Amit Ghadge (amitg-b14) → nobody
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.