[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: I60e4057dc962d96cff57dea88587a28c2043b499
Closes-Bug: #1896949
(cherry picked from commit 0c4d1e339801bb9d346dfa5a29af2ab76517bbd7)
(cherry picked from commit c857b94e8a8aae1f471ebbde8b49beaad41ef431)
(cherry picked from commit 460f44704df3303e092de3e9781224fdbbe8502d)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/772728 /opendev. org/openstack/ manila/ commit/ 65c9f6f4a21cc96 89e6ad1d02a1e64 1cdb51f1b5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 65c9f6f4a21cc96 89e6ad1d02a1e64 1cdb51f1b5
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 d346dfa5a29af2a b76517bbd7) f471ebbde8b49be aad41ef431) e092de3e9781224 fdbbe8502d)
Closes-Bug: #1896949
(cherry picked from commit 0c4d1e339801bb9
(cherry picked from commit c857b94e8a8aae1
(cherry picked from commit 460f44704df3303