[Openstack] [Keystone] [Nova] server list fails
Nguyen, Liem Manh
liem_m_nguyen at hp.com
Mon Aug 22 21:37:41 UTC 2011
FYI... I got it working by updating Nova bits to trunk. I was using an older version of Nova.
Cheers,
Liem
From: openstack-bounces+liem_m_nguyen=hp.com at lists.launchpad.net [mailto:openstack-bounces+liem_m_nguyen=hp.com at lists.launchpad.net] On Behalf Of Nguyen, Liem Manh
Sent: Monday, August 22, 2011 1:16 PM
To: openstack at lists.launchpad.net
Subject: [Openstack] [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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110822/74484cd1/attachment.html>
More information about the Openstack
mailing list