[release-announce] os-brick 4.0.0 (victoria)

no-reply at openstack.org no-reply at openstack.org
Wed Sep 2 17:11:06 UTC 2020


We contentedly announce the release of:

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

This release is part of the victoria stable 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.0.0
^^^^^


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

* Add support for RBD non OpenStack (cinderlib) attach/detach.


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

* The CORAID driver was removed from Cinder in the Ocata release.
  The AOE protocol connector logic in os-brick is no longer needed and
  has now been removed.

* The ITRI DISCO driver was removed from Cinder in the Stein
  release. The connector logic in os-brick is no longer needed and has
  now been removed.

* The DRBD driver was removed from Cinder in the Stein release by
  the vendor. The connector logic in os-brick is no longer needed and
  has now been removed.

* The HGST driver was removed from Cinder in the Stein release. The
  connector logic in os-brick is no longer needed and has now been
  removed.

* The Veritas Hyperscale driver was removed from Cinder in the Train
  release. The connector logic in os-brick is no longer needed and has
  now been removed.


Bug Fixes
*********

* Bug #1823200 (https://bugs.launchpad.net/cinder/+bug/1823200):
  Prior fixes for this bug changed the connection properties but did
  not take into account an upgrade scenario in which currently
  attached volumes had the old format connection properties and could
  fail on detatch with "KeyError: 'config_group'".  This release
  updates the 'scaleio' connector to handle this situation.  It is
  only applicable to deployments using a Dell EMC PowerFlex/VxFlex
  OS/ScaleIO backend.

* [bug 1862433 (https://bugs.launchpad.net/os-brick/+bug/1862443)]
  Fix an issue where platform id is needed to determine  name of scsi
  disk.

* Bug #1865754 (https://bugs.launchpad.net/cinder/+bug/1865754): Fix
  to the rbd connector to work with Ceph Octopus (Version 15.2.0 and
  later). Octopus has slightly changed its requirements such that it
  now needs a "[global]" heading at the beginning of the "ini" config
  file that is generated within the "RBDConnector" class.  This
  release detects the Ceph version and supplies the appropriate config
  file.

* Improve WWN detection for arrays with multiple designators. (bug
  1881608).

* Improve iSCSI multipath detection to work even if we cannot find
  the volume's WWN in sysfs. (bug 1881619).

* Fix check_valid_path method in the RBD connector for locally
  attached volumes.  (Bug #1884552)

* Implement the extend_volume method for the RBD connector. (Bug
  #1884554).

Changes in os-brick 3.2.1..4.0.0
--------------------------------

3e83148 Fix for rbd connector to work with ceph octopus
abd97bb Add volume local cache support to os-brick
360154b Remove CORAID AOE connector
0649a7f Add note about removed cinder feature
6672ea0 Fix pygments style
4a13aa8 Add code coverage job
7ca8e56 Add release note for scaleio connector upgrade
4412b26 Fix a typo in the explanatory note
0cdd9bb Leverage the iSCSI mpath to get the WWN
e83b028 bindep: remind people to sync the dependencies with devstack
5450483 ScaleIO: Connection info backward compatibility
12a1603 Remove DRBD connector
d6e021e Remove Veritas Hyperscale connector
54c8166 Remove the HGST connector
22d565b Remove the ITRI DISCO connector
7c9020f prepend platform info to by-path string
29752fb RBD: Implement volume extension
7d995b6 RBD: Fix check_valid_device
e67b780 RBD: Support non OpenStack usage
eecfe72 Add doc linting to pep8 target
63f52be iSCSI detect multipath DM with no WWN
7fb37c2 Improve WWN detection


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

.zuul.yaml                                         |  16 ++
bindep.txt                                         |   6 +
.../reference/os_brick/initiator/connector.rst     |   5 -
lower-constraints.txt                              |   1 +
os_brick/caches/__init__.py                        | 103 +++++++
os_brick/caches/opencas.py                         | 119 ++++++++
os_brick/exception.py                              |   5 +
os_brick/initiator/__init__.py                     |   9 +-
os_brick/initiator/connector.py                    |  22 --
os_brick/initiator/connectors/aoe.py               | 176 ------------
os_brick/initiator/connectors/disco.py             | 208 --------------
os_brick/initiator/connectors/drbd.py              | 110 --------
os_brick/initiator/connectors/fibre_channel.py     |  27 +-
.../initiator/connectors/fibre_channel_s390x.py    |   2 +-
os_brick/initiator/connectors/hgst.py              | 183 ------------
os_brick/initiator/connectors/iscsi.py             |  10 +-
os_brick/initiator/connectors/rbd.py               | 222 ++++++++++++---
os_brick/initiator/connectors/scaleio.py           |  22 +-
os_brick/initiator/connectors/vrtshyperscale.py    | 160 -----------
os_brick/initiator/linuxscsi.py                    |  40 ++-
os_brick/privileged/rbd.py                         |  59 ++++
.../initiator/connectors/test_fibre_channel.py     |  90 +++++-
.../connectors/test_fibre_channel_s390x.py         |   2 +-
.../initiator/connectors/test_vrtshyperscale.py    | 144 ----------
...g-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml |  10 +
.../notes/bug-1862443-e87ef38b60f9b979.yaml        |   5 +
...eph-octopus-compatibility-a56a05b7395efa7f.yaml |   9 +
.../improve-get_sysfs_wwn-df38ea88cdcdcc94.yaml    |   5 +
...iscsi-multipath-detection-f36f28a993f61936.yaml |   6 +
...rbd-non-openstack-support-28ee093d7d3a700e.yaml |   5 +
.../rbd_check_valid_device-2f50c0639adb8e7c.yaml   |   5 +
.../notes/rbd_extend_volume-5bc6adc08f662c5b.yaml  |   5 +
.../notes/remove-aoe-7a97315a73c7b24f.yaml         |   6 +
.../notes/remove-disco-0809537ffb8c50eb.yaml       |   6 +
.../notes/remove-drbd-21872230fcac1138.yaml        |   6 +
.../notes/remove-hgst-daa7f07c307974d0.yaml        |   6 +
.../notes/remove-hyperscale-468f1b61bf4dadf8.yaml  |   6 +
test-requirements.txt                              |   1 +
tox.ini                                            |   8 +-
52 files changed, 1541 insertions(+), 1670 deletions(-)


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

diff --git a/test-requirements.txt b/test-requirements.txt
index 35b642a..82e69f6 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -14,0 +15 @@ pycodestyle==2.6.0 # MIT
+doc8>=0.6.0 # Apache-2.0






More information about the Release-announce mailing list