horizon policy file won't work

Bug #1702486 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Jeffrey Zhang
Ocata
Fix Released
Undecided
Jeffrey Zhang

Bug Description

when drop the policy file into /etc/kolla/config/horizon/keystone_policy.json, kolla-ansible throw errors

TASK [horizon : Copying over existing policy.json] *****************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'name'\n\nThe error appears to have been in '/root/kolla-ansible/ansible/roles/horizon/tasks/config.yml': line 89, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Copying over existing policy.json\n ^ here\n"}

Changed in kolla-ansible:
milestone: none → pike-3
assignee: nobody → Jeffrey Zhang (jeffrey4l)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/480598

Changed in kolla-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/480598
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=6022b611460ae692ba5d2f8aa47df50cbe177175
Submitter: Jenkins
Branch: master

commit 6022b611460ae692ba5d2f8aa47df50cbe177175
Author: Jeffrey Zhang <email address hidden>
Date: Wed Jul 5 22:04:38 2017 +0800

    Use proper variable in horizon copy policy task

    * fix wrong variable usage for horizon copy policy task
    * notify restart keystone container when policy is changed

    Change-Id: I3545205d5d3cfcf7bf893187ca6e65bbc152bf33
    Closes-Bug: #1702486

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

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/480649

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

Reviewed: https://review.openstack.org/480649
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=26e6c53adc216ab384677a34b385ddd8d8fa8da4
Submitter: Jenkins
Branch: stable/ocata

commit 26e6c53adc216ab384677a34b385ddd8d8fa8da4
Author: Jeffrey Zhang <email address hidden>
Date: Wed Jul 5 22:04:38 2017 +0800

    Use proper variable in horizon copy policy task

    * fix wrong variable usage for horizon copy policy task
    * notify restart keystone container when policy is changed

    Change-Id: I3545205d5d3cfcf7bf893187ca6e65bbc152bf33
    Closes-Bug: #1702486
    (cherry picked from commit 6022b611460ae692ba5d2f8aa47df50cbe177175)

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

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b3 development milestone.

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

This issue was fixed in the openstack/kolla-ansible 4.0.3 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.