[release-announce] sushy-tools 0.8.0
no-reply at openstack.org
no-reply at openstack.org
Thu Dec 5 17:59:10 UTC 2019
We are ecstatic to announce the release of:
sushy-tools 0.8.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/null/
For more details, please see below.
0.8.0
^^^^^
Upgrade Notes
*************
* Python 2.7 support has been dropped. Last release of sushy-tools
to support Python 2.7 is OpenStack Train. The minimum version of
Python now supported by sushy-tools is Python 3.6.
Bug Fixes
*********
* Fixes one of the allowed values for "BootSourceOverrideMode"
element - Redfish specification requires UEFI boot mode to be
indicated as "UEFI", not "Uefi" as the dynamic Redfish emulator
erroneously adopted.
* Fixes occasional failure when setting boot image to libvirt domain
in response to virtual media "Insert" operation.
* Fixes potential failure on reading/setting boot device of libvirt
domain. Prior to this fix, boot device has only been respected in
the boot loader part of libvirt domain XML. However per-device boot
configuration can also be used. If the latter way is in place in a
libvirt domain, reading boot device would yield nothing, while
setting it in the boot loader would fail. This fix respects both
ways of configuring libvirt boot device preferring the per-device
configuration when setting new boot device.
* Brings libvirt domain down prior to any change. When Redfish
emulator is running against libvirt virtualization backend, any
changes being done to domain are not applied for as long as the
domain is up. This leads to two nuisances:
* REST API is not really REST-ful meaning that successfully
applied change is not reflected in the document tree
* Multiple changes done to live domain XML tree may override one
another because N-1 change done to a domain is not visible to N's
change
The fix is to bring running domain down briefly while the change is
applied.
* Fixes situation when changing boot image could invalidate current
boot device selection. The fix is to note current libvirt boot
device and restore it if the image being changed resides on the
active boot device.
* Fixes defaults to storage and drive resources. Prior to this fix,
if storage and/or drive resource emulation is not set up via sushy
emulator configuration, the clients trying to read either of these
resources would hit hard HTTP 500 response.
Changes in sushy-tools 0.7.0..0.8.0
-----------------------------------
907c3ad Retain boot device selection upon boot image change
564ae30 Bring libvirt domain down prior to any change
723ffd2 Fix libvirt CD image insertion
4279ee0 Fix `BootSourceOverrideMode` enumeration
eb2943d Fix emulator socket binding options
9d87099 Fix defaults to storage and drive resources
538d98d Fix incorrect parameter description in docstrings
c772be0 Fix reading/setting libvirt domain boot device
3034226 Drop python 2.7 support and testing
87b7e00 Correct doc link to point to sushy-tools docs
ab8cfdd Switch to Ussuri job
dbc20db Fix libvirt set-boot-image implementation
Diffstat (except docs and test files)
-------------------------------------
README.rst | 2 +-
.../notes/drop-python2-48e8388f96998244.yaml | 6 +
.../fix-boot-mode-constant-71e6a7ec6b010273.yaml | 7 +
.../fix-libvirt-boot-image-965d94fd30bca7b0.yaml | 5 +
.../fix-libvirt-boot-mode-3ec2ccf49f96aec8.yaml | 10 +
.../fix-libvirt-statefulness-0a2a7812d79fdd25.yaml | 16 ++
.../fix-retain-boot-device-5ae02731d2a000d3.yaml | 6 +
...ix-storage-drive-defaults-3a925a0063738b77.yaml | 7 +
setup.cfg | 2 -
sushy_tools/emulator/main.py | 53 ++--
.../emulator/resources/drives/staticdriver.py | 4 +-
.../emulator/resources/storage/staticdriver.py | 4 +-
sushy_tools/emulator/resources/systems/base.py | 11 +-
.../emulator/resources/systems/libvirtdriver.py | 271 +++++++++++++++++----
.../emulator/resources/systems/novadriver.py | 21 +-
.../emulator/resources/systems/test_libvirt.py | 227 +++++++++++++++--
test-requirements.txt | 1 -
tox.ini | 11 +-
zuul.d/project.yaml | 3 +-
23 files changed, 581 insertions(+), 135 deletions(-)
Requirements updates
--------------------
diff --git a/test-requirements.txt b/test-requirements.txt
index 89cb481..3b861cd 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -11 +10,0 @@ python-subunit>=1.0.0 # Apache-2.0/BSD
-sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
More information about the Release-announce
mailing list