[release-announce] cinder 21.2.0 (zed)

no-reply at openstack.org no-reply at openstack.org
Tue May 2 15:57:31 UTC 2023


We exuberantly announce the release of:

cinder 21.2.0: OpenStack Block Storage

This release is part of the zed stable release series.

The source is available from:

    https://opendev.org/openstack/cinder

Download the package from:

    https://tarballs.openstack.org/cinder/

Please report issues through:

    https://bugs.launchpad.net/cinder/+bugs

For more details, please see below.

21.2.0
^^^^^^


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

* RBD driver: Sets the Ceph cluster FSID as the default value for
  the "rbd_secret_uuid" configuration option.


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

* We introduced a new config parameter, "reserved_image_namespaces",
  that allows operators to set the image properties to filter out from
  volume image metadata by namespace when uploading a volume to
  Glance. These properties, if not filtered out, cause failures when
  uploading images back to Glance. The error will happen on Glance
  side when the reserved namespaces are used. This option is also
  useful when an operator wants to use the Glance property protections
  feature to make some image properties read-only.


Bug Fixes
*********

* PowerStore driver bug #1962824
  (https://bugs.launchpad.net/cinder/+bug/1962824): Fixed Cinder
  volume caching mechanism for the driver. Now the driver correctly
  raises "exception.SnapshotLimitReached" when maximum snapshots are
  created for a given volume and the volume cache is invalidated to
  allow a new row of fast volume clones.

* Bug #2008017 (https://bugs.launchpad.net/cinder/+bug/2008017):
  Fixed NetApp NFS driver to never spawn a native thread avoid thread
  starvation and other related issues.

* Bug #1945500 (https://bugs.launchpad.net/cinder/+bug/1945500):
  Fixed an error when uploading to Glance a previously downloaded
  glance image when glance multistore is enabled. Glance reserves
  image properties in the namespace 'os_glance' for its own use and
  will not allow images to be created with these properties.
  Additionally, there are image properties, such as those associated
  with image signature verification, that are stored in a volume's
  image metadata, which should not be added to a new image when a
  volume is being uploaded as an image. Thus Cinder will no longer
  include any volume image metadata in the namespaces "os_glance" and
  "img_signature" when it creates an image in Glance. Furthermore,
  because the Glance property protections feature allows an operator
  to configure specific image properties as read-only, this fix adds a
  configuration option, "reserved_image_namespaces", that allows an
  operator to exclude additional image properties by namespace (the
  "os_glance" and "img_signature" namespaces are *always* excluded).

* Pure Storage FlashArray driver bug #1969784
  (https://bugs.launchpad.net/cinder/+bug/1969784): Fixed array
  failover incorrectly handles loss of an array due to network issue

* RBD driver bug #1960206
  (https://bugs.launchpad.net/cinder/+bug/1960206): Fixed
  "total_capacity" reported by the driver to the scheduler on Ceph
  clusters that have renamed the "bytes_used" field to "stored".
  (e.g., Nautilus (https://docs.ceph.com/en/nautilus/releases/nautilus
  /#upgrade-compatibility-notes)).

* Bug #2008259 (https://bugs.launchpad.net/cinder/+bug/2008259):
  Fixed the volume create functionality where non-admin users were
  able to create multiattach volumes by providing the *multiattach*
  parameter in the request body. Now we can only create multiattach
  volumes using a multiattach volume type, which is also the
  recommended way.


Other Notes
***********

* Removed the ability to create multiattach volumes by specifying
  *multiattach* parameter in the request body of a volume create
  operation. This functionality is unsafe, can lead to data loss, and
  has been deprecated since the Queens release. The recommended method
  for creating a multiattach volume is to use a volume type that
  supports multiattach.  By default, volume types can only be created
  by the operator.  Users who have a need for multiattach volumes
  should contact their operator if a suitable volume type is not
  available.

Changes in cinder 21.1.0..21.2.0
--------------------------------

a8a4cdcb2 Remove multiatttach request parameter
3dde6b7d9 Fix NetApp NFS driver to never spawn a native thread again
30b70ac5a RBD: Default rbd_secret_uuid to the cluster FSID
97926fb88 RBD: Fix total_capacity
04f063470 Dell PowerStore: Volume caching exception support
826b40281 Filter reserved image properties
9d12d263e [Pure Storage] Fix issue with loss of replicated array
426f6337b [stable-only] Pin tox <4


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

.zuul.yaml                                         |   2 +
api-ref/source/v2/parameters.yaml                  |   9 --
api-ref/source/v2/volumes-v2-volumes.inc           |   1 -
api-ref/source/v3/parameters.yaml                  |   9 --
api-ref/source/v3/volumes-v3-volumes.inc           |   1 -
cinder/api/schemas/volumes.py                      |   6 +
cinder/api/v2/volumes.py                           |   9 --
cinder/api/v3/volumes.py                           |  16 +--
cinder/image/image_utils.py                        |  46 +++++++
cinder/scheduler/filter_scheduler.py               |  13 --
.../powerstore/test_volume_create_from_source.py   |  24 ++++
.../drivers/netapp/dataontap/test_nfs_base.py      |  42 ++----
.../drivers/netapp/dataontap/test_nfs_cmode.py     |   2 -
cinder/volume/api.py                               |   6 +-
.../volume/drivers/dell_emc/powerstore/client.py   |   6 +
cinder/volume/drivers/netapp/dataontap/nfs_base.py |  71 +++++------
.../volume/drivers/netapp/dataontap/nfs_cmode.py   |   1 -
cinder/volume/drivers/netapp/options.py            |   5 +
cinder/volume/drivers/pure.py                      | 141 +++++++++++++--------
cinder/volume/drivers/rbd.py                       |  21 ++-
cinder/volume/flows/api/create_volume.py           |  12 +-
.../notes/bug-1962824-ff0cac0d35021f84.yaml        |   9 ++
...netapp-fix-native-threads-04d8f58f4c29b03d.yaml |   6 +
...reserved-image-properties-9519ddc080e7ed1a.yaml |  28 ++++
...e-validate-replica-arrays-a76630cab9435770.yaml |   6 +
.../rbd-rbd_secret_uuid-fsid-95daee128f59c8e4.yaml |   5 +
.../notes/rbd-total_capacity-60f10b45e3a8c8ea.yaml |   8 ++
...multiattach-request-param-4444e02533f919da.yaml |  20 +++
tox.ini                                            |   4 +-
35 files changed, 557 insertions(+), 266 deletions(-)







More information about the Release-announce mailing list