** Description changed:
Getting the following error with 1:0.3.2-0ubuntu1~cloud0 (havana cloud
archive)
Note this was fixed upstream a while ago.
2013-11-13 09:37:49.827 14452 INFO glance.wsgi.server [-] Traceback (most
recent call last):
File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 384, in
handle_one_response
result = self.application(self.environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 362, in
__call__
response = req.get_response(self.application)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
application, catch_exc_info=False)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in
call_application
app_iter = application(self.environ, start_response)
File
"/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
line 535, in __call__
token_info = self._validate_user_token(user_token)
File
"/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
line 791, in _validate_user_token
self._cache_store_invalid(user_token)
File
"/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
line 1044, in _cache_store_invalid
self._cache_store(token, 'invalid')
File
"/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
line 1007, in _cache_store
time=self.token_cache_time)
File "/usr/lib/python2.7/dist-packages/memcache.py", line 565, in set
return self._set("set", key, val, time, min_compress_len)
File "/usr/lib/python2.7/dist-packages/memcache.py", line 772, in _set
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
+
+ [Impact]
+ Invalid PKI tokens are cached in memcache using the entire token as
+ key. This triggers the familiar memcache key length error since a
+ PKI token is much longer than 250 characters.
+
+ [Test Case]
+ << to be confirmed >>
+ 1. Install keystone, configure it to use PKI authentication
+ 2. When keystone interacts with other components, no exceptions should be
triggered.
+
+ [Regression potential]
+ Minimal. Fix has been pushes upstream and tested, and only affects the PKI
case of keystone.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250654
Title:
memcache key length error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keystoneclient/+bug/1250654/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs