[horizon] Allow custom local settings to be applied

Bug #1769970 reported by Jorge Niedbalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Wishlist
Jorge Niedbalski
kolla-ansible
Fix Released
Wishlist
Jorge Niedbalski

Bug Description

[Description]

kolla-ansible should provide a mechanism to allow operators to overwrite
the default (or not exposed through configuration) options for the local_settings.

local_settings.j2 may be good place to configure horizon but requires for the
operator to sync it on every release.

custom_local_settings.j2 can be used to overwrite things from local_settings.j2 without a need of syncing it first.

Changed in kolla-ansible:
importance: Undecided → Wishlist
Changed in kolla:
importance: Undecided → Wishlist
Changed in kolla:
status: New → In Progress
Changed in kolla-ansible:
status: New → In Progress
Changed in kolla:
assignee: nobody → Jorge Niedbalski (niedbalski)
Changed in kolla-ansible:
assignee: nobody → Jorge Niedbalski (niedbalski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/567006
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=479daab59b4a1faad3a4ab5b7f6ecc4887ffea3a
Submitter: Zuul
Branch: master

commit 479daab59b4a1faad3a4ab5b7f6ecc4887ffea3a
Author: Jorge Niedbalski <email address hidden>
Date: Tue May 8 15:47:43 2018 -0300

    Create symlink if /e/o-d/customer_local_settings exists

    Create site-packages custom_local_settings symlink if /etc/openstack-dashboard/custom_
    local_settings exists, this will be used as a mechanism to extend the
    current local_settings without a need to change the file and rebuild
    the image

    Change-Id: I06221de3633d1ad30160bfc83d53a3b98f586f39
    Partial-Bug: #1769970
    Signed-off-by: Jorge Niedbalski <email address hidden>

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/568371

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

Reviewed: https://review.openstack.org/568371
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=ae322168f65a3ba204795080f6e936356b9b19cd
Submitter: Zuul
Branch: stable/queens

commit ae322168f65a3ba204795080f6e936356b9b19cd
Author: Jorge Niedbalski <email address hidden>
Date: Tue May 8 15:47:43 2018 -0300

    Create symlink if /e/o-d/customer_local_settings exists

    Create site-packages custom_local_settings symlink if /etc/openstack-dashboard/custom_
    local_settings exists, this will be used as a mechanism to extend the
    current local_settings without a need to change the file and rebuild
    the image

    Change-Id: If4043a5064a6b94bf08bd8363a895da921bc2418
    Partial-Bug: #1769970
    (cherry picked from commit 479daab59b4a1faad3a4ab5b7f6ecc4887ffea3a)
    Signed-off-by: Jorge Niedbalski <email address hidden>

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/550800
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=d516ad7da2d86ad03374f8244f6738ee65d6f6a4
Submitter: Zuul
Branch: master

commit d516ad7da2d86ad03374f8244f6738ee65d6f6a4
Author: Jorge Niedbalski <email address hidden>
Date: Thu Mar 8 13:06:33 2018 +0100

    horizon: allow to configure by custom_local_settings.j2

    kolla-ansible should provide a mechanism to allow operators to overwrite
    the default (or not exposed through configuration) options for the
    local_settings.

    local_settings.j2 may be good place to configure horizon but requires
    operator to sync it every release.

    custom_local_settings.j2 can be used to overwrite things from
    local_settings.j2 without a need of syncing it first.

    This patch also adds a release note and a documentation section
    under the advanced configuration page.

    Partial-Bug: #1769970
    Depends-On: https://review.openstack.org/#/c/567006/
    Change-Id: I84b54ba737276114e512d4577ac4b9010682bb98

Changed in kolla:
status: In Progress → Fix Committed
Changed in kolla-ansible:
status: In Progress → Fix Committed
Mark Goddard (mgoddard)
Changed in kolla-ansible:
status: Fix Committed → Fix Released
Changed in kolla:
status: Fix Committed → Fix Released
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.