'Revoke' object has no attribute 'get_token'

asked 2015-05-18 16:36:51 -0500

lhinds gravatar image

Hi,

I am following the kilo installation guide here:

http://docs.openstack.org/draft/insta...

Everything up until this point has worked. (openstack service create, openstack project create, openstack user create etc)

I am now at:

openstack --os-auth-url http://controller:35357 \
  --os-project-name admin --os-username admin --os-auth-type password \
  token issue

This returns:

ERROR: openstack The request you have made requires authentication. (HTTP 401) (Request-ID: req-a9560261-1ee1-4da5-a0e3-6aaa9174505b)

Looking at keystone.log, I got the following stack trace:

2015-05-18 23:30:40.250 5493 INFO keystone.common.wsgi [-] GET /?

2015-05-18 23:30:40.255 5493 INFO keystone.common.wsgi [-] POST /tokens?
2015-05-18 23:30:40.334 5493 ERROR keystone.common.wsgi [-] 'Revoke' object has no attribute 'get_token'
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi Traceback (most recent call last):
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 239, in __call__
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     result = method(context, **params)
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/controllers.py", line 145, in authenticate
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     auth_token_data, roles_ref=roles_ref, catalog_ref=catalog_ref)
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/provider.py", line 333, in issue_v2_token
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     self._create_token(token_id, data)
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/provider.py", line 190, in _create_token
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     self._persistence.get_token(token_id)
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/persistence/core.py", line 66, in get_token
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     token_ref = self._get_token(unique_id)
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 1040, in decorate
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     should_cache_fn)
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 651, in get_or_create
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     async_creator) as value:
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 158, in __enter__
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     return self._enter()
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 98, in _enter
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi     generated = self._enter_create(createdtime)
2015-05-18 23:30:40.334 5493 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line 149, in _enter_create
2015-05-18 23:30:40.334 5493 TRACE keystone.common ...
(more)
edit retag flag offensive close merge delete

Comments

I got exactly same error.i still stuck in this.Have you fixed this problem yet? p/s: sorry about my English,it's bad.Thanks for your help!

ntk148v gravatar imagentk148v ( 2015-08-05 01:52:49 -0500 )edit