trove show does not show correct output when instance name is used
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-troveclient |
Fix Committed
|
Low
|
Greg Lucas | ||
Bug Description
trove show API can be used with instance ID or instance name, but the output shown is different for these options
$ trove list
+------
| ID | Name | Datastore | Datastore Version | Status | Flavor ID | Size |
+------
| 77dd24cc-
| c2dc18df-
+------
$ trove show 77dd24cc-
+------
| Property | Value |
+------
| created | 2014-05-08T09:15:20 |
| datastore | mysql |
| datastore_version | 5.5 |
| flavor | 6 |
| id | 77dd24cc-
| ip | 10.0.0.2 |
| name | test_vm_
| status | ACTIVE |
| updated | 2014-05-08T09:15:26 |
| volume | 2 |
| volume_used | 0.17 |
+------
$ trove show test_vm_
+------
| Property | Value |
+------
| created | 2014-05-08T09:15:20 |
| datastore | mysql |
| datastore_version | 5.5 |
| flavor | {u'id': u'6', u'links': [{u'href': u'https:/
| id | 77dd24cc-
| ip | 10.0.0.2 |
| name | test_vm_
| status | ACTIVE |
| updated | 2014-05-08T09:15:26 |
| volume | {u'used': 0.17, u'size': 2} |
+------
trove show when used with name shows output in dictionary/json output for flavor/volume
| Changed in python-troveclient: | |
| importance: | Undecided → Low |
| milestone: | none → juno-1 |
| Changed in python-troveclient: | |
| milestone: | juno-1 → juno-3 |
| Changed in python-troveclient: | |
| assignee: | Sushil Kumar (sushil-kumar2) → Greg Lucas (glucas-q) |
| Changed in python-troveclient: | |
| status: | In Progress → Fix Committed |
Fix proposed to branch: master /review. openstack. org/95334
Review: https:/