manila/manila
silvacarloss 226f7e758a [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
(cherry picked from commit c3aed22f94)
(cherry picked from commit d251473514)
2020-10-02 13:25:55 +00:00
..
api Enforce policy checks getting share-type by name 2020-07-16 15:51:06 +00:00
cmd Monkey patch original current_thread _active 2020-07-27 22:37:49 +00:00
common Allow configuring availability_zones in share types 2019-02-13 17:39:48 +00:00
compute Deprecate old keystone session config opts 2018-12-20 17:29:40 -08:00
data Remove support for ``data_node_access_ip`` 2019-09-09 14:45:30 +00:00
db Enforce policy checks getting share-type by name 2020-07-16 15:51:06 +00:00
hacking Fix the duplicate hacking check M312 and H203 2017-08-13 08:01:42 +08:00
message Add asynchronous error info into messages when share extend error 2020-06-11 01:16:14 +00:00
network Introduce noop interface driver 2020-02-10 09:33:05 +01: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-23 01:32:30 +00:00
share [NetApp] Fix CIFS promote back issue 2020-10-02 13:25:55 +00:00
share_group Fix parameters passed to exception 2019-03-19 17:40:40 +08:00
testing Remove run_tests.sh 2018-10-04 09:55:45 -04:00
tests [NetApp] Fix CIFS promote back issue 2020-10-02 13:25:55 +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 Prevent share type deletion if linked to group types 2020-04-14 15:48:07 -07:00
i18n.py Remove i18n.enable_lazy() translation 2018-11-14 14:09:08 +05:30
manager.py Allow configuration of a back end specific availability zone 2019-01-23 17:13:24 +00: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 Destroy type quotas when a share type is deleted 2019-03-15 00:10:37 -07:00
rpc.py Disable notifications 2017-07-17 12:45:11 -03:00
service.py Allow configuration of a back end specific availability zone 2019-01-23 17:13:24 +00:00
test.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00: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