We are thrilled to announce the release of: cinder 17.3.0: OpenStack Block Storage This release is part of the victoria 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. 17.3.0 ^^^^^^ New Features ************ * HPE 3PAR Driver: Add support of iSCSI driver for Primera 4.2 or higher versions. 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 #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. * 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. * 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 #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. Changes in cinder 17.2.0..17.3.0 -------------------------------- fac676112 Reject bad img formats for uploaded encrypted vols 4115ca21f Volume transfers: Remove duplicate policy check ad392294a [stable-only] Specify openstacksdk stable branch 399da0782 Fix: Race between attachment and volume deletion bc6585577 Expose volume_attachments in Volume OVO 3339bfb83 Fix volume OVO create method 6be7ee3b6 Remove unnecessary save call 2aa799bbf Fix old attach method 362b7e14f Delete attachment on remove_export failure c9d3cc966 Fix detach notification 239030522 [RBD] Fix snapshot backup name a80b967ab 3PAR: Allow iSCSI driver to be enabled for Primera 4.2 onwards. 81f462778 Log connection info returned from driver 5379af08f RBD: Open RBD images read-only where possible bda74498d Tests: Fix compatibility with ddt 1.2.x 5dcfe0224 PowerMax Driver - Allow for case mismatch in SGs 63fdf88d9 Native multibackend-matrix Zuul v3 job 8e48b4ded 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/backup/drivers/ceph.py | 5 +- cinder/common/config.py | 12 +-- cinder/db/sqlalchemy/api.py | 116 ++++++++++++--------- cinder/db/sqlalchemy/models.py | 10 ++ cinder/objects/volume.py | 16 ++- .../unit/attachments/test_attachments_manager.py | 51 ++++++++- .../dell_emc/powermax/test_powermax_rest.py | 16 +++ .../unit/volume/flows/test_create_volume_flow.py | 6 +- cinder/volume/api.py | 81 +++++--------- 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/hpe/hpe_3par_iscsi.py | 17 ++- cinder/volume/drivers/rbd.py | 15 ++- cinder/volume/manager.py | 22 ++-- .../block-storage/drivers/hpe-3par-driver.rst | 6 +- playbooks/cinder-multibackend-matrix.yaml | 35 +++++++ .../notes/bug-193688-bb045badcd5aecad.yaml | 12 +++ ...1947518-rbd-open-readonly-ba523c4b0ddbba76.yaml | 9 ++ .../notes/bug1929429-e749f5e5a242a599.yaml | 8 ++ .../detach-notification-31ae15dafdef36c1.yaml | 9 ++ .../notes/detach-race-delete-012820ad9c8dbe16.yaml | 6 ++ ...ix-transfer-accept-policy-7594806372b14284.yaml | 8 ++ ...pe-3par-primera-add-iscsi-5af339643dfa0928.yaml | 5 + ...ct-host-config-option-347e60f957458d54_new.yaml | 7 ++ ...failure_leaves_attachment-24e0c648269b0177.yaml | 6 ++ .../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 -- 46 files changed, 583 insertions(+), 293 deletions(-)