openstack-dashboard needs to be able to inject configuration into local_settings.py via the dashboard-plugin relation

Bug #1578824 reported by David Ames
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard Charm
Fix Released
High
Liam Young
openstack-dashboard (Juju Charms Collection)
Invalid
High
Liam Young

Bug Description

openstack-dashboard needs to be able to inject configuration into local_settings.py via the dashboard-plugin relation.

The openstack-dashboard charm needs the equivalent of subordinate_configuration that is in the nova-compute charm.

In django local_settings.py overrides settings.py. Charm authors need to be able to add configuration into local_settings.py that will override settings.py. For example adding a new plugin to INSTALLED_APPS.

David Ames (thedac)
Changed in openstack-dashboard (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
milestone: none → 16.07
David Ames (thedac)
summary: openstack-dashboard needs to be able to inject configuration into
- local_settings.py via the dahboard-plugin relation
+ local_settings.py via the dashboard-plugin relation
Liam Young (gnuoy)
Changed in openstack-dashboard (Juju Charms Collection):
milestone: 16.07 → 16.10
James Page (james-page)
Changed in openstack-dashboard (Juju Charms Collection):
milestone: 16.10 → 17.01
Liam Young (gnuoy)
Changed in openstack-dashboard (Juju Charms Collection):
assignee: nobody → Liam Young (gnuoy)
James Page (james-page)
Changed in openstack-dashboard (Juju Charms Collection):
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-openstack-dashboard (master)

Reviewed: https://review.openstack.org/431446
Committed: https://git.openstack.org/cgit/openstack/charm-openstack-dashboard/commit/?id=0eab4248849fb44aac235e8703ea5ab3261c0e14
Submitter: Jenkins
Branch: master

commit 0eab4248849fb44aac235e8703ea5ab3261c0e14
Author: Liam Young <email address hidden>
Date: Thu Feb 9 11:20:07 2017 +0000

    Re-enable plugins ability to send local_settings

    In the past the plugin interface was renamed but the context was
    not updated meaning that subordinates could no longer send plugin
    data. This change fixes the relation name the context uses and
    updates the Newton template to render these settings (earlier
    templates already do this)

    Closes-Bug: 1578824

    Change-Id: I57e4e526019bc91bdf1df77c60da33ae108e0b49

Changed in openstack-dashboard (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-openstack-dashboard:
assignee: nobody → Liam Young (gnuoy)
importance: Undecided → High
status: New → Fix Committed
Changed in openstack-dashboard (Juju Charms Collection):
status: Fix Committed → Invalid
James Page (james-page)
Changed in charm-openstack-dashboard:
milestone: none → 17.02
James Page (james-page)
Changed in charm-openstack-dashboard:
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.