Volume creation 201 API response does not include a Location header
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Eoghan Glynn |
Bug Description
(This is with commit 5f45ead of nova, which is the master branch some time post folsom-2)
When creating a volume, the response is a 200 OK not a 201 Created
201 Created seems to make sense and would be nice because it would include a Location header
$> nova --debug volume-create 1
...
connect: (192.168.122.209, 8776)
send: u'POST /v1/4f54f86f521
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 294
header: Date: Thu, 19 Jul 2012 12:52:30 GMT
REQ: curl -i http://
REQ BODY: {"volume": {"snapshot_id": null, "display_name": null, "volume_type": null, "display_
RESP:{'date': 'Thu, 19 Jul 2012 12:52:30 GMT', 'status': '200', 'x-compute-
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → folsom-3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/10047
Review: https:/