yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14908
[Bug 1324861] Re: Pythonclient middleware auth's cache.set() is not expecting time as argument
Fix has to be provided on Blazar side.
** Changed in: keystone
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/1324861
Title:
Pythonclient middleware auth's cache.set() is not expecting time as
argument
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
At the moment, Ironic and Blazar gates are failing because of the recent release of python-keystoneclient-0.9.0 which is raising this kind of trace :
2014-05-30 01:10:13.433 | Traceback (most recent call last):
2014-05-30 01:10:13.434 | File "/home/jenkins/workspace/gate-blazar-python27/climate/tests/api/test_acl.py", line 72, in test_non_admin_with_admin_header
2014-05-30 01:10:13.434 | expect_errors=True)
2014-05-30 01:10:13.434 | File "/home/jenkins/workspace/gate-blazar-python27/climate/tests/api/test_acl.py", line 45, in get_json
2014-05-30 01:10:13.435 | **param)
2014-05-30 01:10:13.435 | File "climate/tests/api/__init__.py", line 212, in get_json
2014-05-30 01:10:13.435 | expect_errors=expect_errors)
2014-05-30 01:10:13.436 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", line 286, in get
2014-05-30 01:10:13.436 | expect_errors=expect_errors)
2014-05-30 01:10:13.436 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", line 569, in do_request
2014-05-30 01:10:13.437 | res = req.get_response(app, catch_exc_info=True)
2014-05-30 01:10:13.437 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/webob/request.py", line 1316, in send
2014-05-30 01:10:13.437 | application, catch_exc_info=True)
2014-05-30 01:10:13.437 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/webob/request.py", line 1284, in call_application
2014-05-30 01:10:13.438 | app_iter = application(self.environ, start_response)
2014-05-30 01:10:13.438 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/webtest/lint.py", line 198, in lint_app
2014-05-30 01:10:13.438 | iterator = application(environ, start_response_wrapper)
2014-05-30 01:10:13.439 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py", line 675, in __call__
2014-05-30 01:10:13.439 | token_info = self._validate_user_token(user_token, env)
2014-05-30 01:10:21.664 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py", line 945, in _validate_user_token
2014-05-30 01:10:21.664 | self._cache_store_invalid(token_id)
2014-05-30 01:10:21.665 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py", line 1240, in _cache_store_invalid
2014-05-30 01:10:21.665 | self._cache_store(token_id, 'invalid')
2014-05-30 01:10:21.665 | File "/home/jenkins/workspace/gate-blazar-python27/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py", line 1154, in _cache_store
2014-05-30 01:10:21.666 | cache.set(cache_key, data_to_store, time=self.token_cache_time)
2014-05-30 01:10:21.666 | TypeError: set() got an unexpected keyword argument 'time'
See the logstash query : http://logstash.openstack.org/#eyJzZWFyY2giOiJcImdvdCBhbiB1bmV4cGVjdGVkIGtleXdvcmQgYXJndW1lbnQgJ3RpbWUnXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjQzMjAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTQwMTQ0NTg3MDQyMH0=
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1324861/+subscriptions
References