We are thrilled to announce the release of: sushy 3.7.3: Sushy is a small Python library to communicate with Redfish based systems This release is part of the wallaby 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.7.3 ^^^^^ Upgrade Notes ************* * "Inserted" and "WriteProtected" optional attributes are no longer present in the InsertMedia API call payload when default values {"Inserted": True, "WriteProtected": True} are specified by the consumer (e.g. Ironic) and PATCH method of configuring virtual media is not used. Behaviour is unchanged if PATCH method is used. Bug Fixes ********* * Removing "Inserted" and "WriteProtected" parameters from the Redfish VirtualMedia::insert_media() API call payload when default values {"Inserted": True, "WriteProtected": True} are set and PATCH method is not used. Those parameters are optional as per Redfish schema 2021.1. Some BMCs (e.g. SuperMicro X11/X12 platforms) treat these fields as read-only and setting them causes vMedia insert failures. These attributes should default to True on the BMC side. Some BMCs using PATCH method of configuring virtual media (e.g. Lenovo SD530) still require "Inserted" attribute, so only changing this for non- PATCH methods of configuring virtual media such as InsertMedia action. * Fixes "Processor.sub_processors" for "'Processor' object has no attribute 'conn'" error. Changes in sushy 3.7.2..3.7.3 ----------------------------- b76050c Removing optional fields from insert_media payload 24f9980 Fix Processor.sub_processors c2425e7 Protect Connector against empty auth object Diffstat (except docs and test files) ------------------------------------- .../fix-insert-media-payload-b5d4c707f81d9603.yaml | 20 +++++++++++++++++++ .../notes/fix-subprocessors-3b619434dba4636d.yaml | 5 +++++ sushy/connector.py | 3 ++- sushy/resources/manager/virtual_media.py | 22 +++++++++++++++++++-- sushy/resources/system/processor.py | 14 ++++++------- .../unit/json_samples/subprocessor_collection.json | 9 +++++++++ .../unit/resources/manager/test_virtual_media.py | 13 +++++++++++- 11 files changed, 122 insertions(+), 11 deletions(-)
participants (1)
-
no-reply@openstack.org