yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22623
[Bug 1373167] Re: Infinite Recursion for __getattr__ in keystone.token.persistence.core.Manager due to dep injection
** Changed in: keystone
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1373167
Title:
Infinite Recursion for __getattr__ in
keystone.token.persistence.core.Manager due to dep injection
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
On initializing the token_api due to the way the dependency injector
works, an infinite recursion occurs at:
https://github.com/openstack/keystone/blob/1af24284bdc093dae4f027ade2ddb29656b676f0/keystone/token/persistence/core.py#L228-L236
This occurs when doing the lookup for token_provider_api causes an
issue. The solution simply requires verifying that the 'item' is not
in self._dependencies or self._optionals.
This stabilizes eventually after startup.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1373167/+subscriptions
References