aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorScott Shambarger <scott-openstack@shambarger.net>2021-05-24 10:51:23 -0700
committerScott Shambarger <scott-openstack@shambarger.net>2021-06-11 04:59:42 +0000
commitf68dfb88fdbad51322727575457b3d78a70466b1 (patch)
tree48636a2b5a0f74875ee89dd99dd0be8bd9f990ae /docker
parentb9b60f62621e84e4861b526078b62d5636518be1 (diff)
downloadkolla-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
Diffstat (limited to 'docker')
-rw-r--r--docker/horizon/extend_start.sh2
1 files changed, 1 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 {