We jubilantly announce the release of: manila 18.2.0 This release is part of the caracal release series. The source is available from: https://opendev.org/openstack/manila Download the package from: https://tarballs.openstack.org/manila/ Please report issues through: https://bugs.launchpad.net/manila/+bugs For more details, please see below. 18.2.0 ^^^^^^ Bug Fixes * Fixed share export location update when subnet is added to a network containing shares. Please refer to the Launchpad bug #2017501 (https://bugs.launchpad.net/manila/+bug/2017501) for more details. * Launchpad bug 2023754 (https://bugs.launchpad.net/manila/+bug/2023754) has been fixed for "next links" broken for limited share replicas api. * The CephFS driver used to set the "preferred" export path incorrectly. It is now fixed to set it as part of export location metadata. See Launchpad bug 2053100 (https://launchpad.net/bugs/2053100) for more details. * Share manager drivers can now update export location metadata (such as the *preferred* attribute) during the *ensure_shares* routine. (Launchpad bug: 2053100 (https://launchpad.net/bugs/2053100)) * NetApp driver bug #2058027 (https://bugs.launchpad.net/manila/+bug/2058027): Fix the issue for NetApp driver for backup feature. Backup status update used to fail when administrator misconfigured backup settings configuration or SnapMirror relationship created during backup creation was not in healthy state. * NetApp driver bug #2058642 (https://bugs.launchpad.net/tempest/+bug/2058642): Fix the backup delete issue for NetApp driver when source and destination vserver are same. Added the logic in resource cleanup part to delete the vserver peering when source and destination vserver are not same. * NetApp driver bug #2059399 (https://bugs.launchpad.net/manila/+bug/2059399): Fix the backup restore issue for NetApp driver for REST client. Backup restore is failing across the ONTAP cluster for REST client. Added the logic to use to destination vserver client for REST client to restore the backup and modify the restore lib for cmode REST client accordingly. * PowerFlex Driver bug #2066840 (https://bugs.launchpad.net/manila/+bug/2066840): The default port value of 443 has been added for the PowerFlex NAS backend. * Share server deletion happens asynchronously and failure during this delete results in leakage of neutron ports. This is fixed in two steps, first by trying to delete ports before share server deletion. Second, after ports from Manila db entries are deleted, query is made to neutron to get ports which are allocated for share server and missing in db. And then try to delete those ports. For more details please check Launchpad bug 2067266 (https://bugs.launchpad.net/manila/+bug/2067266) * Share and snapshot in deferred deletion states will be hidden from non-admin user in show API along-with existing list API. For more details, please check Launchpad bug 2067456 (https://bugs.launchpad.net/manila/+bug/2067456) * When deferred deletion is enabled, Manila will attempt regular deletion. While quota is released, and these objects (shares, snapshots) are hidden from the user. Any error during deferred deletion will put resource in *error_deferred_deleting* state. After that, it will be handled in periodic task. Also, Manila will make sure snapshot instances are deleted before share instance delete. For more details, please check Launchpad bug 2068043 (https://bugs.launchpad.net/manila/+bug/2068043) * NetApp driver bug #2069125 (https://bugs.launchpad.net/manila/+bug/2069125): Fixed the issue for the NetApp ONTAP driver in the ZAPI workflow, where certain vserver accounts failed to add access rules for a share when the vserver network interface was not configured with kerberos. * NetApp ONTAP driver will now retry the sis operation (e.g. dedupe) if sis operation is currently active. This is needed because NetApp turns on efficiency (by default) on latest hardware which causes conflicting sis operation when Manila tries to turn it off. For more details, please check Launchpad bug #2071359 (https://bugs.launchpad.net/manila/+bug/2071359) * When using Neutron networks tagged as *external* (unmanaged provider networks) as share networks, Manila now creates ports with *admin_state_up=False* (disabled). This change addresses ARP failures that can occur when using OVN as the Neutron ML2 plugin. For more information, refer to bug 2074504 (https://bugs.launchpad.net/manila/+bug/2074504). * The periodic database queries made by the share manager service to process deferred deletion of shares has been fixed to consider the host in addition to the share's state. This both improves performance of the periodic task, as well as fixes incorrect behavior where incorrect shares are retrieved by the query. Changes in manila 18.1.0..18.2.0 -------------------------------- 4aeb4be69 Update share/snapshot instance deferred deletion 06da39f37 Fix "preferred" export locations in the CephFS driver 983189916 Fix share/snapshot show for deferred deletion 6095b13f2 Optimize deferred deletion share instance get query 8a2f3a9db Fix export location metadata updates by drivers 5b77e4756 Fix export locations update when subnet is added 55865c5a8 Create ports as disabled with external networks 98ecf758f Netapp: Retry Dedupe enable/disable if busy ad8e5a1d5 Bump pylint version and fix pylint issues f83bccc14 bug fix: error message fix 44df1ec42 Fixed bug 2069125: Manila driver error with ONTAP SVM-scoped user f0c33dec5 Dell PowerFlex: Set default value for port config 994ee01e4 Fix the backup restore issue for NetApp driver for REST client 78e89ee49 Fix backup delete issue when source and destination vserver are same c75642195 Fix backup creation errors with NetApp driver 19622387d Fix leak of ports on share server deletion ef55cafac Ensure password values are not logged b46096fcd Add job to test with SQLAlchemy 2.0 61dfe2ce9 Fix the link to get the next share replica Diffstat (except docs and test files) ------------------------------------- manila/api/common.py | 21 ++- manila/api/v2/share_types.py | 2 +- manila/api/views/share_replicas.py | 1 + manila/db/api.py | 7 +- manila/db/sqlalchemy/api.py | 34 +++- manila/exception.py | 4 + manila/network/__init__.py | 3 +- manila/network/neutron/neutron_network_plugin.py | 91 +++++++-- manila/network/standalone_network_plugin.py | 3 +- manila/policies/share_snapshot.py | 6 +- manila/policies/shares.py | 6 +- manila/scheduler/evaluator/evaluator.py | 2 +- manila/share/api.py | 61 ++++-- manila/share/driver.py | 7 +- manila/share/drivers/cephfs/driver.py | 13 +- manila/share/drivers/dell_emc/driver.py | 1 + .../dell_emc/plugins/powerflex/connection.py | 6 +- manila/share/drivers/hdfs/hdfs_native.py | 1 + manila/share/drivers/infortrend/driver.py | 2 - manila/share/drivers/macrosan/macrosan_nas.py | 1 - manila/share/drivers/maprfs/maprfs_native.py | 1 + .../share/drivers/netapp/dataontap/client/api.py | 1 + .../netapp/dataontap/client/client_cmode.py | 51 +++++- .../netapp/dataontap/client/client_cmode_rest.py | 26 +-- .../netapp/dataontap/cluster_mode/data_motion.py | 10 +- .../netapp/dataontap/cluster_mode/lib_base.py | 111 +++++++---- .../netapp/dataontap/cluster_mode/lib_multi_svm.py | 6 +- manila/share/drivers/netapp/options.py | 4 +- manila/share/drivers/tegile/tegile.py | 1 + manila/share/drivers/zfssa/zfssashare.py | 1 + manila/share/manager.py | 204 +++++++++++++-------- .../dell_emc/plugins/powerflex/test_connection.py | 2 +- .../share/drivers/netapp/dataontap/client/fakes.py | 11 +- .../netapp/dataontap/client/test_client_cmode.py | 42 +++++ .../dataontap/client/test_client_cmode_rest.py | 17 +- .../netapp/dataontap/cluster_mode/test_lib_base.py | 129 ++++++++++++- ...g-2017501-fix-share-export-location-update.yaml | 7 + ...754-fix-share-replica-url-367797a27a9c314d.yaml | 6 + ...ver-preferred-path-update-70147668e0f19c4d.yaml | 7 + ...th-preferred-attr-updates-32db001aacfc8563.yaml | 6 + ...-forever-for-wrong-config-a9e10419f33ecb97.yaml | 9 + ...-destination-same_vserver-7e165f9acfec123c.yaml | 8 + ...-restore-failing-for-rest-bc060fcf893ae0f6.yaml | 10 + ...ll-powerflex-default-port-fc50b82979e3b11b.yaml | 7 + ...-on-share-server-deletion-b6faf19725727988.yaml | 10 + ...how-for-deferred-deletion-37654e034eabccc6.yaml | 6 + ...-update-deferred-deletion-dc5ea4207e06bb64.yaml | 10 + ...scoped-user-when-add-rule-1ae120a96dd8f68a.yaml | 8 + ...peratin-if-already-active-4625605175f76d07.yaml | 8 + ...ports-on-neutron-ext-nets-af3ff56da9a928df.yaml | 9 + ...-get-share-instance-query-b6366b7c3b0a64db.yaml | 8 + tox.ini | 2 +- zuul.d/project.yaml | 18 ++ 58 files changed, 1115 insertions(+), 332 deletions(-)
participants (1)
-
no-reply@openstack.org