openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #03635
[Keystone] [Nova] server list fails
Hello Stackers,
I tried to run Nova with Keystone (populated with sampledata.sh), using the nova-api-paste.ini from Keystone. Everything seems fine, but when I tried to get a list of servers:
curl -v -H 'X-Auth-Token: 887665443383838' http://127.0.0.1:8774/v1.0/servers
I received:
nova.api.openstack): TRACE: Traceback (most recent call last):
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/nova/api/openstack/__init__.py", line 60, in __call__
(nova.api.openstack): TRACE: return req.get_response(self.application)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/request.py", line 919, in get_response
(nova.api.openstack): TRACE: application, catch_exc_info=False)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/request.py", line 887, in call_application
(nova.api.openstack): TRACE: app_iter = application(self.environ, start_response)
(nova.api.openstack): TRACE: File "/root/keystone/keystone/middleware/auth_token.py", line 186, in __call__
(nova.api.openstack): TRACE: return self._forward_request(env, start_response, proxy_headers)
(nova.api.openstack): TRACE: File "/root/keystone/keystone/middleware/auth_token.py", line 310, in _forward_request
(nova.api.openstack): TRACE: return self.app(env, start_response)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 147, in __call__
(nova.api.openstack): TRACE: resp = self.call_func(req, *args, **self.kwargs)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 208, in call_func
(nova.api.openstack): TRACE: return self.func(req, *args, **kwargs)
(nova.api.openstack): TRACE: File "/root/keystone/keystone/middleware/nova_auth_token.py", line 96, in __call__
(nova.api.openstack): TRACE: auth_token=auth_token)
(nova.api.openstack): TRACE: TypeError: __init__() got an unexpected keyword argument 'auth_token'
Keystone seems to auth fine, though. Any idea?
Thanks,
Liem
Follow ups