We contentedly announce the release of: sushy-tools 2.2.0 The source is available from: https://opendev.org/openstack/sushy-tools Download the package from: https://tarballs.openstack.org/sushy-tools/ For more details, please see below. 2.2.0 ^^^^^ Upgrade Notes ************* * Support for Python 3.9 has been removed. Now Python 3.10 is the minimum version supported. Bug Fixes ********* * System sub-resources ("BIOS", "Processors", and "SimpleStorage") are now conditionally exposed based on driver support. Only the libvirt driver implements these features, so they will only appear in the System resource response when using the libvirt backend. This prevents exposing non- functional endpoints for drivers that don't support these capabilities. When these fields are absent, Redfish clients like Ironic will receive a "MissingAttributeError" and handle it gracefully. * Fixes OpenStack Nova driver to properly handle instance "task_state" conflicts and race conditions during power state operations. The driver now waits for instances to be ready before attempting power actions or rebuilds, preventing "ConflictExceptions" when instances are busy with tasks like "powering-off", "rebuilding", or "spawning". When the instance is busy, the driver now returns "HTTP 503" with "SYS518" error code to allow clients to retry. Changes in sushy-tools 2.1.0..2.2.0 ----------------------------------- 0e08c93 Expose System sub-resources based on driver support b900c41 Add get_processors() to AbstractSystemsDriver ad220ed novadriver: Fix race for instance task_state ebef351 Remove support for Python 3.9 2d9676a Add zombie cleanup for defunct SSH processes 9706ebc Switch to pre-commit 27452ea Drop redundant variable definition Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 38 +++ ...s-based-on-driver-support-57f467d2b5c62bc6.yaml | 10 + ...ndle-task-state-conflicts-716df04234bd9bb0.yaml | 10 + .../notes/remove-py39-de8b7321aef60346.yaml | 5 + setup.cfg | 3 +- sushy_tools/emulator/main.py | 33 ++ sushy_tools/emulator/resources/systems/base.py | 7 + .../emulator/resources/systems/novadriver.py | 93 +++++- sushy_tools/emulator/templates/system.json | 10 +- .../emulator/resources/systems/test_libvirt.py | 5 - .../unit/emulator/resources/systems/test_nova.py | 185 ++++++++++- tox.ini | 24 +- 13 files changed, 730 insertions(+), 40 deletions(-)
participants (1)
-
no-reply@openstack.org