commit a9bc395407fcc897c689911842c4bd277c5728fc
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)
(cherry picked from commit 036908dd59684e9f5f44e305535cdc81dc563f2c)
Reviewed: https:/ /review. opendev. org/737514 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=a9bc395407f cc897c689911842 c4bd277c5728fc
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit a9bc395407fcc89 7c689911842c4bd 277c5728fc
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) f5f44e305535cdc 81dc563f2c)
Change-Id: Ib71a6cec939288
(cherry picked from commit 6f58af1ae39b415
(cherry picked from commit b5e541a6284200d
(cherry picked from commit b252cb801d547c9
(cherry picked from commit 036908dd59684e9