We are chuffed to announce the release of: sushy 3.5.0: Sushy is a small Python library to communicate with Redfish based systems This release is part of the wallaby 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.5.0 ^^^^^ Bug Fixes * Fixes an issue in performing action "#Bios.ResetBios" when no body in POST request provided and BMC responds with HTTP 400 Bad request, for example, Dell R630 having iDRAC 2.75.75.75. See story 2008198 for details. * The "Actions" field in the "Volume" resource was incorrectly specified as being required. This fix makes the field optional. * Makes message parsing more resilient by handling the case where the message ID only contains a message key and no registry name. In this case, fall back to the "Messages" message registry file and then to the "BaseMessages" message registry file. If the message ID cannot be found, then set the message to "unknown". When parsing messages, if not enough arguments were supplied, then fill in the remaining arguments with "unknown". * Reduce the logging from sushy by logging only attributes and values set in the redfish response, not the entire json. Changes in sushy 3.4.0..3.5.0 ----------------------------- 8fe28a6 Avoid running functional jobs for doc changes 5be884b Fixes a typo when accessing the connector in CompositionService d5a09e9 Add support to expose oem_vendors from resource links 6e27fe1 Set safe version of hacking f91033c Lower log severity for unknown type registries ed53860 Log only fields set in redfish response, not entire json ee85fed Fix #Bios.ResetBios for HTTP 400 Bad request error 7e368db Trivial: add missing __init__.py to sushy/resources/taskservice 69ca7e0 Log extended error information in addition to returning it bad68e1 Make message parsing more resilient 9562db9 Make Actions field in Volume resource optional 96a1f19 Fix l-c job 5c1fdc1 Add Python3 wallaby unit tests dce8f13 Update master for stable/victoria Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 4 +- ...ory-reset-400-bad-request-3f4a7a2aada0835b.yaml | 7 + ...lume-actions-not-required-730fd637dd2587ce.yaml | 5 + ...essage-parsing-resilience-534da532515a15da.yaml | 10 ++ .../redfish-response-log-294f3f10b770e356.yaml | 5 + releasenotes/source/index.rst | 1 + releasenotes/source/victoria.rst | 6 + sushy/exceptions.py | 12 +- sushy/main.py | 17 ++- sushy/resources/base.py | 57 +++++++- .../compositionservice/compositionservice.py | 4 +- sushy/resources/registry/message_registry.py | 42 +++++- sushy/resources/registry/message_registry_file.py | 5 +- sushy/resources/system/bios.py | 3 +- sushy/resources/system/storage/volume.py | 2 +- sushy/resources/taskservice/__init__.py | 0 .../compositionservice/test_compositionservice.py | 18 +++ .../unit/resources/manager/test_virtual_media.py | 14 +- .../resources/registry/test_message_registry.py | 160 +++++++++++++++++++++ .../registry/test_message_registry_file.py | 49 +++++-- .../updateservice/test_softwareinventory.py | 11 ++ test-requirements.txt | 3 +- zuul.d/project.yaml | 2 +- zuul.d/sushy-jobs.yaml | 4 + 31 files changed, 606 insertions(+), 44 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 01da614..686a2b6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11 +11 @@ stestr>=2.0.0 # Apache-2.0 -hacking>=3.1.0,<3.2.0 # Apache-2.0 +hacking>=3.1.0,<4.0.0 # Apache-2.0 @@ -12,0 +13 @@ flake8-import-order>=0.17.1 # LGPLv3 +pycodestyle>=2.0.0,<2.7.0 # MIT
participants (1)
-
no-reply@openstack.org