cinder: List API versions does not accept XML
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Juan Manuel Ollé |
Bug Description
The cinder list versions API call works fine for JSON:
curl -i http://
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 298
Date: Tue, 22 Apr 2014 17:35:12 GMT
{"versions": [{"status": "CURRENT", "updated": "2012-01-
However, the same call with XML fails:
curl -i http://
HTTP/1.1 500 Internal Server Error
Content-Length: 189
Content-Type: application/xml; charset=UTF-8
Date: Tue, 22 Apr 2014 17:37:09 GMT
<computeFault code="500" xmlns="http://
Additionally, the XML call to show v1 details fails:
curl -i http://
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-
Date: Tue, 22 Apr 2014 17:49:59 GMT
404 Not Found
The resource could not be found.
Call for XML to show v2 details fails:
curl -i http://
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-
Date: Tue, 22 Apr 2014 17:58:52 GMT
404 Not Found
The resource could not be found.
Also, the JSON call for show cinder v2 details seems to show cinder v1:
curl -i http://
{
"version":{
"
"
"
{
},
{
}
],
"id":"v1.0",
"links":[
{
},
{
},
{
}
]
}
}
description: | updated |
description: | updated |
tags: | added: api |
Changed in cinder: | |
assignee: | nobody → Juan Manuel Ollé (juan-m-olle) |
tags: | added: icehouse-backport-potential |
Changed in cinder: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/91442
Review: https:/