2011-09-16 19:42:45 |
Anne Gentle |
description |
When I try to get responses in XML from extensions (specifically os_keypairs) I get an error.
curl -D - -H "X-Auth-Token: 999888777666" -H "Accept: application/xml" -G http://50.56.12.212:8774/v1.1/admin/os-keypairs
HTTP/1.1 500 Internal Server Error
Content-Length: 153
Content-Type: application/xml; charset=UTF-8
Date: Fri, 16 Sep 2011 19:31:53 GMT
<cloudServersFault code="500" xmlns="http://docs.openstack.org/compute/api/v1.1">
<message>
'extensions'
</message>
</cloudServersFault>
also tried it with os_keypairs.xml with the same results. |
When I try to get responses in XML from extensions (specifically os_keypairs) I get an error.
curl -D - -H "X-Auth-Token: 999888777666" -H "Accept: application/xml" -G http://50.56.12.212:8774/v1.1/admin/os-keypairs
HTTP/1.1 500 Internal Server Error
Content-Length: 153
Content-Type: application/xml; charset=UTF-8
Date: Fri, 16 Sep 2011 19:31:53 GMT
<cloudServersFault code="500" xmlns="http://docs.openstack.org/compute/api/v1.1">
<message>
'extensions'
</message>
</cloudServersFault>
also tried it with os_keypairs.xml with the same results.
Doing the same thing on /servers/ works.
curl -v 'http://dev2.rcb.me:8774/v1.1/admin/servers' -H 'X-Auth-Token: 999888777666' -H 'Accept: application/xml'
* About to connect() to dev2.rcb.me port 8774 (#0)
* Trying 50.56.12.212... connected
* Connected to dev2.rcb.me (50.56.12.212) port 8774 (#0)
> GET /v1.1/admin/servers HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
> Host: dev2.rcb.me:8774
> X-Auth-Token: 999888777666
> Accept: application/xml
>
< HTTP/1.1 200 OK
< Content-Type: application/xml
< Content-Length: 1425
< Date: Fri, 16 Sep 2011 19:34:55 GMT
<
<servers xmlns="http://docs.openstack.org/compute/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom">
<server id="47" name="dt-qcow2">
<atom:link href="http://dev2.rcb.me:8774/v1.1/admin/servers/47" rel="self"/>
<atom:link href="http://dev2.rcb.me:8774/admin/servers/47" rel="bookmark"/>
</server>
<server id="46" name="dt-vmdk">
<atom:link href="http://dev2.rcb.me:8774/v1.1/admin/servers/46" rel="self"/>
<atom:link href="http://dev2.rcb.me:8774/admin/servers/46" rel="bookmark"/>
</server>
<server id="42" name="jakedevstack">
<atom:link href="http://dev2.rcb.me:8774/v1.1/admin/servers/42" rel="self"/>
<atom:link href="http://dev2.rcb.me:8774/admin/servers/42" rel="bookmark"/>
</server>
<server id="41" name="test">
<atom:link href="http://dev2.rcb.me:8774/v1.1/admin/servers/41" rel="self"/>
<atom:link href="http://dev2.rcb.me:8774/admin/servers/41" rel="bookmark"/>
</server>
<server id="40" name="somkinda">
<atom:link href="http://dev2.rcb.me:8774/v1.1/admin/servers/40" rel="self"/>
<atom:link href="http://dev2.rcb.me:8774/admin/servers/40" rel="bookmark"/>
</server>
<server id="39" name="x">
<atom:link href="http://dev2.rcb.me:8774/v1.1/admin/servers/39" rel="self"/>
<atom:link href="http://dev2.rcb.me:8774/admin/servers/39" rel="bookmark"/>
</server>
</servers>
* Connection #0 to host dev2.rcb.me left intact
* Closing connection #0 |
|