Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

GET info from the nova service = 404

Hi OpenStackers,

Here is a trace of a command: nova list

nova --debug list connect: (, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost:\r\nContent-Length: 100\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": "main", "passwordCredentials": {"username": "admin", "password": "mypass"}}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json header: Vary: X-Auth-Token header: Date: Mon, 09 Apr 2012 23:59:45 GMT header: Transfer-Encoding: chunked connect: (, 8774) send: u'GET /v2/servers/detail HTTP/1.1\r\nHost:\r\nx-auth-project-id: main\r\nx-auth-token: 2eac3b667741445c8776d7acfdcf72e4\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n' reply: 'HTTP/1.1 404 Not Found\r\n' header: Content-Length: 52 header: Content-Type: text/plain; charset=UTF-8 header: Date: Mon, 09 Apr 2012 23:59:45 GMT DEBUG (shell:416) n/a (HTTP 404) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/novaclient/", line 413, in main OpenStackComputeShell().main(sys.argv[1:]) File "/usr/lib/python2.7/dist-packages/novaclient/", line 364, in main args.func(self.cs, args) File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/", line 520, in do_list utils.print_list(cs.servers.list(search_opts=search_opts), columns, File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/", line 279, in list return self._list("/servers%s%s" % (detail, query_string), "servers") File "/usr/lib/python2.7/dist-packages/novaclient/", line 71, in _list resp, body = self.api.client.get(url) File "/usr/lib/python2.7/dist-packages/novaclient/", line 136, in get return self._cs_request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/", line 124, in _cs_request *kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/", line 107, in request raise exceptions.from_response(resp, body) NotFound: n/a (HTTP 404) ERROR: n/a (HTTP 404)

I am under Precise, I installed Essex with the packages (2012.1-0ubuntu1) and i followed the instructions:

Atm, all the nova services are running ( I can restart them, no problem on that side), keystone and glance-api/registry are also running fine.

Let me know if you have any thoughts on this issue.

Thanks a lot. Warik