Masakari dashboard policy file copied to incorrect location

Bug #1894240 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Radosław Piliszek
Stein
Triaged
Medium
Unassigned
Train
Fix Released
Medium
Mark Goddard
Ussuri
Fix Released
Medium
Mark Goddard
Victoria
Fix Released
Medium
Radosław Piliszek

Bug Description

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.opendev.org/749990

Changed in kolla:
assignee: nobody → Mark Goddard (mgoddard)
status: New → In Progress
Changed in kolla:
assignee: Mark Goddard (mgoddard) → Radosław Piliszek (yoctozepto)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/750600

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/750602

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/749990
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=4f44870376f47c6a65bd02cc83d2ef39fd1f5ae9
Submitter: Zuul
Branch: master

commit 4f44870376f47c6a65bd02cc83d2ef39fd1f5ae9
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
    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

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/train)

Reviewed: https://review.opendev.org/750602
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=08a3d4fd1ac98fb50a59246ce90dea55007fea1b
Submitter: Zuul
Branch: stable/train

commit 08a3d4fd1ac98fb50a59246ce90dea55007fea1b
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
    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)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/ussuri)

Reviewed: https://review.opendev.org/750600
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=5a31aa02bf428d6ef006e26dc834ebf27c276eda
Submitter: Zuul
Branch: stable/ussuri

commit 5a31aa02bf428d6ef006e26dc834ebf27c276eda
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
    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)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 10.2.0

This issue was fixed in the openstack/kolla 10.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 9.3.0

This issue was fixed in the openstack/kolla 9.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.