We are ecstatic to announce the release of: manila 10.0.1: Shared Storage for OpenStack This release is part of the ussuri 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. 10.0.1 ^^^^^^ Upgrade Notes ************* * The configuration option "netapp_migration_cancel_timeout" can 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. Bug Fixes ********* * 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 cancel" cancel operation will be considered unsuccessful. To do so, a new configuration option "netapp_migration_cancel_timeout" has 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. * Added a new user message when share shrinking fails due to operation not being supported by the driver. * Fixed bug #1878993 (https://bugs.launchpad.net/manila/+bug/1878993) that caused a failure on HTTPS connections within NetApp backend using python 3.7. * 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 (https://launchpad.net/bugs/1880747) for more details. * Fixed bug #1882590 (https://bugs.launchpad.net/manila/+bug/1882590) that caused an error on starting a NetApp backend when using the SVM scoped account. * Fixed launchpad bug #1885956 (https://bugs.launchpad.net/manila/+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-validation" was introduced to "cifs-domain-preferred-dc-add" with ONTAP 9.5. Changes in manila 10.0.0..10.0.1 -------------------------------- 7248532d [NetApp] update set_preferred_dc for ontapi 1.150 eb0de241 Update NFS helper restart 2a3c18ed Update LVM volume extend e02cc6d6 Enforce policy checks getting share-type by name 71c3a08e [NetApp] Fix falsely report migration cancelation success 2dbdace6 [NetApp] Fix HTTPS connection for python 3.7 b5e541a6 [NetApp] Fix svm scoped account 09cb988f Fix uwsgi path location 1e8e154f [Unity]: Failed to enabled ACE for share c1bebf39 Add documentation for share replica quotas 5d1c3067 [devstack] Allow cephfs daemon port access 9468f385 Add user guide for share network subnets 43d0241b Update admin guide for share network subnets change 3cbceccc Add user message when share shrinking fails at the driver 95d251e3 CIFS extension failing because of volume in use 2fe7452b [NetApp] Fix default ipspace deletion issue 1c25df05 Get ports filtered by subnet id on share-server cleanup 7196cfcb Monkey patch original current_thread _active 294ba7c3 [devstack][ci] Set public network ID in tempest.conf fc9ac3cb [devstack][ci] Move bgp setup to plugin 94486eb4 [devstack][ci] Modify firewall in ds-plugin 58105a2d [devstack][ci] Stop requiring g-reg service Diffstat (except docs and test files) ------------------------------------- api-ref/source/limits.inc | 14 +- api-ref/source/parameters.yaml | 87 ++++++ api-ref/source/quota-classes.inc | 11 + api-ref/source/quota-sets.inc | 17 ++ api-ref/source/samples/limits-response.json | 6 +- .../samples/quota-classes-show-response.json | 4 +- .../samples/quota-classes-update-response.json | 4 +- .../source/samples/quota-show-detail-response.json | 8 +- api-ref/source/samples/quota-show-response.json | 4 +- api-ref/source/samples/quota-update-request.json | 3 +- api-ref/source/samples/quota-update-response.json | 4 +- contrib/ci/post_test_hook.sh | 24 -- contrib/ci/pre_test_hook.sh | 2 + devstack/plugin.sh | 64 ++++- devstack/settings | 5 + ...ared-file-systems-manage-and-unmanage-share.rst | 6 + .../admin/shared-file-systems-share-networks.rst | 157 ++++++++++- .../shared-file-systems-share-replication.rst | 23 +- .../admin/shared-file-systems-share-resize.rst | 8 + ...shared-file-systems-share-server-management.rst | 11 + .../configuration/shared-file-systems/overview.rst | 4 + .../development-environment-devstack.rst | 2 +- .../contributor/samples/container_local.conf | 3 + .../contributor/samples/zfsonlinux_local.conf | 3 + .../user/share-network-subnet-operations.rst | 120 ++++++++ manila/api/v1/shares.py | 3 +- manila/cmd/api.py | 6 + manila/cmd/data.py | 6 + manila/cmd/scheduler.py | 6 + manila/cmd/share.py | 6 + manila/db/sqlalchemy/api.py | 3 +- manila/message/message_field.py | 7 +- .../share/drivers/dell_emc/plugins/unity/client.py | 10 +- .../drivers/dell_emc/plugins/unity/connection.py | 3 +- manila/share/drivers/helpers.py | 31 ++- manila/share/drivers/lvm.py | 3 +- .../share/drivers/netapp/dataontap/client/api.py | 51 ++-- .../netapp/dataontap/client/client_cmode.py | 6 + .../netapp/dataontap/cluster_mode/lib_base.py | 67 ++++- .../netapp/dataontap/cluster_mode/lib_multi_svm.py | 6 +- manila/share/drivers/netapp/options.py | 8 +- manila/share/drivers/service_instance.py | 13 +- manila/share/manager.py | 10 + .../share/drivers/netapp/dataontap/client/fakes.py | 4 +- .../drivers/netapp/dataontap/client/test_api.py | 47 ++-- .../netapp/dataontap/client/test_client_cmode.py | 27 +- .../netapp/dataontap/cluster_mode/test_lib_base.py | 128 ++++++--- .../run.yaml | 1 + .../run.yaml | 1 + .../run.yaml | 1 + .../run.yaml | 1 + .../run.yaml | 3 +- .../manila-tempest-minimal-dsvm-lvm/run-ipv6.yaml | 3 +- .../manila-tempest-minimal-dsvm-lvm/run.yaml | 3 +- ...nity-fix-ace-enable-error-b00281bb306d176b.yaml | 7 + ...app-migration-cancelation-fb913131eb8eb82a.yaml | 20 ++ ...-because-of-volume-in-use-3fea31c4a58e2f1b.yaml | 4 + ...sage-when-shrinking-fails-83d0f60ead6f4a4b.yaml | 5 + ...-1878993-netapp-fix-https-3eddf9eb5b762f3a.yaml | 6 + ...-1879754-teardown-network-d1887cdf6eb83388.yaml | 5 + ...ot-delete-default-ipspace-aee638279e0f8e93.yaml | 9 + ...590-fix-svm-scoped-netapp-85b53830135f7558.yaml | 6 + ...etting-share-type-by-name-5eca17b02bea5261.yaml | 8 + ...dd-cifs-dc-add-skip-check-c8ea9b952cedb643.yaml | 7 + 74 files changed, 1378 insertions(+), 194 deletions(-)