yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11292
[Bug 1289893] [NEW] AttributeError: 'RevokeTree' object has no attribute 'remove'
Public bug reported:
2014-03-08 22:56:16.637 DEBUG keystone.notifications [-] CADF Event: {'typeURI': 'http://schemas.dmtf.org/cloud/audit/1.0/event', 'initiator': {'typeURI': 'service/security/account/user', 'host': {'agent': 'python-keystoneclient', 'address': '172.16.28.1'}, 'id': 'openstack:0a5c0e30-bbcc-4697-be9d-38cc628ac11b', 'name': u'8986189194eb4ef88e87146753433fa7'}, 'target': {'typeURI': 'service/security/account/user', 'id': 'openstack:1b61ea82-55f4-4c7c-8a5a-1248d782b9ca'}, 'observer': {'typeURI': 'service/security', 'id': 'openstack:210a5abb-df6f-4bfe-858e-52ffe84fe045'}, 'eventType': 'activity', 'eventTime': '2014-03-08T21:56:16.636606+0000', 'action': 'authenticate', 'outcome': 'pending', 'id': 'openstack:3c1de8c0-3967-4f01-bbc2-72ed338fc696'} from (pid=14164) _send_audit_notification /opt/stack/keystone/keystone/notifications.py:289
2014-03-08 22:56:16.675 DEBUG keystone.notifications [-] CADF Event: {'typeURI': 'http://schemas.dmtf.org/cloud/audit/1.0/event', 'initiator': {'typeURI': 'service/security/account/user', 'host': {'agent': 'python-keystoneclient', 'address': '172.16.28.1'}, 'id': 'openstack:0a5c0e30-bbcc-4697-be9d-38cc628ac11b', 'name': u'8986189194eb4ef88e87146753433fa7'}, 'target': {'typeURI': 'service/security/account/user', 'id': 'openstack:b6ece8dd-c48a-4101-b275-c5b3ce7369e7'}, 'observer': {'typeURI': 'service/security', 'id': 'openstack:ec18f1f9-3d6b-4db6-ab76-43c50f3266ef'}, 'eventType': 'activity', 'eventTime': '2014-03-08T21:56:16.674729+0000', 'action': 'authenticate', 'outcome': 'success', 'id': 'openstack:7e1bf8ff-a890-4cfe-8dd2-1a5d834c38d9'} from (pid=14164) _send_audit_notification /opt/stack/keystone/keystone/notifications.py:289
2014-03-08 22:56:16.876 INFO eventlet.wsgi.server [-] 172.16.28.1 - - [08/Mar/2014 22:56:16] "POST /v2.0/tokens HTTP/1.1" 200 1433 0.248006
2014-03-08 22:56:16.883 DEBUG keystone.common.authorization [-] RBAC: Proceeding without tenant from (pid=14164) v2_token_to_auth_context /opt/stack/keystone/keystone/common/authorization.py:101
2014-03-08 22:56:16.884 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'user_id': u'8986189194eb4ef88e87146753433fa7', 'roles': []} from (pid=14164) process_request /opt/stack/keystone/keystone/middleware/core.py:263
2014-03-08 22:56:16.886 DEBUG keystone.common.wsgi [-] arg_dict: {} from (pid=14164) __call__ /opt/stack/keystone/keystone/common/wsgi.py:180
2014-03-08 22:56:16.903 INFO eventlet.wsgi.server [-] 172.16.28.1 - - [08/Mar/2014 22:56:16] "GET /v2.0/tenants HTTP/1.1" 200 373 0.024075
2014-03-08 22:56:16.914 DEBUG keystone.common.authorization [-] RBAC: Proceeding without tenant from (pid=14164) v2_token_to_auth_context /opt/stack/keystone/keystone/common/authorization.py:101
2014-03-08 22:56:16.915 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'user_id': u'8986189194eb4ef88e87146753433fa7', 'roles': []} from (pid=14164) process_request /opt/stack/keystone/keystone/middleware/core.py:263
2014-03-08 22:56:16.916 DEBUG keystone.common.wsgi [-] arg_dict: {} from (pid=14164) __call__ /opt/stack/keystone/keystone/common/wsgi.py:180
2014-03-08 22:56:16.987 INFO eventlet.wsgi.server [-] 172.16.28.1 - - [08/Mar/2014 22:56:16] "POST /v2.0/tokens HTTP/1.1" 200 9034 0.077649
2014-03-08 22:56:17.014 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'project_id': u'40ac6c6b8eb64c8c854073275f5d16a1', 'user_id': u'0c4b600a396d4d148cec1eb45d4ad705', 'roles': [u'_member_', u'admin']} from (pid=14164) process_request /opt/stack/keystone/keystone/middleware/core.py:263
2014-03-08 22:56:17.017 DEBUG keystone.common.wsgi [-] arg_dict: {'token_id': u'be1b682d2cb2f4479125f0d0018ef39b'} from (pid=14164) __call__ /opt/stack/keystone/keystone/common/wsgi.py:180
2014-03-08 22:56:17.019 DEBUG keystone.common.controller [-] RBAC: Authorizing identity:validate_token(token_id=be1b682d2cb2f4479125f0d0018ef39b) from (pid=14164) _build_policy_check_credentials /opt/stack/keystone/keystone/common/controller.py:40
2014-03-08 22:56:17.020 DEBUG keystone.common.controller [-] RBAC: using auth context from the request environment from (pid=14164) _build_policy_check_credentials /opt/stack/keystone/keystone/common/controller.py:45
2014-03-08 22:56:17.022 DEBUG keystone.policy.backends.rules [-] enforce identity:validate_token: {'project_id': u'40ac6c6b8eb64c8c854073275f5d16a1', 'user_id': u'0c4b600a396d4d148cec1eb45d4ad705', 'roles': [u'_member_', u'admin']} from (pid=14164) enforce /opt/stack/keystone/keystone/policy/backends/rules.py:100
2014-03-08 22:56:17.023 DEBUG keystone.openstack.common.policy [-] Rule identity:validate_token will be now enforced from (pid=14164) enforce /opt/stack/keystone/keystone/openstack/common/policy.py:258
2014-03-08 22:56:17.024 DEBUG keystone.common.controller [-] RBAC: Authorization granted from (pid=14164) inner /opt/stack/keystone/keystone/common/controller.py:137
2014-03-08 22:56:17.032 DEBUG keystone.common.kvs.core [-] KVS lock acquired for: os-revoke-tree from (pid=14164) acquire /opt/stack/keystone/keystone/common/kvs/core.py:375
2014-03-08 22:56:17.033 DEBUG keystone.common.kvs.core [-] KVS lock released for: os-revoke-tree from (pid=14164) release /opt/stack/keystone/keystone/common/kvs/core.py:394
2014-03-08 22:56:17.035 ERROR keystone.common.wsgi [-] 'RevokeTree' object has no attribute 'remove'
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi Traceback (most recent call last):
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/common/wsgi.py", line 205, in __call__
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi result = method(context, **params)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/openstack/common/versionutils.py", line 102, in wrapped
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi return func(*args, **kwargs)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/common/controller.py", line 138, in inner
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi return f(self, context, *args, **kwargs)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/token/controllers.py", line 411, in validate_token
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi return self.token_provider_api.validate_v2_token(token_id, belongs_to)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/token/provider.py", line 137, in validate_v2_token
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self.check_revocation_v2(token)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/token/provider.py", line 130, in check_revocation_v2
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self.revoke_api.check_token(token_values)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/contrib/revoke/core.py", line 190, in check_token
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self._cache.synchronize_revoke_map(self.driver)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/contrib/revoke/core.py", line 79, in synchronize_revoke_map
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self.revoke_map.remove(e)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi AttributeError: 'RevokeTree' object has no attribute 'remove'
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi
2014-03-08 22:56:17.050 INFO eventlet.wsgi.server [-] 172.16.28.100 - - [08/Mar/2014 22:56:17] "GET /v2.0/tokens/be1b682d2cb2f4479125f0d0018ef39b HTTP/1.1" 500 337 0.040297
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1289893
Title:
AttributeError: 'RevokeTree' object has no attribute 'remove'
Status in OpenStack Identity (Keystone):
New
Bug description:
2014-03-08 22:56:16.637 DEBUG keystone.notifications [-] CADF Event: {'typeURI': 'http://schemas.dmtf.org/cloud/audit/1.0/event', 'initiator': {'typeURI': 'service/security/account/user', 'host': {'agent': 'python-keystoneclient', 'address': '172.16.28.1'}, 'id': 'openstack:0a5c0e30-bbcc-4697-be9d-38cc628ac11b', 'name': u'8986189194eb4ef88e87146753433fa7'}, 'target': {'typeURI': 'service/security/account/user', 'id': 'openstack:1b61ea82-55f4-4c7c-8a5a-1248d782b9ca'}, 'observer': {'typeURI': 'service/security', 'id': 'openstack:210a5abb-df6f-4bfe-858e-52ffe84fe045'}, 'eventType': 'activity', 'eventTime': '2014-03-08T21:56:16.636606+0000', 'action': 'authenticate', 'outcome': 'pending', 'id': 'openstack:3c1de8c0-3967-4f01-bbc2-72ed338fc696'} from (pid=14164) _send_audit_notification /opt/stack/keystone/keystone/notifications.py:289
2014-03-08 22:56:16.675 DEBUG keystone.notifications [-] CADF Event: {'typeURI': 'http://schemas.dmtf.org/cloud/audit/1.0/event', 'initiator': {'typeURI': 'service/security/account/user', 'host': {'agent': 'python-keystoneclient', 'address': '172.16.28.1'}, 'id': 'openstack:0a5c0e30-bbcc-4697-be9d-38cc628ac11b', 'name': u'8986189194eb4ef88e87146753433fa7'}, 'target': {'typeURI': 'service/security/account/user', 'id': 'openstack:b6ece8dd-c48a-4101-b275-c5b3ce7369e7'}, 'observer': {'typeURI': 'service/security', 'id': 'openstack:ec18f1f9-3d6b-4db6-ab76-43c50f3266ef'}, 'eventType': 'activity', 'eventTime': '2014-03-08T21:56:16.674729+0000', 'action': 'authenticate', 'outcome': 'success', 'id': 'openstack:7e1bf8ff-a890-4cfe-8dd2-1a5d834c38d9'} from (pid=14164) _send_audit_notification /opt/stack/keystone/keystone/notifications.py:289
2014-03-08 22:56:16.876 INFO eventlet.wsgi.server [-] 172.16.28.1 - - [08/Mar/2014 22:56:16] "POST /v2.0/tokens HTTP/1.1" 200 1433 0.248006
2014-03-08 22:56:16.883 DEBUG keystone.common.authorization [-] RBAC: Proceeding without tenant from (pid=14164) v2_token_to_auth_context /opt/stack/keystone/keystone/common/authorization.py:101
2014-03-08 22:56:16.884 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'user_id': u'8986189194eb4ef88e87146753433fa7', 'roles': []} from (pid=14164) process_request /opt/stack/keystone/keystone/middleware/core.py:263
2014-03-08 22:56:16.886 DEBUG keystone.common.wsgi [-] arg_dict: {} from (pid=14164) __call__ /opt/stack/keystone/keystone/common/wsgi.py:180
2014-03-08 22:56:16.903 INFO eventlet.wsgi.server [-] 172.16.28.1 - - [08/Mar/2014 22:56:16] "GET /v2.0/tenants HTTP/1.1" 200 373 0.024075
2014-03-08 22:56:16.914 DEBUG keystone.common.authorization [-] RBAC: Proceeding without tenant from (pid=14164) v2_token_to_auth_context /opt/stack/keystone/keystone/common/authorization.py:101
2014-03-08 22:56:16.915 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'user_id': u'8986189194eb4ef88e87146753433fa7', 'roles': []} from (pid=14164) process_request /opt/stack/keystone/keystone/middleware/core.py:263
2014-03-08 22:56:16.916 DEBUG keystone.common.wsgi [-] arg_dict: {} from (pid=14164) __call__ /opt/stack/keystone/keystone/common/wsgi.py:180
2014-03-08 22:56:16.987 INFO eventlet.wsgi.server [-] 172.16.28.1 - - [08/Mar/2014 22:56:16] "POST /v2.0/tokens HTTP/1.1" 200 9034 0.077649
2014-03-08 22:56:17.014 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'project_id': u'40ac6c6b8eb64c8c854073275f5d16a1', 'user_id': u'0c4b600a396d4d148cec1eb45d4ad705', 'roles': [u'_member_', u'admin']} from (pid=14164) process_request /opt/stack/keystone/keystone/middleware/core.py:263
2014-03-08 22:56:17.017 DEBUG keystone.common.wsgi [-] arg_dict: {'token_id': u'be1b682d2cb2f4479125f0d0018ef39b'} from (pid=14164) __call__ /opt/stack/keystone/keystone/common/wsgi.py:180
2014-03-08 22:56:17.019 DEBUG keystone.common.controller [-] RBAC: Authorizing identity:validate_token(token_id=be1b682d2cb2f4479125f0d0018ef39b) from (pid=14164) _build_policy_check_credentials /opt/stack/keystone/keystone/common/controller.py:40
2014-03-08 22:56:17.020 DEBUG keystone.common.controller [-] RBAC: using auth context from the request environment from (pid=14164) _build_policy_check_credentials /opt/stack/keystone/keystone/common/controller.py:45
2014-03-08 22:56:17.022 DEBUG keystone.policy.backends.rules [-] enforce identity:validate_token: {'project_id': u'40ac6c6b8eb64c8c854073275f5d16a1', 'user_id': u'0c4b600a396d4d148cec1eb45d4ad705', 'roles': [u'_member_', u'admin']} from (pid=14164) enforce /opt/stack/keystone/keystone/policy/backends/rules.py:100
2014-03-08 22:56:17.023 DEBUG keystone.openstack.common.policy [-] Rule identity:validate_token will be now enforced from (pid=14164) enforce /opt/stack/keystone/keystone/openstack/common/policy.py:258
2014-03-08 22:56:17.024 DEBUG keystone.common.controller [-] RBAC: Authorization granted from (pid=14164) inner /opt/stack/keystone/keystone/common/controller.py:137
2014-03-08 22:56:17.032 DEBUG keystone.common.kvs.core [-] KVS lock acquired for: os-revoke-tree from (pid=14164) acquire /opt/stack/keystone/keystone/common/kvs/core.py:375
2014-03-08 22:56:17.033 DEBUG keystone.common.kvs.core [-] KVS lock released for: os-revoke-tree from (pid=14164) release /opt/stack/keystone/keystone/common/kvs/core.py:394
2014-03-08 22:56:17.035 ERROR keystone.common.wsgi [-] 'RevokeTree' object has no attribute 'remove'
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi Traceback (most recent call last):
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/common/wsgi.py", line 205, in __call__
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi result = method(context, **params)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/openstack/common/versionutils.py", line 102, in wrapped
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi return func(*args, **kwargs)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/common/controller.py", line 138, in inner
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi return f(self, context, *args, **kwargs)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/token/controllers.py", line 411, in validate_token
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi return self.token_provider_api.validate_v2_token(token_id, belongs_to)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/token/provider.py", line 137, in validate_v2_token
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self.check_revocation_v2(token)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/token/provider.py", line 130, in check_revocation_v2
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self.revoke_api.check_token(token_values)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/contrib/revoke/core.py", line 190, in check_token
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self._cache.synchronize_revoke_map(self.driver)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/contrib/revoke/core.py", line 79, in synchronize_revoke_map
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi self.revoke_map.remove(e)
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi AttributeError: 'RevokeTree' object has no attribute 'remove'
2014-03-08 22:56:17.035 TRACE keystone.common.wsgi
2014-03-08 22:56:17.050 INFO eventlet.wsgi.server [-] 172.16.28.100 - - [08/Mar/2014 22:56:17] "GET /v2.0/tokens/be1b682d2cb2f4479125f0d0018ef39b HTTP/1.1" 500 337 0.040297
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1289893/+subscriptions
Follow ups
References