There were cases where a number of the API managers were being
instantiated more than one time. This could cause a number of
odd edge cases where the managers would have different
configurations and/or different dependency injection results.
The managers should now be properly instantiated only once
unless explicitly required (e.g. testing the token provider
manager raises an exception in badly configured states).
Conflicts:
keystone/auth/plugins/token.py
Closes-Bug: #1294994
Change-Id: I1babb065065cb5b06899f59568020a1c38f1156c
(cherry-picked from commit 0a1cb0e20247a3c7856b409452b01ad6db8069f0)
Reviewed: https:/ /review. openstack. org/120924 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=a391713b621 6ad13a1aa6e1e9f bf947923fed433
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit a391713b6216ad1 3a1aa6e1e9fbf94 7923fed433
Author: Morgan Fainberg <email address hidden>
Date: Thu Sep 11 15:28:16 2014 -0700
Remove extraenous instantiations of managers
There were cases where a number of the API managers were being
instantiated more than one time. This could cause a number of
odd edge cases where the managers would have different
configurations and/or different dependency injection results.
The managers should now be properly instantiated only once
unless explicitly required (e.g. testing the token provider
manager raises an exception in badly configured states).
Conflicts: auth/plugins/ token.py
keystone/
Closes-Bug: #1294994 b06899f59568020 a1c38f1156c 7856b409452b01a d6db8069f0)
Change-Id: I1babb065065cb5
(cherry-picked from commit 0a1cb0e20247a3c