Volume Types API doesn't return data correctly
Bug #934435 reported by
Chuck Thier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Brian Waldon |
Bug Description
The Volume Types API doesn't return data in a way that is consistent with the rest of the OpenStack APIs.
For example when you get a listing, you should get something like:
{"volume_types": [{"id": "1", "name": "vtype"},...]}
But instead you get something like this:
{"vtype": {"id": "1", "name": "vtype"}, ....}
This needs to be corrected so that the volume API is consistent for all of the volume type api calls
Changed in nova: | |
assignee: | nobody → Brian Waldon (bcwaldon) |
importance: | Undecided → High |
milestone: | none → essex-4 |
status: | New → In Progress |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
After inspecting a bit more, it looks like only the listing of volume types isn't correctly formatted. Getting a specific volume type, and creating return the data correctly.