Public bug reported: Created Redis cache backend: https://review.openstack.org/#/c/150844/
Tempest revealed problem with locking: <11>Feb 3 14:56:14 node-27 keystone-all 'LuaLock' object has no attribute 'lock_timeout' 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi Traceback (most recent call last): 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 223, in _call_ 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi result = method(context, **params) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/controllers.py", line 452, in delete_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self.token_provider_api.revoke_token(token_id) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/provider.py", line 485, in revoke_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self._persistence.delete_token(token_id=token_id) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/persistence/core.py", line 106, in delete_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self.driver.delete_token(unique_id) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/persistence/backends/kvs.py", line 254, in delete_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self._add_to_revocation_list(data, lock) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/kvs/core.py", line 405, in _exit_ 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self.release() 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/kvs/core.py", line 398, in release 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi if not self.expired: 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/kvs/core.py", line 389, in expired 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi if self.mutex.lock_timeout == 0: 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi AttributeError: 'LuaLock' object has no attribute 'lock_timeout' 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi ** Affects: keystone Importance: Undecided Assignee: Alexander Makarov (amakarov) Status: New ** Changed in: keystone Assignee: (unassigned) => Alexander Makarov (amakarov) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1417737 Title: KVS cache backend incompatible with redis-py Status in OpenStack Identity (Keystone): New Bug description: Created Redis cache backend: https://review.openstack.org/#/c/150844/ Tempest revealed problem with locking: <11>Feb 3 14:56:14 node-27 keystone-all 'LuaLock' object has no attribute 'lock_timeout' 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi Traceback (most recent call last): 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 223, in _call_ 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi result = method(context, **params) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/controllers.py", line 452, in delete_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self.token_provider_api.revoke_token(token_id) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/provider.py", line 485, in revoke_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self._persistence.delete_token(token_id=token_id) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/persistence/core.py", line 106, in delete_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self.driver.delete_token(unique_id) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/token/persistence/backends/kvs.py", line 254, in delete_token 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self._add_to_revocation_list(data, lock) 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/kvs/core.py", line 405, in _exit_ 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi self.release() 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/kvs/core.py", line 398, in release 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi if not self.expired: 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/kvs/core.py", line 389, in expired 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi if self.mutex.lock_timeout == 0: 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi AttributeError: 'LuaLock' object has no attribute 'lock_timeout' 2015-02-03 14:56:14.890 8959 TRACE keystone.common.wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1417737/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp