Insufficient permissions for policy files are not handled

Bug #1836390 reported by Vadym Markov on 2019-07-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Herve Beraud

Bug Description

Issue affects Horizon. Tested on Queens Devstack, but seems to affect any release and deployment.

Steps to reproduce:
1. chmod 000 ~/horizon/openstack_dashboard/conf/cinder_policy.json
2. Set DEBUG = False in ~/horizon/openstack_dashboard/local/
3. Restart Apache service
4. Log in to Horizon

Expected behavior:
Left panel is present, probably except some dashboards related to volumes

Actual behavior:
Left panel is absent, screenshot attached

in this case, policy loading fails at It logs traceback as warning

Changed in oslo.policy:
assignee: nobody → Vadym Markov (vmarkov)
status: New → In Progress
Changed in oslo.policy:
assignee: Vadym Markov (vmarkov) → Herve Beraud (herveberaud)
Ben Nemec (bnemec) on 2019-09-13
Changed in oslo.policy:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers