Fill empty 'Size' section with - when volume support disabled

Bug #1394591 reported by Denis M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Low
Ashleigh Farnham

Bug Description

When volume support is disabled, 'trov list' output shows empty table for 'Size', where 'Size' is responsive for volume size.

+--------------------------------------+------------------+-----------+-------------------+--------+-----------+------+
| ID | Name | Datastore | Datastore Version | Status | Flavor ID | Size |
+--------------------------------------+------------------+-----------+-------------------+--------+-----------+------+
| 276b64a3-923d-41d4-8030-7ff80357d30d | mysql-server-5.5 | mysql | 5.6 | BUILD | 42 | |
| e763651e-bc52-4a40-bf03-6a7b65b333ff | mysql-server-5.5 | mysql | 5.6 | BUILD | 42 | |
+--------------------------------------+------------------+-----------+-------------------+--------+-----------+------+

python-troveclient shell should follow common practices:

'nova list'

+--------------------------------------+------------------+--------+------------+-------------+----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------+--------+------------+-------------+----------------------+
| 3a2d35a0-af28-40f3-99b9-9ae3b87aa372 | mysql-server-5.5 | ERROR | - | NOSTATE | novanetwork=10.0.0.6 |
| 56a0f306-fc23-4d97-9ad1-37715a5fb7a0 | mysql-server-5.5 | ACTIVE | - | Running | novanetwork=10.0.0.5 |
| a5cc227b-946f-40a2-a7ce-66831b5a9716 | testim1 | ACTIVE | - | Running | novanetwork=10.0.0.3 |
+--------------------------------------+------------------+--------+------------+-------------+----------------------+

Task state shows ' - ' if there's no task for instance

Changed in trove:
assignee: nobody → Ashleigh Farnham (ashleigh-farnham)
Revision history for this message
Ashleigh Farnham (ashleighfarnham-deactivatedaccount) wrote :

Hi Denis, I just tried to create a datastore using
trove create nosizename 2
It came back ERROR: Volume size was not specified. (HTTP 400)
How did you get the datastore with no volume information?

Revision history for this message
Denis M. (dmakogon) wrote :

Hi, you should disable volume support for certain datastore and restart Trove.

Changed in trove:
status: New → In Progress
Amrith Kumar (amrith)
Changed in trove:
milestone: none → kilo-3
Changed in trove:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: kilo-3 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-troveclient 1.0.9

This issue was fixed in the openstack/python-troveclient 1.0.9 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.