We are amped to announce the release of: sushy 4.2.0: Sushy is a small Python library to communicate with Redfish based systems This release is part of the zed release series. The source is available from: https://opendev.org/openstack/sushy Download the package from: https://tarballs.openstack.org/sushy/ Please report issues through: https://storyboard.openstack.org/#!/project/openstack/sushy For more details, please see below. 4.2.0 ^^^^^ Bug Fixes * Fixes issues with the refresh of "Session" based authentication where a previous refresh attempt failing could result in a fallback to "Basic" authentication and would silently fail. The client library now attempts to re-authenticate. * Fixes silent failures when a refresh of an authentication "Session" fails and was unable to be re-established due to an "AccessError". Should this occur, now the "AccessError" exception is explicitly raised as opposed to attempting to fall back to "Basic" authentication. * Fixes issues where the "Session" and "Basic" auth interface would fallback to "Basic" authentication should a "ConnectionError" exception occur while attempting to perform an authentication action. "ConnectionError" exceptions are signs of networking transport issues, and should be investigated. A "ConnectionError" exception is now raised. * Prevents the combined "Session" and "Basic" authentication support from falling back to "Basic" authentication once "Session" based authentication has been established. This should be considered a potential security issue or an environmental change requiring potential client re-initialization. This is exposed as an "AccessError" exception. Continued operations against the Sushy library will attempt to reauthenticate, if possible. Changes in sushy 4.1.1..4.2.0 ----------------------------- cdeeb8b Drop lower-constraints.txt and its testing 065522f Add Python3 zed unit tests e4f259c Update master for stable/yoga 8d55d51 Fix session authentication issues Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 9 -- ...on-fallback-failure-fixes-4f0dcfdad1afd2d7.yaml | 26 ++++ releasenotes/source/index.rst | 1 + releasenotes/source/yoga.rst | 6 + requirements.txt | 4 + sushy/auth.py | 79 +++++++--- sushy/connector.py | 21 ++- sushy/main.py | 67 ++++++++- sushy/resources/sessionservice/sessionservice.py | 20 +-- .../session_creation_headers_no_location.json | 17 +++ .../sessionservice/test_sessionservice.py | 12 +- tox.ini | 6 - zuul.d/project.yaml | 3 +- 17 files changed, 568 insertions(+), 111 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 1829f68..9f2e385 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,4 @@ +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. +
participants (1)
-
no-reply@openstack.org