can't update volume meta-data
Bug #1046382 reported by
clayg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
James King |
Bug Description
Volumes can support arbitrary meta-data which can be set on create, but the current api does not expose a means to update the values or keys.
Changed in cinder: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cinder: | |
assignee: | nobody → James King (jking-6) |
status: | Confirmed → In Progress |
Changed in cinder: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | grizzly-1 → 2013.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/14772 github. com/openstack/ cinder/ commit/ 9fe4477f9b1f4e8 25941cb1ce42ced 1a1a862b33
Committed: http://
Submitter: Jenkins
Branch: master
commit 9fe4477f9b1f4e8 25941cb1ce42ced 1a1a862b33
Author: jking-6 <email address hidden>
Date: Wed Oct 24 13:15:03 2012 -0400
Allow the user to update a volume's metadata
The fix mainly involves updating the VolumeController's update method
to allow the 'metadata' key to be a valid key in a request body.
The _translate_ volume_ summary_ view method is updated to check for a metadata' . This is to avoid making a third call to the
'metadata' key in the vol parameter after checking first for
'volume_
database after updating the volume model. This solution introduces
the least amount of new code.
Change-Id: I41256d03f9c4c7 a0866ff0f2d35fc e8e4fd26b11
Fixes: bug #1046382