manila/manila
silvacarloss c3aed22f94 [NetApp] Fix CIFS promote back issue
This change fixes the NetApp promote back issue when using CIFS
protocol. When promoting a replica, the NetApp ONTAP driver
attempts to create a new CIFS share entity (an access point as
defined in [1]) for the new active replica. This behavior
causes a failure since the storage identifies that a current
backend CIFS share with the same name exists, considering
that the reffered replica was once the active one.

This issue is addressed by removing the related CIFS share
entity when the replica gets promoted.

[1] https://library.netapp.com/ecmdocs/ECMP1401220/html/GUID-1898D717-A510-4B3D-B2E3-CCDDD5BD0089.html

Closes-Bug: #1879368
Change-Id: Id9bdd5df0ff05ea08881dd2c83397f0a367d9945
2020-09-21 17:55:12 +00:00
..
api [doc] Annotate max api microversion in Ussuri 2020-04-21 09:42:46 -07:00
cmd Merge "Monkey patch original current_thread _active" 2020-05-15 23:24:04 +00:00
common Create share from snapshot in another pool or backend 2020-04-09 11:15:22 -03:00
compute Fix error that failed to get image for booting server 2019-12-13 01:31:22 +00:00
data Remove support for `data_node_access_ip` 2019-09-09 14:45:30 +00:00
db Remove unused ManilaNode sqlalchemy model 2020-05-26 17:03:34 +02:00
hacking Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
message Update share-manager behavior for shrink share operation 2020-04-22 15:30:08 +00:00
network Fix pep8 issues 2020-05-12 11:20:20 -03:00
policies Add share network with multiple subnets 2019-09-13 11:27:18 -03:00
scheduler fix bug in consume from share 2020-04-20 15:56:51 +08:00
share [NetApp] Fix CIFS promote back issue 2020-09-21 17:55:12 +00:00
share_group Hacking: Fix E241 2020-04-01 09:21:01 +02:00
testing [ussuri][goal] Drop python2.7 support 2019-12-08 19:32:52 -08:00
tests [NetApp] Fix CIFS promote back issue 2020-09-21 17:55:12 +00:00
volume Fix parameters passed to exception 2019-03-19 17:40:40 +08:00
wsgi [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
coordination.py Remove unused configuration options 2017-12-13 22:49:35 +08:00
exception.py Merge "Prevent share type deletion if linked to group types" 2020-04-14 19:01:02 +00:00
i18n.py Remove i18n.enable_lazy() translation 2018-11-14 14:09:08 +05:30
manager.py Don't send heartbeats if driver not initializing correctly 2020-01-15 11:34:08 +08:00
opts.py Merge "Add Infortrend Manila Driver" 2019-08-08 14:04:35 +00:00
policy.py Add policy to create/update public shares 2019-02-18 12:56:12 -08:00
quota.py Add new quota for share replicas 2020-04-06 13:17:30 +00:00
rpc.py Disable notifications 2017-07-17 12:45:11 -03:00
service.py Don't send heartbeats if driver not initializing correctly 2020-01-15 11:34:08 +08:00
test.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
utils.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00