We are psyched to announce the release of: os-brick 4.4.0: OpenStack Cinder brick library for managing local volume attaches This release is part of the xena 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. 4.4.0 ^^^^^ Bug Fixes * Bug #1924652 (https://bugs.launchpad.net/os-brick/+bug/1924652): Fix issue with newer multipathd implementations where path devices are kept in multipathd even after volume detachment completes, preventing it from creating a multipath device when a new device attachment is made shortly with the same volume device or the same device path. * Bug #1921381 (https://bugs.launchpad.net/cinder/+bug/1921381): Fix disconnecting volumes when the use_multipath value is changed from the connect_volume call to the disconnect_volume call. * NVMe-oF connector bug #1929074 (https://bugs.launchpad.net/os- brick/+bug/1929074): Fixed issue with nvme logging error trace when not present. * NVMe-oF connector bug #1929075 (https://bugs.launchpad.net/os- brick/+bug/1929075): Fixed issue with nvme connector creating /etc/nvme directory when not present. * NVMe-oF connector bug #1903032 (https://bugs.launchpad.net/os- brick/+bug/1903032): Fixed not flushing device on disconnect. Changes in os-brick 4.3.0..4.4.0 -------------------------------- f2bc082 Don't log error trace when nvme is not used 7d0ba03 trivial: correct comment f18a33b Introduce mypy 85dbd0f NVMe-oF: Flush on disconnect 1b2e229 multipath/iscsi: remove devices from multipath monitoring 985a49b vmware: Use cookiejar from oslo.vmware client directly 534c04c setup.cfg: Replace dashes with underscores eb566ce Enable bandit runs for tox d4205bd iSCSI: Fix flushing after multipath cfg change 9afa1a0 Add Python3 xena unit tests ab57392 Update master for stable/wallaby 7cfdb76 Dropping explicit unicode literal b580124 connector: Fix comment of get_connector_properties regarding enforce_multipath 28545c7 RBD: catch read exceptions prior to modifying offset Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 2 +- lower-constraints.txt | 1 + mypy-files.txt | 8 ++ os_brick/encryptors/luks.py | 2 +- os_brick/exception.py | 4 +- os_brick/executor.py | 3 +- os_brick/initiator/connector.py | 4 +- os_brick/initiator/connectors/base.py | 12 +- os_brick/initiator/connectors/base_iscsi.py | 17 ++- os_brick/initiator/connectors/iscsi.py | 145 ++++++++++++--------- os_brick/initiator/connectors/nvmeof.py | 46 +++++-- os_brick/initiator/connectors/vmware.py | 2 +- os_brick/initiator/linuxrbd.py | 8 +- os_brick/initiator/linuxscsi.py | 69 ++++++---- os_brick/remotefs/remotefs.py | 14 +- .../notes/bug-1924652-2323f905f62ef8ba.yaml | 8 ++ ...ect-multipath-cfg-changed-637abc5ecf44fb10.yaml | 6 + .../notes/fix-nvme-issues-8dfc15cb691389fe.yaml | 10 ++ .../notes/nvme-flush-f31ab337224e5d3d.yaml | 6 + releasenotes/source/conf.py | 2 +- releasenotes/source/index.rst | 1 + releasenotes/source/wallaby.rst | 6 + setup.cfg | 20 ++- test-requirements.txt | 2 + tools/mypywrap.sh | 24 ++++ tox.ini | 10 ++ 35 files changed, 612 insertions(+), 182 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index efbc9a4..1d03ece 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,0 +18,2 @@ fixtures>=3.0.0 # Apache-2.0/BSD +bandit>=1.6.0,<1.7.0 # Apache-2.0 +mypy>=0.782 # MIT