yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02467
[Bug 1119641] Re: PKI support breaks memcache token backend
If it does it is a different problem. This was an error storing tokens
and was specific to the memcached backend.
** Changed in: python-keystoneclient
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1119641
Title:
PKI support breaks memcache token backend
Status in OpenStack Identity (Keystone):
Fix Committed
Status in Keystone grizzly series:
Fix Released
Status in Python client library for Keystone:
Invalid
Bug description:
When using PKI support, the memcache backend breaks. It appears to be
attempting to place the entire token as the key?
(root): 2013-02-08 01:14:03,404 ERROR wsgi __call__ Key length is > 250
Traceback (most recent call last):
File "/opt/stack/keystone/keystone/common/wsgi.py", line 228, in __call__
result = method(context, **params)
File "/opt/stack/keystone/keystone/token/controllers.py", line 470, in validate_token
token_ref = self._get_token_ref(context, token_id, belongs_to)
File "/opt/stack/keystone/keystone/token/controllers.py", line 432, in _get_token_ref
self.assert_admin(context)
File "/opt/stack/keystone/keystone/common/wsgi.py", line 261, in assert_admin
context=context, token_id=context['token_id'])
File "/opt/stack/keystone/keystone/common/manager.py", line 47, in _wrapper
return f(*args, **kw)
File "/opt/stack/keystone/keystone/token/backends/memcache.py", line 58, in get_token
token = self.client.get(ptk)
File "/usr/lib/python2.7/dist-packages/memcache.py", line 862, in get
return self._get('get', key)
File "/usr/lib/python2.7/dist-packages/memcache.py", line 813, in _get
self.check_key(key)
File "/usr/lib/python2.7/dist-packages/memcache.py", line 1023, in check_key
% self.server_max_key_length)
MemcachedKeyLengthError: Key length is > 250
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1119641/+subscriptions