[Openstack-operators] Nova problem

Stephen Broeker sbroeker at internap.com
Wed Jun 15 19:58:04 UTC 2011


The following is a problem that I am having with Nova.


$ nova --username sbroeker --apikey 12345 --url
http://192.168.210.128:8774/v1.0 flavor-list

This server could not verify that you are authorized to access the document
you requested. Either you supplied the wrong credentials (e.g., bad
password), or your browser does not understand how to supply the credentials
required. (HTTP 401)


I used curl to debug this:


curl -v -X GET -H "X-Auth-User: sbroeker" -H "X-Auth-Key: 12345"
http://192.168.210.128:8774/v1.0

* About to connect() to 192.168.210.128 port 8774 (#0)
*   Trying 192.168.210.128... connected
* Connected to 192.168.210.128 (192.168.210.128) port 8774 (#0)
> GET /v1.0 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7
OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
> Host: 192.168.210.128:8774
> Accept: */*
> X-Auth-User: sbroeker
> X-Auth-Key: 12345
>
< HTTP/1.1 204 No Content
< Content-Length: 0
< X-Auth-Token: e2776be2a56713a5bf0cdb2e23e2cf91a26c73c3
< X-Server-Management-Url: http://192.168.210.128:8774/v1.0
< X-Storage-Url:
< X-Cdn-Management-Url:
< Content-Type: text/plain; charset=UTF-8
< Date: Wed, 15 Jun 2011 19:51:53 GMT
<
* Connection #0 to host 192.168.210.128 left intact
* Closing connection #0


Looks like the Response Header X-Server-Management-Url is not being
completely filled in.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110615/ecf451d3/attachment.html>


More information about the Openstack-operators mailing list