We enthusiastically announce the release of: sushy 3.4.6: Sushy is a small Python library to communicate with Redfish based systems This release is part of the victoria stable 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. 3.4.6 ^^^^^ 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 3.4.5..3.4.6 ----------------------------- 1acff06 Fix session authentication issues Diffstat (except docs and test files) ------------------------------------- ...on-fallback-failure-fixes-4f0dcfdad1afd2d7.yaml | 26 ++++ sushy/auth.py | 79 +++++++--- sushy/connector.py | 21 ++- sushy/main.py | 67 ++++++++- sushy/resources/sessionservice/sessionservice.py | 19 +-- .../session_creation_headers_no_location.json | 17 +++ .../sessionservice/test_sessionservice.py | 12 +- 11 files changed, 556 insertions(+), 93 deletions(-)
participants (1)
-
no-reply@openstack.org