We are psyched to announce the release of: manila 20.0.1 This release is part of the epoxy 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. 20.0.1 ^^^^^^ New Features ************ * A new module, "manila.wsgi", has been added as a place to gather WSGI "application" objects. This is intended to ease deployment by providing a consistent location for these objects. For example, if using uWSGI then instead of: [uwsgi] wsgi-file = /bin/manila-wsgi You can now use: [uwsgi] module = manila.wsgi.api:application This also simplifies deployment with other WSGI servers that expect module paths such as gunicorn. Security Issues *************** * Closes a gap where a user can see the snapshots belonging to another project if the uuid of the snapshot is leaked, stolen or (improbably) guessed. Bug Fixes ********* * Share replica snapshot creation was taking considerable time due to db operations and resulted in delay of execution for periodic tasks. Fixed it by fetching replicas without share data or without share server data wherever necessary. For more details, please check Launchpad bug #2008497 (https://bugs.launchpad.net/manila/+bug/2008497) * Improve scheduler performance to estimate the allocated capacity for thin provisioning hosts. * Dell Unity Driver Bug #2020745 (https://bugs.launchpad.net/manila/+bug/2020745): Fixed driver startup issue with link aggregation configured. * An issue that caused the shares to be stuck in the 'ensuring' status when the driver was restarted in the middle of the ensure operation has been fixed. For more details, please refer to Launchpad bug #2102673 (https://bugs.launchpad.net/manila/+bug/2102673) * Manila now correctly handles the 'server_migrating' status of share and snapshot instances during share server migration especially during share server belonging to non-active replica. For more details, please check Launchpad bug #2104357 (https://bugs.launchpad.net/manila/+bug/2104357) * Fixed an issue while creating shares due to an undesired retention period parameter in NetApp ONTAP driver. Fixed this by moving retention_period in PATCH instead of POST api request. For more details, please check Launchpad bug #2111918 (https://bugs.launchpad.net/manila/+bug/2111918) * NetApp ONTAP driver CIFS access control creation fixed for duplicate entry exception which means access already exist. For more details, please check Launchpad bug #2114969 (https://bugs.launchpad.net/manila/+bug/2114969) * Manila will report IpAddressGenerationFailureClient exception if neutron subnet is full i.e. no more ports can be created on neutron subnet. For more details, please refer to launchpad bug #2120176 (https://bugs.launchpad.net/manila/+bug/2120176) * The NetApp ONTAP driver failed while checking for WORM shares compliance and data ports for LIF creaton during the shares creation. The issue is now fixed, and share creation works fine with both rest and netapp legacy client. For more details, please refer to Launchpad bug #2120291 (https://bugs.launchpad.net/manila/+bug/2120291). * Fixed an issue that caused shares to be stuck in *ensuring* status when the back end driver does not support the bulk ensure shares operation. * NetApp Driver bug #2128702 (https://bugs.launchpad.net/manila/+bug/2128702): Previously, setting netapp_delete_retention_hours to 0 in the Manila configuration did not configure the retention period to zero. This patch fixes the issue, and the retention period can now be set to zero. * Fixed an issue that caused the share replica promotion to fail due to missing replica attributes in the NetApp driver while using the REST API. For more details, please refer to launchpad bug #2130717 (https://bugs.launchpad.net/manila/+bug/2130717). * Fix subnet cleanup for server instances without routers. Previously, when tearing down a server instance that had no router specified in its details, the associated subnet was not cleaned up because the subnet cleanup code was never executed. * NetApp ONTAP driver now updates correct export location after promotion of share replica of replication type readable. For more details, please check Launchpad bug #2104153 (https://bugs.launchpad.net/manila/+bug/2104153) Changes in manila 20.0.0..20.0.1 -------------------------------- 066a6d9f5 bug/2130717 Fix KeyError in modify_volume when autosize attributes missing 908cc91ce Fix shares getting stuck in ensuring status 721759410 Allow configuring netapp volume retention period to zero 0d87f4b8f [NetApp] guard already existing cifs access 3904baecc Improve scheduler performance on thin provisioning 7c7fb884b Dell Unity: Fix driver startup issue with LACP configured b57371e57 Handle Neuton Subnet Full Exception 36b202934 Fix ensure shares operation cfc8ccef6 [NetApp-REST] Fixing basic share creation failure 9994dde8a Fix server instance subnet cleanup f957732fa Update get_snapshot to return 404 if snapshot is inaccessible 40a4fd565 NetApp: Fix vserver create REST API 744bbbb44 NetApp: Fix export location during replica promote 47c9a6ebf improve db calls in periodic replica tasks b4168f42d Add pyproject.toml eaf4c0a15 Add new manila.wsgi module e055c6583 Handle race condition for share server delete 9d1bede74 Fix 'server_migrating' status of non-active replica Diffstat (except docs and test files) ------------------------------------- devstack/plugin.sh | 2 +- devstack/settings | 2 +- manila/db/api.py | 5 + manila/db/sqlalchemy/api.py | 15 +- manila/exception.py | 4 + manila/message/message_field.py | 11 +- manila/network/neutron/api.py | 6 + manila/network/neutron/neutron_network_plugin.py | 8 +- manila/scheduler/host_manager.py | 10 +- manila/share/api.py | 23 ++-- .../drivers/dell_emc/plugins/unity/connection.py | 3 +- .../share/drivers/dell_emc/plugins/unity/utils.py | 7 +- .../netapp/dataontap/client/client_cmode.py | 23 ++-- .../netapp/dataontap/client/client_cmode_rest.py | 76 ++++++++--- .../netapp/dataontap/cluster_mode/lib_base.py | 20 ++- .../netapp/dataontap/cluster_mode/lib_multi_svm.py | 7 + manila/share/drivers/service_instance.py | 25 ++-- manila/share/manager.py | 83 ++++++++--- .../drivers/dell_emc/plugins/unity/test_utils.py | 22 +++ .../share/drivers/netapp/dataontap/client/fakes.py | 47 +++++-- .../netapp/dataontap/client/test_client_cmode.py | 63 +++++++-- .../dataontap/client/test_client_cmode_rest.py | 141 ++++++++++++++++++- .../netapp/dataontap/cluster_mode/test_lib_base.py | 17 ++- manila/wsgi/api.py | 24 ++++ pyproject.toml | 3 + .../add-manila-wsgi-module-ad9bb910f7f3b816.yaml | 22 +++ ...-snapshots-create-request-6facee90320fecca.yaml | 8 ++ ...187-scheduler-performance-2edc4c706b2fea2f.yaml | 5 + ...g-2020745-dell-unity-lacp-8653da49ad901c5c.yaml | 6 + ...-on-share-server-deletion-b6faf19725727988.yaml | 3 +- ...-shares-stuck-in-ensuring-190ce5519c33baad.yaml | 7 + ...tus-of-non-active-replica-6af28a67a4684d16.yaml | 7 + ...entention-period-rest-api-e73b358ccc6e7b37.yaml | 7 + ...eady-existing-cifs-access-df01145c6782e880.yaml | 6 + ...ton-Subnet-Full-Exception-9cb634909f0dc716.yaml | 7 + ...re-creation-failure-fixes-f768ba19f3157db4.yaml | 9 ++ ...share-snapshots-retrieval-b4c66a3e90bd38af.yaml | 6 + ...-shares-stuck-in-ensuring-44fbb778fa5b3d2d.yaml | 5 + ...p-volume-retantion-period-24a524c2b91d866e.yaml | 9 ++ ...e-mode-key-error-for-rest-e7958807a5e2e0e5.yaml | 9 ++ .../fix-no-router-server-0d5bf587063f22fc.yaml | 7 + ...-readable-replica-promote-8e0c4be5f1966e53.yaml | 6 + setup.py | 5 +- 50 files changed, 884 insertions(+), 152 deletions(-)
participants (1)
-
no-reply@openstack.org