manila/manila
Goutham Pacha Ravi 94bb8fea8c 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>
(cherry picked from commit a13ff5d5a7)
(cherry picked from commit 177ce7e949)
2021-05-24 16:33:20 +00:00
..
api Fix traceback in scheduler-stats API 2021-05-24 16:33:20 +00:00
cmd Monkey patch original current_thread _active 2020-05-18 20:31:44 +00:00
common Create share from snapshot in another pool or backend 2020-04-09 11:15:22 -03:00
compute Fix error that failed to get image for booting server 2019-12-13 01:31:22 +00:00
data Remove support for ``data_node_access_ip`` 2019-09-09 14:45:30 +00:00
db Fix logic that determines a share exists before manage 2020-12-08 21:06:25 -08:00
hacking Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
message Add user message when share shrinking fails at the driver 2020-06-04 03:02:56 +00:00
network Hacking: Fix W605 2020-04-01 14:38:14 +02:00
policies Add share network with multiple subnets 2019-09-13 11:27:18 -03:00
scheduler fix bug in consume from share 2020-04-20 15:56:51 +08:00
share [NetApp] Fix access rules for CIFS promoted replica 2021-01-27 20:25:49 +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-05-24 16:33:20 +00: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 [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
coordination.py Remove unused configuration options 2017-12-13 22:49:35 +08:00
exception.py Merge "Prevent share type deletion if linked to group types" 2020-04-14 19:01:02 +00: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 Merge "Add Infortrend Manila Driver" 2019-08-08 14:04:35 +00:00
policy.py Add policy to create/update public shares 2019-02-18 12:56:12 -08:00
quota.py Fix manila OverQuota issue while managing shares 2020-09-22 11:44:09 +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