Bug 1041977

Summary: [RFE][horizon]: Introduce a plugin architecture for Horizon
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: python-django-horizonAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: aberezin, aortega, dnavale, jpichon, markmc, mrunge, yeylon
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/horizon/+spec/plugin-architecture
Whiteboard: upstream_milestone_icehouse-2 upstream_status_implemented upstream_definition_approved
Fixed In Version: python-django-horizon-2014.1-0.4.b3.fc21 Doc Type: Enhancement
Doc Text:
To add features or new components to the Dashboard, changes to the local_settings file were necessary. With this update, a plugin architecture for horizon is introduced. As a result, users can now place a config file in the /openstack_dashboard/enabled and restart the web server. For more information, see http://docs.openstack.org/developer/horizon/topics/settings.html#pluggable-settings-for-dashboards.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:43:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 20:23:54 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/horizon/+spec/plugin-architecture.

Description:

Currently adding stuff to horizon requires to change settings.py. This
is nearly impossible in a world of software packages. At least, when
using RPM packages, it is absolutely unwanted, to change files at
install time, depending if other packages are installed or not.

The idea would be a directory to place python packages to be added
dynamically to the dashboard.

Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-23 20:51:04 UTC
Moving to POST based on upstream status (Implemented).

Comment 3 Arthur Berezin 2014-02-03 18:52:00 UTC
Enables 3rd parties to integrate with Horizon.

Comment 4 Matthias Runge 2014-03-19 07:43:25 UTC
Or included in all Icehouse milestone (or later) builds

Comment 5 Matthias Runge 2014-03-25 08:28:44 UTC
QA: this can not be tested directly, as this feature provides infrastructure.

A way would be:
Make sure, openstack-dashboard-theme is installed (or install it and restart httpd). You should see a totally different UI (dark theme, Red Hat logos etc.).

This new theme was introduced in icehouse-3 milestone.
Note, until https://bugzilla.redhat.com/show_bug.cgi?id=1080347 is fixed, the theme is broken. 
The integration of the theme was done using the plugin stuff.

Comment 6 Ido Ovadia 2014-04-13 11:12:11 UTC
Verified:
=========
python-django-horizon-2014.1-0.14.rc2.el7.noarch
openstack-dashboard-2014.1-0.14.rc2.el7.noarch
openstack-dashboard-theme-2014.1-0.14.rc2.el7.noarch

Comment 8 errata-xmlrpc 2014-07-08 15:43:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0855.html