Zed Series Release Notes

21.0.0

New Features

  • Added iSCSI and Fibre Channel volume drivers for DataCore’s SANsymphony and Hyper-converged Virtual SAN storage.

  • Added a new configuration option image_conversion_disable to disallow conversion between image disk format and volume format when doing certain operations. This can prevent performance problems on a cinder-volume node due to the large amount of system resources consumed during image conversion. The default value is False, which corresponds to Cinder’s current behavior to always attempt image conversion.

    This option affects three Block Storage API calls:

    • Upload volume to image: POST /v3/volumes/{volume_id}/action with the os-volume_upload_image action. This call will result in a 400 (Bad Request) response when an image disk_format that would require conversion is requested.

    • Create a volume: POST /v3/volumes with an imageRef attribute in the request body. This will result in a 202 (Accepted) response, but if the image’s disk_format would require conversion to be written to the volume, the volume will go to error status.

    • Reimage a volume: POST /v3/volumes/{volume_id}/action with the os-reimage action. This call will result in a 202 (Accepted) response, but if the image’s disk_format would require conversion to be written to the volume, the volume will go to error status.

    In the latter two cases, an end user can determine what happened by using the Messages API, which can be accessed using the cinderclient or openstackclient.

  • Infinidat driver: Added support for revert to snapshot operation.

  • Dell PowerStore: Added NFS storage driver.

  • Yadro Tatlin Unified: Added initial version of the iSCSI driver.

  • The Swift backup driver now supports sending a X-Service-Token header with a service token when the new backup_swift_service_auth config option is enabled. Please note that you still need to configure the [service_user] group and also set send_service_user_token to enable the behavior and not only the Swift backup driver option. Note send_service_user_token enables it globally and will also affect communication with Nova and Glance.

  • 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.

  • Seagate driver: Added support for get_driver_options api call

  • Lenovo driver: Return additional configuration options from get_driver_options call

  • Hitachi driver: Add a feature Port Scheduler. This feature is enabled when specifying True for the parameter hitachi_port_scheduler. When this feature is enabled and an attach request is received, the active WWNs that are obtained by Fibre Channel Zone Manager will be distributed and registered to the host groups of each port of the storage system. To use this feature, specify True for both parameters hitachi_group_request and hitachi_rest_name_only_discovery. If you specify False or use default value for the hitachi_rest_name_only_discovery, it will take a long time to attach volume, by seeking the host group for all specified ports. This feature is supported on Fibre Channel only.

  • Infinidat driver: Added support to manage and unmanage volumes and snapshots. Also added the functionality to list the manageable volumes and snapshots.

  • os-brick file lock location can be specified independently of the Cinder service lock location using lock_path in the [os_brick] configuration section. Useful for HCI deployments and when running Cinder and Glance with Cinder backend on the same host.

  • NetApp NFS driver: add an alternative approach to perform the efficient clone image when the Glance source store and Cinder destination pool are not in the same FlexVol, but they are in the same Cluster. Previously, the driver required the copy offload tool for doing it efficiently, which is no longer available. Now, the operators can maintain their efficient clone image by relying on the storage file copy operation.

  • NetApp drivers: NFS, iSCSI and FCP drivers have now the option to request ONTAP operations through REST API. The new option netapp_use_legacy_client switches between the old ZAPI client approach and new REST client. It is default to True, meaning that the drivers will keep working as before using ZAPI operations. If desired, this option can be set to False interacting with the storage using the new REST client. However, this new client still relies on ZAPI calls for consistency group snapshot operation.

    The drivers can only be configured with REST client when using ONTAP storage 9.11.1 or newer.

    NOTE: Enabling ONTAP REST client changes the behavior of QoS specs. Earlier, QoS values could be represented in BPS (bytes per second), but now REST client only supports integer values represented in MBPS (Megabytes per second). It means that though the user specifies the value in BPS, it will be converted to MBPS and rounded up.

  • Dell PowerStore driver: Added NVMe-TCP support.

  • Pure Storage adds a new driver to support NVMe-RoCE for the FlashArray. All features of the iSCSI and FC drivers are fully supported by this new driver.

  • RBD driver: Added QoS support.

  • Starting with API microversion 3.70, encrypted volumes can be transferred to a user in a different project. Prior to microversion 3.70, the transfer is blocked due to the inability to transfer ownership of the volume’s encryption key. With microverson 3.70, ownership of the encryption key is transferred when the volume is transferred.

    When transferring an encrypted volume, its snapshots must also be transferred. Attempts to transfer an encrypted volume without transferring its snapshots are disallowed.

Upgrade Notes

  • Support for MySQL 5.5 has been dropped.

  • Python 3.6 & 3.7 support has been dropped. The minimum version of Python now supported is Python 3.8.

  • The storage_protocol treats all variants of the protocol name as the same regarding matches, so for example using FC, fc, or fibre_channel will be treated equally in the scheduler, be it when filtering using the volume type’s extra specs or when using filter and goodness functions.

    The storage protocol reporting via the REST API will be now the same for them all, using the preferred naming, FC, NVMe-oF, iSCSI, NFS…

    If your deployment uses storage_protocol to differentiate between backends that use the same protocol but report it using different variants, be aware that they will no longer be differentiated.

  • On HCI deployments and when running Cinder and Glance with Cinder backend on the same host an os-brick shared location can be configured using the lock_path in the [os_brick] configuration section.

Deprecation Notes

  • Deprecate NetApp NFS option netapp_copyoffload_tool_path. The tool is no longer available for downloading.

Bug Fixes

  • Bug #1980268: When creating a volume from an image, a check has been added to compare the requested volume size to the image’s virtual_size property and fail the request if the volume will be too small to contain the image. If the image record does not contain this property, the request is accepted but the volume will go to error status if the image does not fit (which is the current behavior).

  • Fixed a CHAP authentication issue while trying to attach an iSCSI volume using the NetApp ONTAP driver. Please refer to the Launchpad bug #1914639 for more details.

  • Bug #1929223: Fixed HTTPS certificate validation was disabled in PowerFlex connector.

  • PowerMax driver bug #1936848: Fixed Generic Volume Group error where the name has been changed in OpenStack and is not reflected on the corresponding storage group on the PowerMax.

  • RBD driver bug #1942210: When creating a volume from a snapshot, the operation could fail due to an uncaught exception being raised during a check to see if the backend Ceph installation supported the clone v2 API. The driver now handles this situation gracefully.

  • Bug #1944577: Managing a volume to an encrypted type was never a good idea because there was no way to specify an encryption key ID so that the volume could be used. Requests to manage a volume to an encrypted volume type now result in an invalid request response.

  • IBM DS8000 Driver Bug #1951046: Fixed detach issue for multi-attach volumes. Detach the volume without deleting the host until attachment count is zero.

  • NetApp ONTAP driver bug #1955057: Fixed the function get_ontap_version on Cinder NetApp driver, now it returns a tuple of integers instead of a string.

  • RBD Driver bug #1957073: Fixed snapshot deletion failure when its volume doesn’t exist.

  • IBM Spectrum Virtualize family driver Bug #1960314: Fixed resize issue for GMCV volumes which are a part of a consistency group(CG).

  • IBM Spectrum Virtualize family driver Bug #1960315: Fixed delete and resize volume issues in during reverse replication and added support to extend the volume for failover scenarios.

  • IBM Spectrum Virtualize Family driver: Bug #1961548: Optimize lsvdisk and lssystem calls to reduce the computational time for creating GMCV volumes.

  • Bug #1965847: Fixed issue where importing a backup record for a backup_id that currently existed had the unfortunate side effect of deleting the existing backup record.

  • IBM Spectrum Virtualize family driver Bug #1966639: Fixed resize issue in reverse replication for the volumes which are a part of a consistency group(CG).

  • IBM Spectrum Virtualize Family driver: Bug #1968159: Fix for retype failure for replicated volume-type. Controlling chfcmap call for rc_controlled fcmap for replication-type volumes during retype operation.

  • Bug #1968170: Fixed the message created when nova fails to reimage the volume.

  • Bug #1970768: Fixed status of temporary volumes when creating backups and reverting to a snapshot, preventing accidental manual deletion of those resources.

  • IBM Spectrum Virtualize Family driver: Bug #1976499: Setting correct SVC Code level for lsfcportsetmember call.

  • Bug #1978729: Fixed context.message_action is None on errors by backup drivers. The message_* properties of the context were not passed during rpc, which caused a double exception when a backup driver raised an exception, masking the actual backup driver exception.

  • Infinidat Driver bug #1981354: Fixed Infinidat driver to return all configured and enabled iSCSI portals for a given network space.

  • Infinidat Driver bug #1981982: Fixed Infinidat driver to use TLS/SSL communication between the Cinder volume service and the storage backend. Admin can set True or False for the driver_use_ssl and suppress_requests_ssl_warnings options in the driver section of cinder.conf to enable or disable these features.

  • IBM Spectrum Virtualize Family driver: Bug #1982078: Fixed the default portset value during driver initialization.

  • RBD driver bug #1916843: Fixed rpc timeout when backing up RBD snapshot. We no longer flatten temporary volumes and snapshots.

  • Bug #1979666: PowerMax driver : Fixed rare case where the SRP in the local and remote arrays are different when managing volumes into OpenStack. For backward compatibility and name matching, the default storage group will assume the SRP name of the local array on both arrays.

  • Bug #1969366: Fixed reporting of cacheable capability by drivers.

  • Fix NetApp iSCSI and FC driver issues with custom initiator groups. (bug 1697490).

  • NFS driver bug #1946059: Fixed revert to snapshot operation.

  • PowerFlex driver bug #1942095: 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 a volume cache is invalidated to allow a new row of fast volume clones.

  • Bug #1966103: Fixed inconsistent behavior of storage_protocol among different backends that report variants of the protocol name, such as FC, fc, fibre_channel.

  • Bug #1901188: Fix unnecessary migration on retype when QoS has the same elements in both types.

  • Hitachi driver bug #1989176: Fixed Hitachi driver to output a message for resource lock correctly.

  • HPE 3PAR driver Bug #1819903: Fixed: umanaged volumes & snapshots missing from cinder manageable-list.

  • HPE 3PAR driver Bug #1958122: Fixed issue of multi-detach operation in multi host environment.

  • NetApp ONTAP bug #1958245: In an ONTAP flexgroup replication environment, snapmirror creation would succeed but a driver bug caused an error message to be logged for the cinder-volume service. The issue has been corrected in this release.

  • NetApp ONTAP: Fix check QoS minimum support for SVM scoped account. See: Bug #1924798.

  • NetApp SolidFire driver Bug #1934435: Fixed errors that might occur when an operation is made to a volume at the same time as the Element OS upgrades.

  • NetApp SolidFire driver bug #1934459: Fixed backend initialization failing with RecursionError error when OSProfiler is enabled.

  • PowerStore driver bug #1981068: Fixed request data validation for the REST client.

  • Bug #1951982: Fixed cloning of encrypted volumes not using multipathing to change the encryption key used on the new volume.

  • Bug #1951977: Fixed backup create and restore not using multipath configuration when attaching the volume.

  • Kaminario driver bug #1951981: Fixed create volume from volume or snapshot not using multipath configuration.

Other Notes