We eagerly announce the release of: cinder 20.2.0: OpenStack Block Storage This release is part of the yoga 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. 20.2.0 ^^^^^^ New Features ************ * Dell EMC PowerStore driver: Report trimming/discard support to Nova and Cinder. * Dell EMC PowerMax driver: Report trimming/discard support to Nova and Cinder. * Dell EMC PowerFlex driver: Report trimming/discard support to Nova and Cinder on thin volumes that don't have snapshots. Not doing trim on volumes with snapshots is the vendor's recommendation, but can be overriden with the "report_discard_supported" 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 ********* * Bug #1910767 (https://bugs.launchpad.net/cinder/+bug/1910767): Fixed the calculation of the allocated capacity for the volume manager. The fix takes into account all volumes that have a host setting, not just volumes with a status of 'in-use' or 'available'. * 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). * 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 20.1.0..20.2.0 -------------------------------- d4535c774 Remove multiatttach request parameter f2faf7d70 Filter reserved image properties 8c4d7bf01 [stable-only] Pin tox <4 aa920e2fd Bugfix: Account for consumed space better 8c3822c92 DEMC: Add support for trim/discard 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 ----- .../drivers/dell_emc/powermax/test_powermax_fc.py | 1 + .../dell_emc/powermax/test_powermax_iscsi.py | 2 + cinder/volume/api.py | 6 +- cinder/volume/drivers/dell_emc/powerflex/driver.py | 14 ++++- cinder/volume/drivers/dell_emc/powermax/common.py | 1 + cinder/volume/drivers/dell_emc/powermax/fc.py | 4 +- cinder/volume/drivers/dell_emc/powermax/iscsi.py | 4 +- .../volume/drivers/dell_emc/powerstore/adapter.py | 2 + .../volume/drivers/dell_emc/powerstore/driver.py | 3 +- cinder/volume/flows/api/create_volume.py | 12 +--- cinder/volume/manager.py | 4 +- .../notes/bug-1910767-00f20702f5fc96db.yaml | 7 +++ releasenotes/notes/demc-trim-bb2165f74a5703a6.yaml | 13 +++++ ...reserved-image-properties-9519ddc080e7ed1a.yaml | 28 +++++++++ ...multiattach-request-param-4444e02533f919da.yaml | 20 +++++++ tox.ini | 4 +- 30 files changed, 256 insertions(+), 129 deletions(-)
participants (1)
-
no-reply@openstack.org