manila/manila
Goutham Pacha Ravi a13ff5d5a7 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 <gouthampravi@gmail.com>
2021-03-02 15:53:02 -08:00
..
api Fix traceback in scheduler-stats API 2021-03-02 15:53:02 -08:00
cmd [goal] Deprecate the JSON formatted policy file 2020-12-13 00:05:00 +00:00
common Advertise v2 API routes without project_id 2021-02-04 23:20:19 -08:00
compute remove usage of six library 2021-01-27 13:46:31 -08:00
data remove usage of six library 2021-01-27 13:46:31 -08:00
db remove usage of six library 2021-01-27 13:46:31 -08:00
image Fix NFS/CIFS share creation failure issue 2020-06-30 12:46:28 -04:00
message Merge "[Native CephFS] Add messages for async ACL ops" 2021-02-01 20:50:46 +00:00
network remove usage of six library 2021-01-27 13:46:31 -08:00
policies Introduce base personas for secure RBAC 2020-11-19 21:41:35 +00:00
scheduler remove usage of six library 2021-01-27 13:46:31 -08:00
share Merge "[Native CephFS] Add messages for async ACL ops" 2021-02-01 20:50:46 +00:00
share_group Hacking: Fix E241 2020-04-01 09:21:01 +02:00
testing [ussuri][goal] Drop python2.7 support 2019-12-08 19:32:52 -08:00
tests Fix traceback in scheduler-stats API 2021-03-02 15:53:02 -08:00
volume Fix parameters passed to exception 2019-03-19 17:40:40 +08:00
wsgi [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Catch up to changes in RequestContext 2021-02-15 17:01:13 -08:00
coordination.py Remove unused configuration options 2017-12-13 22:49:35 +08:00
exception.py [Native CephFS] Add messages for async ACL ops 2021-01-27 19:46:51 -08:00
i18n.py Remove i18n.enable_lazy() translation 2018-11-14 14:09:08 +05:30
manager.py Don't send heartbeats if driver not initializing correctly 2020-01-15 11:34:08 +08:00
opts.py Fix NFS/CIFS share creation failure issue 2020-06-30 12:46:28 -04:00
policy.py Catch up to changes in RequestContext 2021-02-15 17:01:13 -08:00
quota.py Fix manila OverQuota issue while managing shares 2020-09-18 21:28:11 +00:00
rpc.py Disable notifications 2017-07-17 12:45:11 -03:00
service.py Don't send heartbeats if driver not initializing correctly 2020-01-15 11:34:08 +08:00
test.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
utils.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00