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.
Reviewed: https:/ /review. opendev. org/732757 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=c3aed22f945 4ca684af45c929b e19b8593d55609
Committed: https:/
Submitter: Zuul
Branch: master
commit c3aed22f9454ca6 84af45c929be19b 8593d55609
Author: silvacarloss <email address hidden>
Date: Fri May 29 23:21:44 2020 +0000
[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-CCDDD5BD00 89.html
Closes-Bug: #1879368 a08881dd2c83397 f0a367d9945
Change-Id: Id9bdd5df0ff05e