commit 036908dd59684e9f5f44e305535cdc81dc563f2c
Author: Felipe Rodrigues <email address hidden>
Date: Fri Jun 5 15:28:01 2020 +0000
[NetApp] Fix svm scoped account
When the NetApp backend starts, it needs to know whether the
`revert_to_snapshot` support exist. So, it was retrieving the
licenses and checking if the `SnapRestore` is included. Using a
scoped account, the backend cannot retrieve that information,
though. So, this patch solves it by sending a fake operation
`revert_to_snapshot` that must fail. Analyzing the given error, it
sets the backend support field.
Closes-Bug: #1882590
Change-Id: Ib71a6cec939288498e48736f129fbfdacaabe9da
(cherry picked from commit 6f58af1ae39b4151db5feaa72deecafb9365ca16)
(cherry picked from commit b5e541a6284200d28c7e6298ec46cb1f2f1eb9b9)
(cherry picked from commit b252cb801d547c9a9717d705303c3206a079c27f)
Reviewed: https:/ /review. opendev. org/737101 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=036908dd596 84e9f5f44e30553 5cdc81dc563f2c
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 036908dd59684e9 f5f44e305535cdc 81dc563f2c
Author: Felipe Rodrigues <email address hidden>
Date: Fri Jun 5 15:28:01 2020 +0000
[NetApp] Fix svm scoped account
When the NetApp backend starts, it needs to know whether the to_snapshot` support exist. So, it was retrieving the to_snapshot` that must fail. Analyzing the given error, it
`revert_
licenses and checking if the `SnapRestore` is included. Using a
scoped account, the backend cannot retrieve that information,
though. So, this patch solves it by sending a fake operation
`revert_
sets the backend support field.
Closes-Bug: #1882590 498e48736f129fb fdacaabe9da 1db5feaa72deeca fb9365ca16) 28c7e6298ec46cb 1f2f1eb9b9) a9717d705303c32 06a079c27f)
Change-Id: Ib71a6cec939288
(cherry picked from commit 6f58af1ae39b415
(cherry picked from commit b5e541a6284200d
(cherry picked from commit b252cb801d547c9