manila/manila
silvacarloss ada0998b76 [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)
(cherry picked from commit 226f7e758a)
(cherry picked from commit ef8d704c3b)
(cherry picked from commit f8f3d82c5f)
2021-01-19 19:46:12 +00:00
..
api Enforce policy checks getting share-type by name 2020-07-25 11:07:55 +00:00
cmd Add user messages periodic cleanup task 2017-07-17 07:53:19 +02:00
common Deprecate old keystone session config opts 2019-01-03 11:53:36 -08:00
compute Deprecate old keystone session config opts 2019-01-03 11:53:36 -08:00
data Fix Host-assisted Share Migration with IPv4+IPv6 2018-02-06 17:23:16 -05:00
db Enforce policy checks getting share-type by name 2020-07-25 11:07:55 +00:00
hacking Fix the duplicate hacking check M312 and H203 2017-08-13 08:01:42 +08:00
message Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
network Improve service instance module debug logging 2019-01-09 22:16:00 +00:00
policies [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
scheduler fix bug in consume from share 2020-05-07 19:17:00 +00:00
share [NetApp] Fix CIFS promote back issue 2021-01-19 19:46:12 +00:00
share_group Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
testing Remove run_tests.sh 2018-10-16 14:09:38 +00:00
tests [NetApp] Fix CIFS promote back issue 2021-01-19 19:46:12 +00:00
volume Deprecate old keystone session config opts 2019-01-03 11:53:36 -08:00
wsgi Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03: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-29 18:48:34 +00:00
i18n.py Update the documentation link for doc migration 2017-07-14 07:27:16 +00:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Add manila.data.helper options to config sample 2018-04-24 21:05:19 +00:00
policy.py [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
quota.py Destroy type quotas when a share type is deleted 2019-03-19 14:34:27 +00:00
rpc.py Disable notifications 2017-07-17 12:45:11 -03:00
service.py Fix mutable config in manila-scheduler 2018-08-04 11:49:23 +00:00
test.py Add 'description' in share type APIs 2017-11-22 13:28:41 -05:00
utils.py Merge "Set paramiko logging to DEBUG level" into stable/queens 2019-01-11 20:44:30 +00:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00