commit 94bb8fea8cacceb42cffac63d8d8490c33d2aa58
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 2 15:53:02 2021 -0800
Fix traceback in scheduler-stats API
There was a traceback being included in the
error message body. This is unhelpful to
end users.
The error message that included the traceback
was for this corner case where the RBAC policy
isn't aligned with the internal "context_is_admin"
policy - an unlikely combination of decisions
that a deployer would make - nevertheless,
this is an opportunity for us to fix this
code path.
Change-Id: I888d684acac2133425f986ec7cef5e4f5cdcc5b6
Closes-Bug: #1917520
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit a13ff5d5a73c9c4c4c7b56fe60c6152402127f10)
(cherry picked from commit 177ce7e9495afb710711726be656b58065f42ce3)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/792767 /opendev. org/openstack/ manila/ commit/ 94bb8fea8cacceb 42cffac63d8d849 0c33d2aa58
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 94bb8fea8cacceb 42cffac63d8d849 0c33d2aa58
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 2 15:53:02 2021 -0800
Fix traceback in scheduler-stats API
There was a traceback being included in the
error message body. This is unhelpful to
end users.
The error message that included the traceback
was for this corner case where the RBAC policy
isn't aligned with the internal "context_is_admin"
policy - an unlikely combination of decisions
that a deployer would make - nevertheless,
this is an opportunity for us to fix this
code path.
Change-Id: I888d684acac213 3425f986ec7cef5 e4f5cdcc5b6 c4c7b56fe60c615 2402127f10) 10711726be656b5 8065f42ce3)
Closes-Bug: #1917520
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit a13ff5d5a73c9c4
(cherry picked from commit 177ce7e9495afb7