We jubilantly announce the release of: manila 14.2.0: Shared Storage for OpenStack This release is part of the yoga stable 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. 14.2.0 ^^^^^^ Bug Fixes * Changed the error and status code that was raised when share types are not handled in shares api * Make snapshot names in CephFS drivers shorter to avoid limitation in Ceph clusters which truncates the subvolume name and makes the snapshots inaccesible. * NetApp driver bug #1982808 (https://bugs.launchpad.net/manila/+bug/1982808): Fixed issue preventing the storage system from proper clean up unused SnapMirror snapshots after a replica promote, significantly increasing the amount of space consumed in ONTAP volumes by snapshots. * Metadata APIs have been fixed to respond with HTTP 404 / Not Found when the requester does not have access to a resource that the metadata pertains to. * Share replicas in state *error_deleting* are now skipped during periodic updates. For more details, please refer to launchpad bug #2024556 (https://bugs.launchpad.net/manila/+bug/2024556) * Share server backend details set function adds db records without checking existing entries. This results in duplicate records for the combination of given share server id and key. Fixed it by updating records if already exist else creating new. See the launchpad bug 2024658 (https://bugs.launchpad.net/manila/+bug/2024658) for more details. * The "manage" API for snapshots now validates the format of "provider_location" and "share_id" fields and handles errors appropriately. These fields are expected to contain string values. * The "updated_at" field is correctly set on share and snapshot access rules when an update has been made on the database. * The CephFS driver uses a *RemoveExport* DBUS API call to the NFS/Ganesha service when a user deletes an access rule, or when deleting the share. If this call fails, the driver now provides a log of the failure, and continues cleaning up. Prior to this change, share deletion could fail if the service failed the DBUS command to drop the export. This would leave the share with an "error_deleting" status, needing administrator intervention. See bug #2035572 (https://launchpad.net/bugs/2035572) for more information. * bug #2025649 (https://bugs.launchpad.net/manila/+bug/2025649): Fixed share server API error message. Changes in manila 14.1.1..14.2.0 -------------------------------- 84111ad7c Change status and error handling for /shares API 202fa0b4a Fix policy check in metadata APIs f878e15bc [rbac] Pull up policy checks on share/snapshot APIs 67187c28f Shorten snapshots names in CephFS drivers 739301f4d Don't fail remove-export in NFS-Ganesha deee9ae1e adds share server uuid on migration cancel 4833319ca Fix error message from share server API dd0492623 Fix duplicate entries in share_server_backend_details 1b9d500f2 Set "updated_at" field on access rules f533bdb94 Validate provider_location while managing snapshot 65bcc2710 NetApp ONTAP: Fix SnapMirror snapshots not being cleaned up 4c921214f Add default to read_deleted in context's from_dict 4597939d9 skip periodic update on replicas in 'error_deleting' b73958504 [coordination] backend_url should be secret Diffstat (except docs and test files) ------------------------------------- manila/api/v1/share_servers.py | 5 +- manila/api/v1/share_snapshots.py | 3 + manila/api/v1/shares.py | 8 ++ manila/api/v2/metadata.py | 20 +++- manila/api/v2/share_snapshots.py | 3 + manila/api/v2/shares.py | 5 + manila/context.py | 2 +- manila/coordination.py | 1 + manila/db/sqlalchemy/api.py | 49 ++++++++-- manila/exception.py | 4 + manila/share/api.py | 13 +-- manila/share/drivers/cephfs/driver.py | 19 +++- manila/share/drivers/ganesha/manager.py | 3 + .../netapp/dataontap/cluster_mode/data_motion.py | 30 ++++++ .../netapp/dataontap/cluster_mode/lib_base.py | 9 ++ manila/share/manager.py | 1 + manila/share/share_types.py | 4 +- .../dataontap/cluster_mode/test_data_motion.py | 54 +++++++++++ .../netapp/dataontap/cluster_mode/test_lib_base.py | 42 +++++++++ ...nge-status-for-shares-api-5dbc4986d032c8e1.yaml | 5 + ...ten-snapshot-names-cephfs-a220e2b9f7ba5739.yaml | 6 ++ ...-snapshots-not-cleaned-up-63cc98cd468adbd1.yaml | 9 ++ ...30-fix-cross-project-rbac-328134c64c96c200.yaml | 6 ++ ...p-error-deleting-replicas-aa2ef4154d5e38f6.yaml | 6 ++ ...re-server-backend-details-adf45b417d45b437.yaml | 8 ++ ...vider-location-validation-b6d1e977f50643bb.yaml | 6 ++ ...t-updated_at-access-rules-a382a3e352f3ef7d.yaml | 5 + ...remove-export-nfs-ganesha-fd0f8eb1db800d31.yaml | 11 +++ ..._share_server_api_2025649-f818f594e97c59e6.yaml | 6 ++ 37 files changed, 473 insertions(+), 121 deletions(-)
participants (1)
-
no-reply@openstack.org