The horizon image copies the masakari dashboard's policy file to Python
site packages, but it should go to /etc/openstack-dashboard. This allows
the dashboard to be seen by non-admins, although it fails to load.
We get an error like the following in horizon.log:
No policy rules for service 'instance-ha' in
/etc/openstack-dashboard/masakari_policy.json
This change fixes the issue.
Change-Id: I8ede183c76a830de06ce6524dc3f6f6944b182c1
Closes-Bug: #1894240
(cherry picked from commit 4f44870376f47c6a65bd02cc83d2ef39fd1f5ae9)
Reviewed: https:/ /review. opendev. org/750602 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=08a3d4fd1ac 98fb50a59246ce9 0dea55007fea1b
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 08a3d4fd1ac98fb 50a59246ce90dea 55007fea1b
Author: Mark Goddard <email address hidden>
Date: Fri Sep 4 16:43:47 2020 +0100
Fix Masakari dashboard policy file location
The horizon image copies the masakari dashboard's policy file to Python dashboard. This allows
site packages, but it should go to /etc/openstack-
the dashboard to be seen by non-admins, although it fails to load.
We get an error like the following in horizon.log:
No policy rules for service 'instance-ha' in openstack- dashboard/ masakari_ policy. json
/etc/
This change fixes the issue.
Change-Id: I8ede183c76a830 de06ce6524dc3f6 f6944b182c1 a65bd02cc83d2ef 39fd1f5ae9)
Closes-Bug: #1894240
(cherry picked from commit 4f44870376f47c6