Comment 2 for bug 1567376

Revision history for this message
Sheel Rana (ranasheel2000) wrote :

After fixing in cinder, output will be shown as below:

sheel@sheel:~/devstack$ curl -i -H "X-Auth-Token:b33203267aec4094b3f94e61b96b3375" -H "Content-type: application/f270b245cb11498ca4031deb7e141cfa/types/fce61d0d-b2d3-4998-aa5c-58002ace8413/action -X POST -d '{"addProjectAccess": {"project": "f270b245cb11498ca4031deb7e141cfa"}}'

HTTP/1.1 202 Accepted
X-Compute-Request-Id: req-cd381630-b96c-4598-ae18-e6b7d88ebb2e
Content-Type: application/json
Content-Length: 72
X-Openstack-Request-Id: req-cd381630-b96c-4598-ae18-e6b7d88ebb2e
Date: Fri, 08 Apr 2016 08:32:01 GMT

{"volume_type_id": 42, "project_id": "f270b245cb11498ca4031deb7e141cfa"}