Train Series Release Notes¶
Added a new config option netapp_ssl_cert_path for NetApp driver. This option enables the user to choose the directory with certificates of trusted CA or the CA bundle. If set to a directory, it must have been processed using the c_rehash utility supplied with OpenSSL. If not informed, it will use the Mozilla’s carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates.
An RBAC policy check has been enforced against the GET /share-access-rules API to ensure that users are permitted to access the share that the access rule belongs to. See bug 1917417 for more details.
Fixed an issue on ONTAP NetApp driver that caused access rules not to be applied to a promoted replica using CIFS protocol. Please refer to the Launchpad bug #1896949 for more details.
Fixed an issue on ONTAP NetApp driver that was forcing the location of CA certificates for SSL verification during HTTPS requests. It adds the netapp_ssl_cert_path configuration, enabling the user to choose the directory with certificates of trusted CA or the CA bundle. If set to a directory, it must have been processed using the c_rehash utility supplied with OpenSSL. If not informed, it will use the Mozilla’s carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates. Please refer to the Launchpad bug #1900191 for more details.
An issue with RPC handling on service restart was addressed by ensuring proper initialization before creating the RPC consumer. See bug 1271568 for more details.
Fixed an issue during snapshot creation where a database error was being mishandled with dead code. See Launchpad bug 1475351 for more details.
A bug with storage protocol filtering in the scheduler has been fixed. See bug for more details.
Fixed an issue while bringing shares under Manila management. Now, when a share is being managed and there is no available quota to complete this operation, the service will allow the quotas to be exceeded and the operation will be completed. The administrator will need to adjust the quotas after. Please see Launchpad bug for more details.
Fixed bug #1886232 that causes an INFO message saying the python-manila package was not found. Now, the package name was updated to python3-manila. This fix solves only in the case that the user installed the manila using the default packages found in OS.
Fixed a bug that if extend a volume after shrink it under generic driver, it may have a wrong real size. Please see Launchpad bug #1909951 for more details.
Resizing 0.0.0.0/24 accessible NFS shares with generic driver
The scheduler stats resource APIs (/scheduler-stats/pools and /scheduler-stats/pools/detail) have been fixed to not return an arbitrary traceback in the error message body to the caller when access to the resource has been denied.
Authentication errors when loading service clients of OpenStack Compute (nova), OpenStack Volume (cinder) and OpenStack Networking (neutron) services are now handled in a better manner.
Fixed NotFound error in share replica periodic tasks. It could happen that the parent share of the replica that was being worked on had already been deleted.
Fixed periodic_share_replica_update() to skip active replicas similarly to periodic_share_replica_snapshot_update(). The intention is to check on non-active replicas, that can be ‘in_sync’, ‘out_of_sync’ or in ‘error’ state.
Corrected an error message for attempts to create snapshots from shares that do not support this operation. The message said that the share backend has no such support but that is not always true. The original share for the snapshot does not support snapshots because it was created with a share type without the
snapshot_supportextra-spec set, irrespective of whether the back end used can itself support snapshots or not.
Fixed an issue that made migrated shares with replication support to do not have a share instance with its replica_state set to active. Now, when the share supports replication, the destination share instance will have its replica state set as active right after the migration gets completed. For more details, please refer to bug 1927060
Filtering shares by share-type “extra_specs” as key=value now returns the expected output.
Fixed an issue with ONTAP AFF platforms while creating shares that forced volumes to have efficient data saving even when the contrary was specified. For more details, please refer to launchpad bug #1929421
NetApp driver: fixed an issue with the ONTAP 9.8 and older, for scoped account users, where the operation of deleting a replica was not working, but returned a message of success. For more details, please refer to launchpad bug #1934889
New user message now alerts users when attempting to create a new share without identifying a share type, either through request body or by setting a default share type. See bug #1870280 for more details.
The API to import shares into manila could sometimes allow a share to be “managed” into manila multiple times via different export paths. This API could also incorrectly disallow a manage operation citing a new share in question was already managed. Both issues have now been fixed. See bug #1848608 and bug #1893718 for more details.
Fixed bug #1878993 that caused a failure on HTTPS connections within NetApp backend using python 3.7.
Fixed an issue while promoting back share replicas created using CIFS protocol. Please refer to the Launchpad bug #1879368 for more details.
Fixed bug #1886010 This bug caused glusterfs shares to still be readable/writable to connected clients while the share was deleted from manila.
An error with share group snapshot creation and deletion due to missing attributes has been fixed. See Launchpad bug 1888905 for more information.
Fixed bug #1894362 Fixed the problem of Couldn’t find the’gluster_used_vols’ error when deploying glusterfs driver multi-backend service and deleting share instance.
The NetApp cDOT driver now sets the required NFS options for clients running Windows operating systems with NFSv3 support.
The configuration option
netapp_migration_cancel_timeoutcan be specified in the NetApp backend section to redefine the amount of time that the NetApp driver must attempt to wait on the asynchronous operation to cancel an ongoing migration. This option is set to 3600 seconds by default, which is sufficient time in most cases.
Dell EMC Unity Driver: Fixes bug 1841035 to avoid lots of error messages displayed in logs.
NetApp ONTAP share delete operation can fail sometimes when is triggered immediately after migration cancelation on a overloaded NetApp backend. Canceling an ongoing migration is an asynchronous operation on an ONTAP storage system. Now the NetApp driver checks if the asynchronous API has ended its operation before reporting migration cancelation success. If the operation of the asynchronous API did not end within the specified timeout, the
migration cancelcancel operation will be considered unsuccessful. To do so, a new configuration option
netapp_migration_cancel_timeouthas been added.
Fixed the Generic driver to evict and kill any user processes accessing a share before attempting to extend or shrink a CIFS share.
A new user message has been added in case of share extensions failing asynchronously.
Fixed unneeded all ports list request to Neutron in service instance helper module on tearing down service subnet, Neutron can filter them by subnet_id itself.
NetApp ONTAP driver is now fixed to avoid the deletion of Cluster and Default ipspaces when deleting a share server. This issue was happening only when operating in driver_handles_share_servers enabled mode and creating shares using flat network type. See Launchpad bug 1880747 for more details.
Fixed bug #1882590 that caused an error on starting a NetApp backend when using the SVM scoped account.
Fixed launchpad bug #1885956 by ensuring that policy checks are enforced when looking up a share-type by name. This prevents a problem where shares could be stuck in CREATING status when a user attempts to create a share using the name of a private share-type to which the user lacks access.
The NetApp cDOT driver now validates the configuration of preferred domain controller(s) added in CIFS security service server setup. The mandatory option
skip-config-validationwas introduced to
cifs-domain-preferred-dc-addwith ONTAP 9.5.
The LVM driver no longer fails to delete shares, snapshots and access rules that are missing from storage. See Launchpad bug #1888915 for more details.
Fixed an issue with Unity driver fails to delete CIFS share if wrong access was set.
Fixed Launchpad bug 1699836 by preventing share type deletion when there are share group types associated with them.
NetApp cDOT driver is now fixed to remove the QoS Policy on the backend volume when a share is migrated from an extra-spec which had QoS defined to another extra-spec which has no QoS defined in it.
The NetApp cDOT driver is now fixed to honour the standard extra_specs during migration and manage/unmanage.
Fixed an issue in NetApp driver share replica periodic check that erroneously set a replica state to ‘error’. In this routine, a SnapMirror resync operation was being triggered while the replica data transfering is still in progress, receiving an error from the storage side. The driver now skips resync operation for all in progress SnapMirror relationship status.
Fixed an issue in NetApp driver when shrinking shares to a size smaller than the current used space. Now it will return a more appropriate error status called
Launchpad bug 1869148 has been fixed. This bug could have affected environments where extension APIs were provided in compiled files rather than source code.
Reduces an increase of schedule time for non thin provisioned backends. On those backends, there is no need to calculate provisioned_capacity_gb, as it is not used during the scheduling. This calculation was not scaling properly on big environments as it implies many database queries.
Fixed the cleanup for private share types and share group types to include clearing out the database entries recording project specific access rules to these types. See Launchpad bug 1870751 for more details.
NetApp cDOT driver is now fixed to not create peer relationship between same share servers when handling share replica creation and promotion. This issue was happening when operating in driver_handles_share_servers enabled mode with backends configured with more than one pool. See Launchpad bug 1872243 for more details.
Fixed quota issue that made it impossible to create resources when the project had the quotas set to unlimited, and the user had a limited amount of quotas to use. Now, operations in the mentioned quota scenario are working properly. Please see Launchpad bug 1872872 for more details.
Updated the scheduler pool attributes
allocated_capacity_gbto accommodate shares being created. This helps maintain an approximate tally of these attributes in between back end scheduler updates.
NetApp cDOT driver is now fixed to not trigger peer accept operation between share servers that belong to the same cluster, when handling share replica creation and promotion. This issue was happening when operating in driver_handles_share_servers enabled mode with multiple backends configured within the same cluster. See Launchpad bug 1873963 for more details.
A “no-op” interface driver (manila.network.linux.interface.NoopInterfaceDriver) has been introduced to work with drivers that create and manage lifecycle of share servers (
driver_handles_share_servers=True) through service instance virtual machines using OpenStack Compute. This interface driver can be used when manila-share is running on a machine that has access to the administrator network used by Manila.
Closes a gap where a user can see the export locations for another user’s share if the uuid of the other share is leaked, stolen, or (improbably) guessed.
CVE-2020-9543: An issue with share network retrieval has been addressed in the API by scoping unprivileged access to project only. Please see launchpad bug #1861485 for more details.
Fixed Quota exceeded exception for snapshot creation. Consumed gigabytes now reports the snapshot gigabytes instead of share gigabytes usage.
Improved share list speed using lazy=’subquery’. The sqlalchemy models of Share and Share Instance relationships previously had lazy=’immediate’. This resulted in at least three extra queries when we queried for all share details.
Share type extra-specification
share_backend_nameis now ignored when creating share replicas. This ensures that backends in the same replication domain need not have the same value of
share_backend_name. See launchpad bug #1634734 for details.
The NetApp ONTAP driver is now fixed to allow extension and shrinking of share replicas after they get promoted.
Fixed an issue with the Dell EMC Unity driver to work with a management IP configured in IPv6 format.
Fixed unexpected behavior when updating a share network’s neutron_net_id or neutron_subnet_id. Now, Manila does not allow updating a share network that does not contain a default subnet.
Added Manila share driver for Infortrend storage systems.
Add Inspur InStorage driver.
share_type_access:is_publicattributes of share types can be updated with API version
IPv6 support for CephFS Manila driver with NFS gateway.
For glusterfs_nfs driver, added share extend/shrink support.
The new Infortrend driver supports GS/GSe Family storage systems.
Add new Inspur InStorage driver, support share create, delete, extend, and access through NFS and CIFS protocol.
The NetApp driver now supports replication with
driver_handles_share_serversset to True, in addition to the mode where the driver does not handle the creation and management of share servers. For replication to work across ONTAP clusters, clusters must be peered in advance.
Added revert to snapshot support for NexentaStor5 driver.
Added manage existing support for NexentaStor5 driver.
Rebrand from VMAX to PowerMax includes changing of tag names, directory structure, file names and documentation.
Added APIs with default policy set to ‘rule:default’ that allow the creation of share networks with multiple subnets. This gives the users the ability to create multiple subnets in a share network for different availability zones. Also, users will be able to delete and show existing subnets.
Updated the share server API to make possible to manage share servers in a specific subnet when the driver is operating in
Share servers are now associated with a single share network subnet, which pertain to a share network.
Dell EMC Unity Manila driver now supports the mode in which it does not itself create and destroy share servers (DHSS=False).
The configuration option for the manila-data service,
data_node_access_ipfrom the [DEFAULT] section is no longer supported. It was deprecated in favor of
data_node_access_ipsin the OpenStack Shared File Systems (manila) service release 6.0.0 (Queens).
The LVM driver configuration option
lvm_share_export_ipis no longer supported. This option has been replaced by
lvm_share_export_ipswhich accepts a comma-separated string of IP addresses of the host exporting the LVM shares (NFS/CIFS share server).
Added a new config option
nexenta_ssl_cert_verify. This option defines whether the NexentaStor5 driver should check ssl certificate.
Added a new config option
nexenta_rest_connect_timeout. This option specifies the time limit (in seconds), within which the connection to NexentaStor management REST API server must be established.
Added a new config option
nexenta_rest_read_timeout. This option specifies the time limit (in seconds), within which NexentaStor management REST API server must send a response.
Added a new config option
nexenta_rest_backoff_factor. This option specifies the backoff factor to apply between connection attempts to NexentaStor management REST API server.
Added a new config option
nexenta_rest_retry_count. This option specifies the number of times to repeat NexentaStor management REST API call in case of connection errors and NexentaStor appliance EBUSY or ENOENT errors.
Added a new config option
nexenta_dataset_record_size. This option specifies a suggested block size in for files in a filesystem’
emc_share_backendconfiguration option must be switched from
powermaxif using a newly rebranded PowerMax storage backend.
If using a PowerMax storage backend, deprecated options
emc_interface_portscan no longer be used. They must be replaced by
On upgrading to this release, all existing share networks will be updated to accommodate an availability zone assignment. Existing share networks will have their availability zone set to “empty” indicating that they are available across all storage availability zones known to manila.
The following have been deprecated but will remain until the V release
The NetApp ONTAP driver is now fixed to unmount the original active share volume after one of its replica gets promoted.
The NetApp ONTAP driver is now fixed to set revert_to_snapshot_support to True or False depending upon SnapRestore License.
When the OpenStack administrator has a busy environment that contains many shares, the list operation with –limit parameter was taking too long to respond. This lag has now been fixed. See the launchpad bug 1795463 for more details.
When manila API is run behind a proxy webserver, the API service was parsing the major API version requested incorrectly, leading to incorrect responses. This behavior has now been fixed. See launchpad bug 1818081 for more details.
Update share networks with MTU before creating network allocations so that the first allocation in a share network is correct.
Fixed an issue with the NetApp driver failing during a rollback operation in the share server creation.
Launchpad bug 1822815 has been fixed. The user no longer gets an error if the list command has no rows when executing manila list –count True.
A share network cannot be provided while creating a share replica. Replicas will inherit the share’s share network if one exists.