[keystone] keystonemiddleware 5.0.0 (rocky)
We contentedly announce the release of: keystonemiddleware 5.0.0: Middleware for OpenStack Identity This release is part of the rocky release series. The source is available from: https://git.openstack.org/cgit/openstack/keystonemiddleware Download the package from: https://pypi.python.org/pypi/keystonemiddleware Please report issues through launchpad: https://bugs.launchpad.net/keystonemiddleware For more details, please see below. 5.0.0 ^^^^^ New Features ************ * [bug 1695038 (https://bugs.launchpad.net/keystonemiddleware/+bug/1695038)] The use_oslo_messaging configuration option is added for services such as Swift, which need the audit middleware to use the local logger instead of the oslo.messaging notifier regardless of whether the oslo.messaging package is present or not. Leave this option set to its default True value to keep the previous behavior unchanged - the audit middleware will use the oslo.messaging notifier if the oslo.messaging package is present, and the local logger otherwise. Services that rely on the local logger for audit notifications must set this option to False. Bug Fixes ********* * [bug/1747655 (https://bugs.launchpad.net/keystonemiddleware/+bug/1747655)] When keystone is temporarily unavailable, keystonemiddleware correctly sends a 503 response to the HTTP client but was not identifying which service was down, leading to confusion on whether it was keystone or the service using keystonemiddleware that was unavailable. This change identifies keystone in the error response. Other Notes *********** * The "kwargs_to_fetch_token" setting was removed from the "BaseAuthProtocol" class. Implementations of auth_token now assume kwargs will be passed to the "fetch_token" method. Changes in keystonemiddleware 4.21.0..5.0.0 ------------------------------------------- cc9a7e2 add lower-constraints job a6d6a9c Update links in README fadab2f Updated from global requirements e15e2d0 Updated from global requirements 4be4ae5 Imported Translations from Zanata 18c2c4f Update home-page url 33a712b Fix the AttributeError: __exit__ error ce06c0c Add arguments for MemcacheClientPool init 8e9255d Remove kwargs_to_fetch_token d3352ff Identify the keystone service when raising 503 e83bd0b Add option to disable using oslo_message notifier 04eb58a Updated from global requirements c1edcfa Imported Translations from Zanata 1cdc51a Update reno for stable/queens 04cd467 Updated from global requirements 316d1b4 Updated from global requirements 8b7ac8e Updated from global requirements ee55f20 Imported Translations from Zanata Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 7 ++ README.rst | 4 +- keystonemiddleware/audit/__init__.py | 7 ++ keystonemiddleware/audit/_notifier.py | 2 +- keystonemiddleware/auth_token/__init__.py | 21 +----- keystonemiddleware/auth_token/_cache.py | 14 +++- .../locale/en_GB/LC_MESSAGES/keystonemiddleware.po | 8 +- .../locale/ko_KR/LC_MESSAGES/keystonemiddleware.po | 8 +- .../unit/auth_token/test_auth_token_middleware.py | 4 +- lower-constraints.txt | 85 ++++++++++++++++++++++ .../notes/bug-1695038-2cbedcabf8ecc057.yaml | 13 ++++ .../notes/bug-1747655-6e563d9317bb0f13.yaml | 9 +++ ...ove_kwargs_to_fetch_token-20e3451ed192ab6a.yaml | 6 ++ releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 35 +++------ .../locale/ko_KR/LC_MESSAGES/releasenotes.po | 8 +- releasenotes/source/queens.rst | 6 ++ requirements.txt | 8 +- setup.cfg | 2 +- test-requirements.txt | 6 +- tox.ini | 8 ++ 26 files changed, 227 insertions(+), 77 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 6ab23e6..b392bb7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ -keystoneauth1>=3.3.0 # Apache-2.0 +keystoneauth1>=3.4.0 # Apache-2.0 @@ -7 +7 @@ oslo.cache>=1.26.0 # Apache-2.0 -oslo.config>=5.1.0 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 @@ -10 +10 @@ oslo.i18n>=3.15.3 # Apache-2.0 -oslo.log>=3.30.0 # Apache-2.0 +oslo.log>=3.36.0 # Apache-2.0 @@ -12 +12 @@ oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 -oslo.utils>=3.31.0 # Apache-2.0 +oslo.utils>=3.33.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index eae2aa1..75e6bf5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9 +9 @@ coverage!=4.4,>=4.0 # Apache-2.0 -cryptography!=2.0,>=1.9 # BSD/Apache-2.0 +cryptography>=2.1 # BSD/Apache-2.0 @@ -12 +12 @@ mock>=2.0.0 # BSD -oslotest>=1.10.0 # Apache-2.0 +oslotest>=3.2.0 # Apache-2.0 @@ -14 +14 @@ reno>=2.5.0 # Apache-2.0 -requests-mock>=1.1.0 # Apache-2.0 +requests-mock>=1.2.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org