[release-announce] os-brick 6.1.0 (zed)

no-reply at openstack.org no-reply at openstack.org
Fri Aug 26 18:23:52 UTC 2022


We jubilantly announce the release of:

os-brick 6.1.0: OpenStack Cinder brick library for managing local
volume attaches

This release is part of the zed release series.

The source is available from:

    https://opendev.org/openstack/os-brick

Download the package from:

    https://pypi.org/project/os-brick

Please report issues through:

    https://bugs.launchpad.net/os-brick/+bugs

For more details, please see below.

6.1.0
^^^^^

Bug Fixes

* Bug #1967157 (https://bugs.launchpad.net/nova/+bug/1967157): Fixed
  extending LUKS and LUKSv2 host attached encrypted volumes. Only LUKS
  v1 volumes decrypted via libvirt were working, but now all LUKS
  based in-use encrypted volumes can be extended.

* NVMe-oF connector bug #1964395 (https://bugs.launchpad.net/os-
  brick/+bug/1964395): Fixed dependence on a specific nvme cli version
  for proper detection of devices when attaching a volume.

* NVMe-oF connector bug #1964388 (https://bugs.launchpad.net/os-
  brick/+bug/1964388): Fixed corner case where it could return the
  wrong path for a volume, resulting in attaching in Nova the wrong
  volume to an instance, destroying volume data in Cinder, and other
  similarly dangerous scenarios.

* NVMe-oF connector bug #1964385 (https://bugs.launchpad.net/os-
  brick/+bug/1964385): Fixed disappearance of volumes/devices from the
  host, with potential data loss of unflushed data, when network
  issues last longer than 10 minutes.

* NVMe-oF connector bug #1964380 (https://bugs.launchpad.net/os-
  brick/+bug/1964380): Fixed support for newer nvme cli exit code when
  trying to connect to an already subsystem-portal.

* NVMe-oF connector bug #1964383 (https://bugs.launchpad.net/os-
  brick/+bug/1964383): Fixed not being able to attach a volume if
  there was already a controller for the subsystem.

* NVMe-oF connector bug #1965954 (https://bugs.launchpad.net/os-
  brick/+bug/1965954): Fixed extend of in-use replicated volumes with
  a single replica not growing the RAID

* NVMe-oF connector bug #1964590 (https://bugs.launchpad.net/os-
  brick/+bug/1964590): Fixed extend failure of in-use volumes with
  some Cinder drivers.

* NVMe-oF connector bug #1903032 (https://bugs.launchpad.net/os-
  brick/+bug/1903032): Fixed not flushing single connection volumes on
  some Cinder drivers.

* NVMe-oF connector bug #1961102 (https://bugs.launchpad.net/os-
  brick/+bug/1961102): Fixed leaving controller devices (i.e.,
  /dev/nvme0) behind on hosts.  Now NVMe-oF subsytems are disconnected
  when disconnecting volumes if the subsytem doesn't have additional
  volumes present in the host.

Changes in os-brick 6.0.0..6.1.0
--------------------------------

f5d5371 mypy: initiator/linuxrbd
fafd1a6 RBD: Improve IOWrapper's close & flush methods
da45611 NVMe-oF: Get system uuid in privsep
6de226e mypy: Update format to future __annotations__
794f006 mypy: os_brick/encryptors/__init__.py
aa97f44 mypy: set no_implicit_optional
25756c1 Move mypy job to check queue (non-voting)
da2bfa4 NVMe-oF: read mdstat in Python
dfa1d16 mypy: initiator/connectors/rbd.py
b3f89a3 mypy: privileged/rbd.py
2a07191 Bump mypy version to 0.960
02f4dcf mypy: improve utils.py coverage, update format
35bf3cb mypy: privileged/nvmeof.py
a519dd8 mypy: initiator
d5820f5 mypy: work around mypy bug #13214
e768fb5 Add flake8-logging-format extension
ec7246e Fix nits in nvmeof connector
1cb6d3e Support shared_targets tristate value
05a4c05 NVMe-oF: Disconnect subsystems
4c21b40 NVMe-oF: Consolidate code paths
a9a53f9 LUKS: Support extending host attached volumes
c1ea65e Make ceph job voting (sometimes)


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

.zuul.yaml                                         |   39 +-
.../reference/os_brick/initiator/connector.rst     |    8 +
mypy-files.txt                                     |   17 +-
os_brick/encryptors/__init__.py                    |   15 +-
os_brick/encryptors/base.py                        |    5 +
os_brick/encryptors/cryptsetup.py                  |    3 +
os_brick/encryptors/luks.py                        |   15 +
os_brick/encryptors/nop.py                         |    3 +
os_brick/exception.py                              |    8 +-
os_brick/executor.py                               |   16 +-
os_brick/initiator/connectors/base.py              |   13 +-
os_brick/initiator/connectors/base_iscsi.py        |   13 +-
os_brick/initiator/connectors/base_rbd.py          |   14 +-
os_brick/initiator/connectors/fibre_channel.py     |   67 +-
os_brick/initiator/connectors/iscsi.py             |  161 +-
os_brick/initiator/connectors/lightos.py           |   10 +-
os_brick/initiator/connectors/local.py             |   10 +-
os_brick/initiator/connectors/nvmeof.py            | 1742 +++++++++------
os_brick/initiator/connectors/rbd.py               |   71 +-
os_brick/initiator/connectors/remotefs.py          |   29 +-
os_brick/initiator/connectors/scaleio.py           |   15 +-
os_brick/initiator/connectors/storpool.py          |    4 +-
os_brick/initiator/host_driver.py                  |    4 +-
os_brick/initiator/linuxfc.py                      |   18 +-
os_brick/initiator/linuxrbd.py                     |   74 +-
os_brick/initiator/linuxscsi.py                    |   42 +-
os_brick/initiator/utils.py                        |   19 +-
os_brick/privileged/nvmeof.py                      |   26 +-
os_brick/privileged/rbd.py                         |    6 +-
os_brick/utils.py                                  |   46 +-
.../extend-encrypted-in-use-ac3f7a1994ec3a38.yaml  |    7 +
.../notes/nvmeof-consolidate-004dbe3a98f6f815.yaml |   46 +
.../notes/nvmeof-disconnect-83f9aaf17f8c8988.yaml  |    8 +
setup.cfg                                          |    1 +
test-requirements.txt                              |    3 +-
tools/mypywrap.sh                                  |    2 +-
tox.ini                                            |    4 +-
49 files changed, 3467 insertions(+), 1552 deletions(-)


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

diff --git a/test-requirements.txt b/test-requirements.txt
index 626c405..c87a52c 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,0 +7 @@ flake8-import-order # LGPLv3
+flake8-logging-format>=0.6.0 # Apache-2.0
@@ -19 +20 @@ bandit>=1.6.0,<1.7.0 # Apache-2.0
-mypy>=0.942 # MIT
+mypy>=0.960 # MIT






More information about the Release-announce mailing list