2014-04-22 17:59:29 |
Diane Fleming |
description |
The cinder list versions API call works fine for JSON:
curl -i http://23.253.228.211:8776/ -H "Accept: application/json" -H "X-Auth-Token: $token"
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-04T11:33:21Z", "id": "v1.0", "links": [{"href": "http://23.253.228.211:8776/v1/", "rel": "self"}]}, {"status": "CURRENT", "updated": "2012-11-21T11:33:21Z", "id": "v2.0", "links": [{"href": "http://23.253.228.211:8776/v2/", "rel": "self"}]}]}
However, the same call with XML fails:
curl -i http://23.253.228.211:8776/.xml -H "Accept: application/xml" -H "X-Auth-Token: $token"
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://docs.openstack.org/volume/api/v1"><message>The server has either erred or is incapable of performing the requested operation.</message></computeFault> |
The cinder list versions API call works fine for JSON:
curl -i http://23.253.228.211:8776/ -H "Accept: application/json" -H "X-Auth-Token: $token"
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-04T11:33:21Z", "id": "v1.0", "links": [{"href": "http://23.253.228.211:8776/v1/", "rel": "self"}]}, {"status": "CURRENT", "updated": "2012-11-21T11:33:21Z", "id": "v2.0", "links": [{"href": "http://23.253.228.211:8776/v2/", "rel": "self"}]}]}
However, the same call with XML fails:
curl -i http://23.253.228.211:8776/.xml -H "Accept: application/xml" -H "X-Auth-Token: $token"
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://docs.openstack.org/volume/api/v1"><message>The server has either erred or is incapable of performing the requested operation.</message></computeFault>
Additionally, the XML call to show v1 details fails:
curl -i http://23.253.228.211:8776/v1/.xml -H "Accept: application/xml" -H "X-Auth-Token:$token"
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-Request-Id: req-9ff05fb1-0b20-4cb7-a60f-8d956ec81dd9
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://23.253.228.211:8776/v2/.xml -H "Accept: application/xml" -H "X-Auth-Token: $token"
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-Request-Id: req-9f96a04b-dc35-4ceb-bb53-ab6ade803075
Date: Tue, 22 Apr 2014 17:58:52 GMT
404 Not Found
The resource could not be found. |
|
2014-04-22 18:02:30 |
Diane Fleming |
description |
The cinder list versions API call works fine for JSON:
curl -i http://23.253.228.211:8776/ -H "Accept: application/json" -H "X-Auth-Token: $token"
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-04T11:33:21Z", "id": "v1.0", "links": [{"href": "http://23.253.228.211:8776/v1/", "rel": "self"}]}, {"status": "CURRENT", "updated": "2012-11-21T11:33:21Z", "id": "v2.0", "links": [{"href": "http://23.253.228.211:8776/v2/", "rel": "self"}]}]}
However, the same call with XML fails:
curl -i http://23.253.228.211:8776/.xml -H "Accept: application/xml" -H "X-Auth-Token: $token"
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://docs.openstack.org/volume/api/v1"><message>The server has either erred or is incapable of performing the requested operation.</message></computeFault>
Additionally, the XML call to show v1 details fails:
curl -i http://23.253.228.211:8776/v1/.xml -H "Accept: application/xml" -H "X-Auth-Token:$token"
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-Request-Id: req-9ff05fb1-0b20-4cb7-a60f-8d956ec81dd9
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://23.253.228.211:8776/v2/.xml -H "Accept: application/xml" -H "X-Auth-Token: $token"
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-Request-Id: req-9f96a04b-dc35-4ceb-bb53-ab6ade803075
Date: Tue, 22 Apr 2014 17:58:52 GMT
404 Not Found
The resource could not be found. |
The cinder list versions API call works fine for JSON:
curl -i http://23.253.228.211:8776/ -H "Accept: application/json" -H "X-Auth-Token: $token"
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-04T11:33:21Z", "id": "v1.0", "links": [{"href": "http://23.253.228.211:8776/v1/", "rel": "self"}]}, {"status": "CURRENT", "updated": "2012-11-21T11:33:21Z", "id": "v2.0", "links": [{"href": "http://23.253.228.211:8776/v2/", "rel": "self"}]}]}
However, the same call with XML fails:
curl -i http://23.253.228.211:8776/.xml -H "Accept: application/xml" -H "X-Auth-Token: $token"
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://docs.openstack.org/volume/api/v1"><message>The server has either erred or is incapable of performing the requested operation.</message></computeFault>
Additionally, the XML call to show v1 details fails:
curl -i http://23.253.228.211:8776/v1/.xml -H "Accept: application/xml" -H "X-Auth-Token:$token"
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-Request-Id: req-9ff05fb1-0b20-4cb7-a60f-8d956ec81dd9
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://23.253.228.211:8776/v2/.xml -H "Accept: application/xml" -H "X-Auth-Token: $token"
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Openstack-Request-Id: req-9f96a04b-dc35-4ceb-bb53-ab6ade803075
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://23.253.228.211:8776/v2/ -H "Accept: application/json" -H "X-Auth-Token: $token"
{
"version":{
"status":"CURRENT",
"updated":"2012-01-04T11:33:21Z",
"media-types":[
{
"base":"application/xml",
"type":"application/vnd.openstack.volume+xml;version=1"
},
{
"base":"application/json",
"type":"application/vnd.openstack.volume+json;version=1"
}
],
"id":"v1.0",
"links":[
{
"href":"http://23.253.228.211:8776/v2/",
"rel":"self"
},
{
"href":"http://jorgew.github.com/block-storage-api/content/os-block-storage-1.0.pdf",
"type":"application/pdf",
"rel":"describedby"
},
{
"href":"http://docs.rackspacecloud.com/servers/api/v1.1/application.wadl",
"type":"application/vnd.sun.wadl+xml",
"rel":"describedby"
}
]
}
} |
|