[release-announce] sushy-tools 0.18.0

no-reply at openstack.org no-reply at openstack.org
Fri Sep 10 14:58:48 UTC 2021


We are happy to announce the release of:

sushy-tools 0.18.0: A set of tools to support the development and test
of the Sushy library (https://docs.openstack.org/sushy/)

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.

0.18.0
^^^^^^


New Features
************

* Supports HTTP basic authentication of Redfish endpoints. Set the
  new "SUSHY_EMULATOR_AUTH_FILE" variable to the path of an htpasswd
  file.

* Supports reading and changing "VerifyCertificate" in
  "VirtualMedia" resources.

* The emulator now supports providing "UserName" and "Password" for
  virtual media.


Upgrade Notes
*************

* The default value of "SUSHY_EMULATOR_VMEDIA_VERIFY_SSL" has been
  changed to "False" to match the actual bare metal hardware.


Bug Fixes
*********

* Fixes a bug in the handler for Bios/BiosRegistry - it should not
  include identity in order to match the url returned from
  bios_attribute_registry_file.json and be consistent with actual
  vendor responses.

* Returns the correct status code (404) when a URL is not found.

* Fixes handling HTTP errors on downloading virtual media files.
  Error codes are no longer silently ignored.

Changes in sushy-tools 0.17.0..0.18.0
-------------------------------------

c37ffb9 Move virtual media endpoint handlers to a separate blueprint
c6a42b9 Clean up error handling in the emulator
cbb7f19 Basic support for vmedia TLS certificates from version 1.4.0
9a7cd1e Add lower-constraints job to current development branch
af76d4d Support credentials for virtual media
158eb3c Handle HTTP errors when downloading virtual media
6b11ec4 Use correct status code with werkzeug exceptions
7998eec Support HTTP basic auth
07bc989 Add additional BIOS Settings
00fcd2f Fix to handle correct path for BiosRegistry
fad94e7 Update min version of tox to use allowlist


Diffstat (except docs and test files)
-------------------------------------

lower-constraints.txt                              |  14 +
releasenotes/notes/auth-044dab149ab0c03f.yaml      |   5 +
...fix-bios-registry-handler-63528fb2e114a04c.yaml |   7 +
releasenotes/notes/http-code-b4e32ad8485ef841.yaml |   4 +
.../notes/verify-certificate-798f84905cee03e5.yaml |   9 +
.../notes/vmedia-credentials-0f6e1f539bd94d14.yaml |   5 +
.../notes/vmedia-error-73fda32cf6046554.yaml       |   5 +
requirements.txt                                   |   1 +
sushy_tools/emulator/api_utils.py                  |  75 +++++
sushy_tools/emulator/controllers/__init__.py       |   0
sushy_tools/emulator/controllers/virtual_media.py  | 182 ++++++++++++
sushy_tools/emulator/main.py                       | 329 +++++++--------------
sushy_tools/emulator/resources/managers.py         |   6 +-
.../emulator/resources/systems/libvirtdriver.py    |  18 +-
.../emulator/resources/systems/novadriver.py       |  14 +-
sushy_tools/emulator/resources/vmedia.py           | 129 +++++---
sushy_tools/emulator/templates/bios_registry.json  |  42 ++-
.../emulator/templates/certificate_collection.json |  18 ++
sushy_tools/emulator/templates/virtual_media.json  |  10 +-
sushy_tools/error.py                               |  18 ++
.../emulator/controllers/test_virtual_media.py     | 168 +++++++++++
.../emulator/resources/systems/test_libvirt.py     |  12 +-
tox.ini                                            |   4 +-
zuul.d/project.yaml                                |   5 +-
30 files changed, 1011 insertions(+), 416 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 32a9b96..834ac64 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,0 +9 @@ tenacity>=6.2.0 # Apache-2.0
+ironic-lib>=4.6.1 # Apache-2.0






More information about the Release-announce mailing list