diff options
| author | Scott Shambarger <scott-openstack@shambarger.net> | 2021-05-24 10:51:23 -0700 |
|---|---|---|
| committer | Scott Shambarger <scott-openstack@shambarger.net> | 2021-06-11 04:59:42 +0000 |
| commit | f68dfb88fdbad51322727575457b3d78a70466b1 (patch) | |
| tree | 48636a2b5a0f74875ee89dd99dd0be8bd9f990ae | |
| parent | b9b60f62621e84e4861b526078b62d5636518be1 (diff) | |
| download | kolla-f68dfb88fdbad51322727575457b3d78a70466b1.tar.gz kolla-f68dfb88fdbad51322727575457b3d78a70466b1.zip | |
horizon: Correct location of monitoring_policy file
Patch to correctly copy monitoring_policy.json into
/etc/openstack-dashboard. Policy was misplaced, and not being enforced.
Note that by current default policy, admin doesn't not have Monitoring
access.
Closes-Bug: #1928408
Change-Id: I4faabdfa9c273fc61b536e6ce88b8d71ab2fc581
| -rw-r--r-- | docker/horizon/extend_start.sh | 2 | ||||
| -rw-r--r-- | releasenotes/notes/bug-1928408-4a22a85570eee8d6.yaml | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 123e389f7..bc0ea19e4 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -152,7 +152,7 @@ function config_monasca_ui { "${SITE_PACKAGES}/openstack_dashboard/local/enabled/_50_admin_add_monitoring_panel.py" config_dashboard "${ENABLE_MONASCA:-no}" \ "${SITE_PACKAGES}/monitoring/conf/monitoring_policy.json" \ - "${SITE_PACKAGES}/openstack_dashboard/conf/monitoring_policy.json" + "/etc/openstack-dashboard/monitoring_policy.json" } function config_murano_dashboard { diff --git a/releasenotes/notes/bug-1928408-4a22a85570eee8d6.yaml b/releasenotes/notes/bug-1928408-4a22a85570eee8d6.yaml new file mode 100644 index 000000000..4b24aa668 --- /dev/null +++ b/releasenotes/notes/bug-1928408-4a22a85570eee8d6.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes location of monitoring_policy in Horizon, so access + policy is correctly enforced. Note that by current default, + admin doesn't not have Monitoring access. + `LP#1928408 <https://launchpad.net/bugs/1928408>`__ |
