OSAPI: image metadata item improperly presented
Bug #800889 reported by
Brian Waldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Brian Waldon |
Bug Description
Individual metadata items aren't formatted correctly. With the metadata item (key1, value1), a GET /images/
{"key1": "value1"}
The spec says it should be wrapped in another dict with a single 'meta' key:
{"meta": {"key1": "value1"}}
Related branches
lp:~rackspace-titan/nova/images-metadata-item-lp800889
- Brian Lamar (community): Approve
- Devin Carlen (community): Approve
-
Diff: 111 lines (+31/-12)2 files modifiednova/api/openstack/image_metadata.py (+11/-4)
nova/tests/api/openstack/test_image_metadata.py (+20/-8)
Changed in nova: | |
assignee: | nobody → Brian Waldon (bcwaldon) |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-2 |
Changed in nova: | |
milestone: | diablo-2 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.