66 Commits

Author SHA1 Message Date
Travis Truman
49376929fb Add support for custom Horizon themes
Deployers can now configure their own custom
themes and set them as the default theme using the
Horizon configuration values AVAILABLE_THEMES and
DEFAULT_THEME

See http://docs.openstack.org/developer/horizon/topics/settings.html#available-themes
for further details on the configuration.

Change-Id: I90b1cb45c851eb654638d82b83af56f93a642895
Closes-Bug: #1590839
2016-07-11 15:41:02 -04:00
Jimmy McCrory
4559edf920 Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of horizon inside or outside of a Python virtual environment.
Installing within a venv is now the only supported deployment.

Additionally, a few changes have been made to make the creation of the
venv more resistant to interruptions during a run of the role.
* unarchiving a pre-built venv will now also occur when the venv
  directory is created, not only after being downloaded
* virtualenv-tools is run against both pre-built and non pre-built venvs
  to account for interruptions during or prior to unarchiving

Change-Id: I8f5d33b90cc2c41beca2067f0f99d8c1283021e4
Implements: blueprint only-install-venvs
2016-07-08 06:16:12 -07:00
Jenkins
5617c4de57 Merge "Added variable to allow for arbitrary HORIZON_CONFIG" 2016-07-07 11:06:14 +00:00
Kevin Carter
39839111c0 Added variable to allow for arbitrary HORIZON_CONFIG
A new variable has been added to allow a deployer to set arbitrary
configuration options.

Closes-Bug: #1598143
Change-Id: Ic2d83d5b581046314145ecd0201087cc1682716b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-07-06 21:04:17 +00:00
Nolan Brubaker
dfda6bc078 Compress static files after customizations
The previous behavior compressed files, then customized the horizon
install. By doing this, static files in the customization modules were
left out of the static collection/compression process. This change in
ordering will now catch those files.

Additionally, a notification is sent to the apache restart handler.

Change-Id: I5c6678c2ef93b46f38cf94f19c9b2cf444411ea8
Closes-Bug: #1598146
2016-07-06 12:01:27 -04:00
Jenkins
45f21eb38f Merge "Add Nova extensions blacklisting" 2016-06-11 00:40:46 +00:00
Alexey Dushechkin
583c37038b Add support for CustomLog format modification
Operators may want to log additional stuff for Horizon
requests like response time. This change adds configurable
log format.

Change-Id: I308aa085845c17a766dd7df042237b2cfcb6a0d6
2016-06-10 20:02:00 +06:00
Alexey Dushechkin
e0d3d44b64 Add Nova extensions blacklisting
Operators may want to mask certain Nova extensions
in Horizon for performance reasons. This change
adds configurable extensions list to mask.

Change-Id: I8dff0647608833ac370a4fdab7db7dd6f39aa7c3
2016-06-10 03:34:58 +00:00
Kevin Carter
42e77eaf53 Removed the db create tasks
The db create tasks have been removed from the role and have been
relocated into the playbooks.

Change-Id: Ie4b026bdc36d6b508af4f2f7b529283039ef61d0
Depends-On: If58e482034a65c0e50241448dbe298a73c1ae71b
Depends-On: I0ca5b0403562537d2ecfdba0466a87fb0b874933
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-19 19:40:43 +00:00
Kevin Carter
76105724cd Enable ha router support in Horizon
This patch creates a variable to control ha router support in Horizon
and enables it by default.

Release notes are included.

Change-Id: I5edb7576d977bc558d9411dca62a029eb1856000
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-12 23:02:30 -05:00
Jenkins
8343d55bc4 Merge "Enable new LBaaS panel in Horizon" 2016-05-07 18:06:46 +00:00
Kevin Carter
f0dc5195aa
Enable next gneration instance launch in Horizon
Change the horizon defaults to use the next generation instance management
panels. This change allows deployers to better manage their instances as well
as access to more features/functionality in horizon.

Change-Id: I3502b3e7402223b450773f668545bd6b4a8e7671
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-05 11:42:04 -05:00
Major Hayden
1111f3d629 Enable IPv6 support in Horizon
This patch creates a variable to control IPv6 support in Horizon
and enables it by default.

Release notes are included.

Depends-On: I2d5300d4d5b02df3351ab52b1be32dd60241d34b
Change-Id: I4133d97f3a0aa4886b4b6f6ca3d6fb151231b0ef
2016-05-05 12:30:37 +00:00
Major Hayden
568debe270 Enable new LBaaS panel in Horizon
The new LBaaS v2 panel for Horizon in Mitaka and Newton is installed
as a plugin. This patch enables the plugin as long as
`horizon_enable_neutron_lbaas` is set to True. The reference to the
older built-in LBaaS dashboard has been removed since it only works
with LBaaS v1.

Release notes are included with the patch.

Depends-On: I2d5300d4d5b02df3351ab52b1be32dd60241d34b
Change-Id: I2b1d77983598fb14fbf9ff7f23870cf767135811
2016-05-05 12:30:30 +00:00
Major Hayden
8667dce5e1
Optionally allow autocomplete in Horizon
Horizon disables password autocompletion by default. This causes
problems for users who use password managers and want to store
their Horizon credentials. This patch adds a variable that allows
a deployer to override this default.

Release notes are included.

Change-Id: I8eaa5a1773e6f182c436b312f2733a21505a867c
Closes-Bug: 1570505
2016-04-14 13:32:52 -05:00
Jesse Pretorius
afcf852ae3 Add reno scaffolding for release notes management
Change-Id: I8553bf2cd84baf4a3e4ff83bd38d479de5398b0d
2016-04-09 19:20:32 +01:00