[release-announce] cinder 18.2.0 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Mon Mar 7 14:38:04 UTC 2022


We are jazzed to announce the release of:

cinder 18.2.0: OpenStack Block Storage

This release is part of the wallaby 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.

18.2.0
^^^^^^


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

* **RBD driver: Enable Ceph V2 Clone API and Ceph Trash auto purge**

  In light of the fix for RBD driver bug #1941815
  (https://bugs.launchpad.net/cinder/+bug/1941815), we want to bring
  the following information to your attention.

  Using the v2 clone format for cloned volumes allows volumes with
  dependent images to be moved to the trash - where they remain until
  purged - and allow the RBD driver to postpone the deletion until the
  volume has no dependent images. Configuring the trash purge is
  recommended to avoid wasting space with these trashed volumes. Since
  the Ceph Octopus release, the trash can be configured to
  automatically purge on a defined schedule. See the "rbd trash purge
  schedule" commands in the rbd manpage
  (https://docs.ceph.com/en/octopus/man/8/rbd/).


Bug Fixes
*********

* Bug #1935688 (https://bugs.launchpad.net/cinder/+bug/1935688):
  Cinder only supports uploading a volume of an encrypted volume type
  as an image to the Image service in "raw" format using a "bare"
  container type.  Previously, "os-volume_upload_image" action
  requests to the Block Storage API specifying different format option
  values were accepted, but would result in a later failure.  This
  condition is now checked at the API layer, and "os-
  volume_upload_image" action requests on a volume of an encrypted
  type that specify unsupported values for "disk_format" or
  "container_format" now result in a 400 (Bad Request) response.

* RBD driver bug #1941815
  (https://bugs.launchpad.net/cinder/+bug/1941815): Fixed deleting
  volumes with snapshots/volumes in the ceph trash space.

* RBD driver bug #1947518
  (https://bugs.launchpad.net/cinder/+bug/1947518): Corrected a
  regression caused by the fix for Bug #1931004
  (https://bugs.launchpad.net/cinder/+bug/1931004) that was attempting
  to access the glance images RBD pool with write privileges when
  creating a volume from an image.

* Bug #1947134 (https://bugs.launchpad.net/cinder/+bug/1947134):
  Fixed the initialization of GPFS NFS driver when
  gpfs_images_share_mode is set to copy_on_write by correcting
  _same_filesystem functionality.

* Bug #1947123 (https://bugs.launchpad.net/cinder/+bug/1947123):
  Fixed the volume creation issue in GPFS NFS driver when
  gpfs_images_share_mode is set to copy_on_write.

* PowerMax driver bug #1929429
  (https://bugs.launchpad.net/cinder/+bug/1929429): Fixes child/parent
  storage group check so that a pattern match is not case sensitive.
  For example, myStorageGroup should equal MYSTORAGEGROUP and
  mystoragegroup.

* Pure Storage driver  Bug #1945824
  (https://bugs.launchpad.net/cinder/+bug/1945824): Fixed missing DB
  values when creating new consistency group from CG snapshot.

* Bug #1916980 (https://bugs.launchpad.net/cinder/+bug/1916980):
  Fixed stale volume notification information on volume detach.

* Bug #1935011 (https://bugs.launchpad.net/cinder/+bug/1935011):
  Fixed missing detach.start notification when deleting an attachment
  in reserved state.

* Bug #1937084 (https://bugs.launchpad.net/cinder/+bug/1937084):
  Fixed race condition between delete attachment and delete volume
  that can leave deleted volumes stuck as attached to instances.

* Bug #1924643 (https://bugs.launchpad.net/cinder/+bug/1924643):
  Fixed the NetApp cinder driver sub-clone operation that might be
  used by extend operation in case the extended size is greater than
  the max LUN geometry.

* Bug #1950474 (https://bugs.launchpad.net/cinder/+bug/1950474):
  Fixed policy authorization for transfer accept API. Previously, if
  an operator had overridden the default transfer accept policy to
  something project specific in policy.yaml file, it would break the
  transfer accept API which is fixed in this release.

* Bug #1941068 (https://bugs.launchpad.net/cinder/+bug/1941068):
  Fixed type of the "host" configuration option.  It was limited to
  valid FQDN values when we document that it isn't.  This may result
  in the "cinder-manage db sync" command failing.

* Bug #1935057 (https://bugs.launchpad.net/cinder/+bug/1935057):
  Fixed sometimes on a detach volume may end in available and detached
  yet have an attachment in error_detaching.

* Bug #1886543 (https://bugs.launchpad.net/cinder/+bug/1886543): On
  retypes requiring a migration, try to use the driver assisted
  mechanism when moving from one backend to another when we know it's
  safe from the volume type perspective.

Changes in cinder 18.1.0..18.2.0
--------------------------------

f9d85e607 [stable-only] Specify openstacksdk stable branch
b86da5d40 Volume transfers: Remove duplicate policy check
7210c914c Fix: Race between attachment and volume deletion
a5b67fd95 Expose volume_attachments in Volume OVO
be7b00129 Delete attachment on remove_export failure
ed06fc745 Fix detach notification
12f7376fe Reject bad img formats for uploaded encrypted vols
fffe9b57b NetApp ONTAP: Fix sub-clone zapi call
afc90f891 Driver assisted migration on retype when it's safe
30578a728 [Pure Storage] Add missing DB values when performing create CG from CG snap
0e3f03529 Fixed copy-on-write mode in GPFS NFS driver
50f4dd044 RBD: Call trash operation when plain deletion fails
f2fe6cc11 RBD: Open RBD images read-only where possible
74c5a3332 Log connection info returned from driver
326fa62d7 Native multibackend-matrix Zuul v3 job
80ef8c104 PowerMax Driver - Allow for case mismatch in SGs
498608a84 Change 'host' option from HostAddressOpt to StrOpt


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

.zuul.yaml                                         |  40 +++++-
api-ref/source/v3/parameters.yaml                  |  14 +++
api-ref/source/v3/volumes-v3-volumes-actions.inc   |   4 +-
cinder/api/contrib/volume_actions.py               |   8 ++
cinder/common/config.py                            |  12 +-
cinder/db/sqlalchemy/api.py                        | 115 ++++++++++--------
cinder/db/sqlalchemy/models.py                     |  10 ++
cinder/objects/volume.py                           |   6 +-
.../unit/attachments/test_attachments_manager.py   |  51 +++++++-
.../dell_emc/powermax/test_powermax_rest.py        |  16 +++
.../netapp/dataontap/client/test_client_cmode.py   |  36 ++++++
.../unit/volume/flows/test_create_volume_flow.py   |   9 +-
cinder/volume/api.py                               |  67 +++-------
cinder/volume/drivers/dell_emc/powermax/fc.py      |   3 +-
cinder/volume/drivers/dell_emc/powermax/iscsi.py   |   3 +-
cinder/volume/drivers/dell_emc/powermax/rest.py    |   3 +-
cinder/volume/drivers/ibm/gpfs.py                  |  30 +++--
.../netapp/dataontap/client/client_cmode.py        |   7 +-
cinder/volume/drivers/pure.py                      |  19 ++-
cinder/volume/drivers/rbd.py                       |  37 ++++--
cinder/volume/manager.py                           |  53 +++++---
playbooks/cinder-multibackend-matrix.yaml          |  35 ++++++
.../notes/bug-193688-bb045badcd5aecad.yaml         |  12 ++
...when-plain-deletion-fails-50cef4a8a8010ba9.yaml |  24 ++++
...1947518-rbd-open-readonly-ba523c4b0ddbba76.yaml |   9 ++
releasenotes/notes/bug-gpfs-fix-nfs-cow.yaml       |  10 ++
.../notes/bug1929429-e749f5e5a242a599.yaml         |   8 ++
.../notes/bug_1945824-7f8f238e274ddebd.yaml        |   5 +
.../detach-notification-31ae15dafdef36c1.yaml      |   9 ++
.../notes/detach-race-delete-012820ad9c8dbe16.yaml |   6 +
.../fix-sub-clone-operation-f42a84ab17930f24.yaml  |   7 ++
...ix-transfer-accept-policy-7594806372b14284.yaml |   8 ++
...ct-host-config-option-347e60f957458d54_new.yaml |   7 ++
...failure_leaves_attachment-24e0c648269b0177.yaml |   6 +
...retype-assisted-migration-6cdc7f9b21beb859.yaml |   7 ++
.../defaults/main.yaml                             |   6 +
.../defaults/main.yaml                             |   3 +
.../save-cinder-migration-results/tasks/main.yaml  |  14 +++
.../templates/migration_results_reporter.py.j2     |  10 ++
tools/hooks/README                                 |   4 -
tools/hooks/run_multi_backend_matrix.sh            |  94 --------------
tools/hooks/utils.sh                               |  10 --
53 files changed, 900 insertions(+), 316 deletions(-)







More information about the Release-announce mailing list