We are tickled pink to announce the release of: sushy 4.3.4: Sushy is a small Python library to communicate with Redfish based systems This release is part of the zed 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. 4.3.4 ^^^^^ Bug Fixes * Fixes bug where sushy would not pass a read/connect timeout through to requests when making requests to a redfish service. This means that an ill-timed failure could cause python processes calling sushy to freeze indefinately. * Add retries on iDRAC error with code SYS518 and message "iDRAC is currently unable to display any information because data sources are unavailable." for all request types in addition to existing GET methods. This helps to fix a known intermittent issue when deleting set of volumes one after another and iDRAC is reloading after deleting each volume. * Fixes 'Unsupported parameter name @Redfish.OperationApplyTime' error on iDRAC firmware version 6.00.02.00 or newer when deleting volumes. * Correctly handles error code "Base.1.5.PropertyMissing" when dealing with hardware that requires "TransferProtocolType" for virtual media operations. * Correctly handles errors on a request that is re-tried after refreshing an authentication token. * An issue was encountered on some HPE iLO supported machines where the Baseboard Management Controller would respond with a HTTP 400 error and an error message indicating the requested operation was invalid for the then system state. For example, attempting to change the power state via the BMC shortly after previously changing the power state. We now attempt to retry within the permitted number of retries when this error is encountered. * Workaround for https://github.com/psf/requests/issues/3829 If the env "REQUESTS_CA_BUNDLE" is set the "requests.Session()" ignores the verify parameter. Therefore the verify parameter is moved directly into the function call of requests. Changes in sushy 4.3.3..4.3.4 ----------------------------- bb00d94 Handle exceptions after re-authentication 47e4e55 Remove version field from iLO error 8ff0d10 Requests must always have a read/connect timeout b7d2456 Retry on ilo state error 4ee0a97 workaround: requests verify handling if env is set e4108b3 Exclude all files starting with . from flake8 tests 3e16da9 Fix volume deletion on newer iDRACs e39c25f Retry on iDRAC SYS518 errors for all requests 5e2807a Handle proper code_status in unit test 69b014c Handle a different error code for missing TransferProtocolType Diffstat (except docs and test files) ------------------------------------- ...-read-and-connect-timeout-9f7dc3ed63c192c8.yaml | 5 + ...olume_operation-on_sys518-009f2b16e5c38a27.yaml | 8 ++ ...operational_time_property-f53f650d8612a847.yaml | 4 + .../notes/property-missing-7602c421ec177e9a.yaml | 6 + releasenotes/notes/re-raise-1fe9f912691e893e.yaml | 5 + ...retry-ilo-not-ready-error-0b4dce882282eaac.yaml | 10 ++ ...-requests-verify-handling-6879c273b651246f.yaml | 9 ++ sushy/connector.py | 80 ++++++++--- sushy/exceptions.py | 18 ++- sushy/resources/manager/virtual_media.py | 17 ++- sushy/resources/system/storage/volume.py | 18 ++- .../unit/resources/manager/test_virtual_media.py | 27 ++-- .../unit/resources/system/storage/test_volume.py | 79 +++++++++++ tox.ini | 2 +- 15 files changed, 378 insertions(+), 58 deletions(-)