Volume metadata does not exist in v2 API

Bug #1227979 reported by Mike Perez on 2013-09-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mike Perez

Bug Description

When trying to GET or POST metadata to a volume with v2 API, it doesn't work, because it doesn't exist. This exists for v1, so we should add to v2 as well.

$ http GET http://localhost:8776/v2/e712b7d064dc40f4aaa08241eff3680c/volumes/165235aa-41c9-4b34-a0eb-524fe25102d8/metadata X-Auth-Token:'964df4a8702a4c61910df9ae11f8807e'
HTTP/1.1 404 Not Found
Content-Length: 154
Content-Type: text/html; charset=UTF-8
Date: Fri, 20 Sep 2013 04:32:18 GMT

  <title>404 Not Found</title>
  <h1>404 Not Found</h1>
  The resource could not be found.<br /><br />


Tags: api Edit Tag help

Reviewed: https://review.openstack.org/47521
Committed: http://github.com/openstack/cinder/commit/4e3fa390b13d7c0509e72f43c4cf24ca1a6bd14d
Submitter: Jenkins
Branch: master

commit 4e3fa390b13d7c0509e72f43c4cf24ca1a6bd14d
Author: Mike Perez <email address hidden>
Date: Tue Sep 17 02:41:59 2013 -0700

    Add volume metadata to v2

    This exposes volume metadata in the Cinder v2 API. This already exists
    in v1 and was originally suppose to exist back with Grizzly, but appears
    to have slipped.

    Closes-Bug: #1227979
    Change-Id: I512dad591d7d491eca54a230d3cc290d9a349e6f

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-10-04
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers