Add datastore version to trove list (trove-api)

Bug #1279022 reported by Michael Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Michael Yu

Bug Description

Currently, trove list api call only includes "type" for the "datastore" field.

If I want to get the datastore version for all of my instances, I would need to call trove list, then call trove show for each instance.

The purpose of this bug is to add "version" for the "datastore" field for trove list api call.

The fix for this bug is for trove-api project.

[Tue Feb 11 00:41:14 2014] [error] "GET /v1.0/a8f1548a9b3747fe8c867102f2dcef75/instances?limit=20 HTTP/1.1" 200 616
[Tue Feb 11 00:41:14 2014] [error] RESP: [200] CaseInsensitiveDict({'date': 'Tue, 11 Feb 2014 00:41:14 GMT', 'content-length': '616', 'content-type': 'application/json'})
[Tue Feb 11 00:41:14 2014] [error] RESP BODY: {"instances": [{"status": "ACTIVE", "name": "hi1", "links": [{"href": "https://10.65.251.167:8779/v1.0/a8f1548a9b3747fe8c867102f2dcef75/instances/b17c5a5b-8feb-4797-b220-91aa0469f2db", "rel": "self"}, {"href": "https://10.65.251.167:8779/instances/b17c5a5b-8feb-4797-b220-91aa0469f2db", "rel": "bookmark"}], "id": "b17c5a5b-8feb-4797-b220-91aa0469f2db", "volume": {"size": 1}, "flavor": {"id": "2", "links": [{"href": "https://10.65.251.167:8779/v1.0/a8f1548a9b3747fe8c867102f2dcef75/flavors/2", "rel": "self"}, {"href": "https://10.65.251.167:8779/flavors/2", "rel": "bookmark"}]}, "datastore": {"type": "mysql"}}]}

Michael Yu (michayu-c)
Changed in trove:
assignee: nobody → Michael Yu (michayu-c)
status: New → In Progress
Michael Yu (michayu-c)
description: updated
Michael Yu (michayu-c)
summary: - Add datastore version to trove list api call
+ Add datastore version to trove list (API)
description: updated
description: updated
Revision history for this message
Michael Yu (michayu-c) wrote : Re: Add datastore version to trove list (API)
Michael Yu (michayu-c)
description: updated
summary: - Add datastore version to trove list (API)
+ Add datastore version to trove list (trove-api)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
milestone: none → icehouse-rc1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/74487
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=10ee0e8309f94ef640ddbe08d7e25bacf654b638
Submitter: Jenkins
Branch: master

commit 10ee0e8309f94ef640ddbe08d7e25bacf654b638
Author: Michael Yu <email address hidden>
Date: Thu Feb 13 14:09:09 2014 -0800

    Adding "version" to "datastore" field during list instances API call

    Closes-Bug: #1279022

    Change-Id: I738e37f227ac7d441dda41b48ede661aceada8fd

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: icehouse-rc1 → 2014.1
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.