Pythonclient middleware auth's cache.set() is not expecting time as argument

Bug #1324861 reported by Sylvain Bauza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Unassigned

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=

Changed in keystone:
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

Fix has to be provided on Blazar side.

Changed in keystone:
status: New → Invalid
Changed in keystone:
assignee: Juan Antonio Osorio Robles (juan-osorio-robles) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.