Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am adding another comment, I installed DevStack on a different server to test. No surprise, it's working. However, I found something interesting when running: nova --debug nova

nova --debug list connect: (, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost:\r\nContent-Length: 101\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "mypass"}}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json header: Vary: X-Auth-Token header: Content-Length: 2265 header: Date: Tue, 10 Apr 2012 06:01:09 GMT connect: (, 8774) send: u'GET /v2/1a4c8892dc664f9bb48d901cfaa5cf2f/servers/detail HTTP/1.1\r\nHost:\r\nx-auth-project-id: admin\r\nx-auth-token: 4a48baa1eb8f4a609c8e1cafef12a8d5\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: X-Compute-Request-Id: req-0e3cd3d5-d6ce-4474-b846-55cd596a62ca header: Content-Type: application/json header: Content-Length: 15 header: Date: Tue, 10 Apr 2012 06:01:09 GMT +----+------+--------+----------+ | ID | Name | Status | Networks | +----+------+--------+----------+ +----+------+--------+----------+

I noticed the different output form an install to another:

Doesn't work: send: u'GET /v2/servers/detail Work: send: u'GET /v2/1a4c8892dc664f9bb48d901cfaa5cf2f/servers/detail

The working one has the token in the URL. Is that something about the endpoints?