[NetApp] Fix access rules for CIFS promoted replica
This patch fixes the access rules for NetApp promote replica when
using CIFS protocol. When promoting a replica, the NetApp ONTAP
driver updates the access rules for the promoted CIFS share entity
before actually creating it, failing on having those rules
applied.
The bug is fixed by switching the order of updating the access
and creating the promoted CIFS share entity.
Reviewed: https:/ /review. opendev. org/755934 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=0c4d1e33980 1bb9d346dfa5a29 af2ab76517bbd7
Committed: https:/
Submitter: Zuul
Branch: master
commit 0c4d1e339801bb9 d346dfa5a29af2a b76517bbd7
Author: Felipe Rodrigues <email address hidden>
Date: Thu Sep 24 12:22:20 2020 +0000
[NetApp] Fix access rules for CIFS promoted replica
This patch fixes the access rules for NetApp promote replica when
using CIFS protocol. When promoting a replica, the NetApp ONTAP
driver updates the access rules for the promoted CIFS share entity
before actually creating it, failing on having those rules
applied.
The bug is fixed by switching the order of updating the access
and creating the promoted CIFS share entity.
Change-Id: I60e4057dc962d9 6cff57dea88587a 28c2043b499
Closes-Bug: #1896949