flavor-show fails if the flavor's ID is in the form of UUID

Bug #1467383 reported by Masaki Matsushita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-troveclient
Fix Released
Undecided
Masaki Matsushita

Bug Description

flavor-show fails if the flavor's ID is in the form of UUID.

% trove flavor-list
+--------------------------------------+-----------+-------+
| ID | Name | RAM |
+--------------------------------------+-----------+-------+
| 1 | m1.tiny | 512 |
| 3 | m1.medium | 4096 |
| 4 | m1.large | 8192 |
| 5 | m1.xlarge | 16384 |
| 42 | m1.nano | 64 |
| 84 | m1.micro | 128 |
| 451 | m1.heat | 512 |
| 07f7b6af-4e3a-4a3f-a93e-ca61ea539f18 | m1.small | 2048 |
+----------------------------------

% trove flavor-show m1.small
ERROR: No flavor with a name or ID of 'm1.small' exists.

Changed in python-troveclient:
assignee: nobody → Masaki Matsushita (mmasaki)
status: New → In Progress
Revision history for this message
Sushil Kumar (sushil-kumar2) wrote :

It needs to be specified that when "trove flavor-show" is used with name in case of if the flavor's ID is in the form of UUID, it fails.
It works when using the ID.

Revision history for this message
Masaki Matsushita (mmasaki) wrote :
Changed in python-troveclient:
status: In Progress → Fix Committed
Changed in python-troveclient:
milestone: none → 1.3.0
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-troveclient 1.3.0

This issue was fixed in the openstack/python-troveclient 1.3.0 release.

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.