Comment 2 for bug 1879368

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/732757
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=c3aed22f9454ca684af45c929be19b8593d55609
Submitter: Zuul
Branch: master

commit c3aed22f9454ca684af45c929be19b8593d55609
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-CCDDD5BD0089.html

    Closes-Bug: #1879368
    Change-Id: Id9bdd5df0ff05ea08881dd2c83397f0a367d9945