144 Commits

Author SHA1 Message Date
Sam Yaple
58eee09c15 use static uid/gid in images
This centralizes all user and group creation into a single source. This
will fix any current and furture uid/gid mismatches (such as with
nova-libvirt).

In the process, we also unify users between the distros in a standard
way. The users in the following containers change from thier defaults:

Ubuntu: _chrony user is now chrony
Ubuntu: memcache user is now memcached
All: qemu user is used for ownership and socket permissions

All uid and gid numbers are customizable via kolla-build.conf

Co-Authored-By: Kris Lindgren <klindgren@godaddy.com>
Change-Id: I120f26ab0683dc87d69727c3df8d4707e52a4543
Partially-Implements: blueprint static-uid-gid
2017-01-17 09:02:21 -03:00
Jeffrey Zhang
3cb8dedbbb Fix mistral _50_mistral.py location
_50_mistral.py has been moved into enabled folder through
Ie1415ea66ed6608ecff622c42e3a433be23bbdfea patch

Change-Id: I20b6703face3ebbc1762e148dd748db19f499114
2017-01-06 23:25:11 +08:00
Jenkins
26fb747b0a Merge "Install solum dashboard into horizon image" 2016-12-16 22:42:34 +00:00
Jenkins
d023e86230 Merge "Fix manila-ui" 2016-12-15 15:51:53 +00:00
Chao Guo
96cc4638da Trivial fix of horizon image
Fix some incorrect indents
Fix the alphabet order of config functions

Change-Id: Ib11a014141972d4cb06a66ee1289467f344045b9
2016-12-15 15:03:10 +08:00
Mauricio Lima
61401dc227 Fix manila-ui
The manila-ui folder was updated[1] from
manila_ui/enabled/  to
/manila_ui/local/enabled/

1. https://review.openstack.org/#/c/397926/

Change-Id: I3711b0649632f7d528d3fbd4d36023693b858b56
2016-12-14 15:24:55 -03:00
jianyi
023917a172 Install solum dashboard into horizon image
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>

Change-Id: I531ef11f11920bb9db4b0cba43038694998afcf3
Closes-Bug: #1648709
2016-12-14 16:24:22 +08:00
Jenkins
9218c25311 Merge "Remove the unnecessary "openstack-zaqar-ui"" 2016-12-12 17:11:51 +00:00
caoyuan
e285913ffa Remove the unnecessary "openstack-zaqar-ui"
The "openstack-zaqar-ui" is not exist and unnecessary, this patch
remove it from docker/horizon/Dockerfile.j2

Change-Id: Ie713b9f2444cf464e2be4b9ef18dc95027bba727
2016-12-12 13:45:24 +00:00
Jenkins
9a3192f570 Merge "Install mistral dashboard into horizon image" 2016-12-10 09:19:06 +00:00
Jenkins
9f9021ce59 Merge "Install watcher dashboard into horizon image" 2016-12-10 07:42:14 +00:00
caoyuan
10abb20d6e Install mistral dashboard into horizon image
Change-Id: I37c73e6304ed005fe019dcdd105c1f333137fa60
Closes-Bug: #1647267
2016-12-09 07:00:41 +00:00
caoyuan
0d487152af Install watcher dashboard into horizon image
Change-Id: Ief5898f6bf1caa3a7fe6b2a96be2bdb79e402f28
Closes-Bug: #1647162
2016-12-06 23:21:15 +08:00
Mauricio Lima
c1738ff210 Fix zaqar ui
https://github.com/openstack/zaqar-ui/blob/master/README.rst
Change-Id: I7cc6ec1a65a6378165da869370cbb18f44be5cc9
2016-12-05 13:42:53 -03:00
Jenkins
68d8866f04 Merge "Install senlin dashboard into horizon image" 2016-12-05 15:18:59 +00:00
Jenkins
e182bca6a3 Merge "Install designate dashboard into horizon image" 2016-12-05 15:18:52 +00:00
Jenkins
8e8dacd62a Merge "Install zaqar ui into horizon image" 2016-12-05 15:18:45 +00:00
Jenkins
4ccff83409 Merge "Install magnum dashboard into the horizon image" 2016-12-05 12:44:39 +00:00
jianyi
05ba070f86 Install senlin dashboard into horizon image
Change-Id: I27ac67f42ad04ac5cf6d18b6f56506949aa4887c
Closes-Bug: #1646023
2016-12-05 17:53:17 +08:00
caoyuan
5be2b0ee69 Install zaqar ui into horizon image
Change-Id: I430340b38ff7642f46d76ec621ae65dcae8157c3
Closes-Bug: #1647164
2016-12-05 14:04:24 +08:00
Paul Bourke
8667027d1f Install magnum dashboard into the horizon image
Change-Id: Iaf599ceea70879b8302ffcdf9615f18007e93134
2016-12-02 17:15:43 +00:00
liyingjun
2614dd697c Install searchlight-ui to horizon
Change-Id: Ie65c374dd319e38fe50fc3dca15c64d07edc8e1a
Closes-bug: #1646690
2016-12-02 22:45:43 +08:00
zhubingbing
5c96de1dd1 Install designate dashboard into horizon image
Change-Id: Ic28d984dd2ca3db3633ee535d9475907fa4e2d3b
Closes-Bug: #1646688
2016-12-02 06:03:41 +00:00
zhubingbing
51a08690f8 Install trove dashboard into horizon image
Closes-Bug: #1646337

Change-Id: I1e9295da273055bfb870c7a87a32b989f3f61e8b
2016-12-01 15:44:31 +00:00
Mauricio Lima
f398c8d00e Add manila-ui in horizon image
Change-Id: Ib968a46e02ebb9ebdc4c1e6f5d30ca79c4cebc1b
2016-11-30 08:49:28 -03:00
zhubingbing
0ebec5d29c Install cloudkitty dashboard in horizon image
Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Change-Id: I6bb33de6d19ba42710e6d4138059c23076b759ec
Closes-Bug: #1641053
2016-11-29 15:38:21 +08:00
Jeffrey Zhang
366250467d Install sahara dashboard into horizon image
Change-Id: I0ee4672252710605970751efa756a2dd405ad8c8
Closes-Bug: #1645195
2016-11-28 13:01:21 +08:00
Jeffrey Zhang
91d120cbf0 Add ironic-ui to horizon image
Add ironic-ui package into horizon image. There is no ubuntu/centos
package for ironic-ui now.

Change-Id: Ie094b92b9a8e20696cee84698013d09306dd6e7f
Closes-Bug: #1645104
2016-11-28 12:30:21 +08:00
Jenkins
88fc252bc0 Merge "Fix neutron lbaas dashboard" 2016-11-11 06:20:33 +00:00
Jeffrey Zhang
c89cbff6a2 Fix neutron lbaas dashboard
Load neutron lbaas dynamic when neutron lbaas is enabled.

Change-Id: I47913824fea87b721f254633c16d1dc6903b4f5d
Closes-Bug: #1639325
2016-11-10 13:16:37 +08:00
Jeffrey Zhang
82e9091c8d Run collect static during container startup when necessarily
Other dashboard may need run collect static action when enabled.

TrivialFix

Change-Id: I60ffa29283f45850f11d75f2f8fd4ab9dd62484a
2016-11-05 21:09:44 +08:00
Jenkins
8e51c4d993 Merge "Move to manage.py migrate in horizon" 2016-11-04 15:45:57 +00:00
Jeffrey Zhang
b09825d39d Move to manage.py migrate in horizon
manage.py syncdb is deprecated since django 1.7

Change-Id: I2b419b183e839485b7c5080112a73bab3f869ce6
Closes-Bug: #1639259
2016-11-04 22:43:29 +08:00
Christian Berendt
5cd30d4914 Remove Fedora support
Closes-bug: #1616387
Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-11-03 10:50:22 +01:00
Jenkins
ce3abeb0eb Merge "Allow use of database for Horizon sessions" 2016-09-22 04:00:28 +00:00
Paul Bourke
b41247c656 Add header blocks to all Dockerfiles
Change needed to add header blocks to all Dockerfiles, similar to the
base.

Use case is to easily run something before packages are installed, e.g.
to COPY a local rpm in that can be added to the package list.

Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee
Closes-Bug: 1618969
2016-09-13 16:53:31 +01:00
Paul Bourke
d3f65a812f Allow use of database for Horizon sessions
Database-backed sessions are scalable (using an appropriate database
strategy), persistent, and can be made high-concurrency and
highly-available [0]

Default is off.

[0] http://docs.openstack.org/developer/horizon/topics/deployment.html#database

Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com>
Closes-Bug: 1618781

Change-Id: Ib68a21397dc020d20e07dcc51d3d0fdc1de102ff
2016-09-08 12:49:02 +01:00
Christian Berendt
e821f58c9b Install neutron-lbaas-dashboard from source in horizon container
Change-Id: I9bc0288dd436eaaa48c8fd27e0907bbb8dadfe2c
Partial-bug: #1592446
Co-authored-by: Shaun Smekel <shaun.smekel@theorem.net.au>
2016-08-31 12:48:18 +00:00
Eduardo Gonzalez
8e98e5f15e Change source with dot at extend_start files
Is a best practice in Unix/Linux scripts to use dots
instead of source command.
Using dots will avoid issues with non BASH shells

TrivialFix
Change-Id: Ie6480a1954f853f79faffa093452715ebd9f7d90
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-08-29 07:29:16 +02:00
Jenkins
464715d1ad Merge "Optimize horizon cache and compress for http response" 2016-08-19 15:54:02 +00:00
Shaun Smekel
a9d08726f5 Handle empty package list for install_packages
Currently if the install_packages macro is run with an empty
package list, it will add a yum or apt-get command with no
packages listed.

This bug fix aims to omit this line when no packages have
been given, or, the operator wants to use the "_override" /
"_remove" functionality to disable all packages being
installed in a Dockerfile.

Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
Change-Id: Ifaaaebfccc3adb0f2f68a35ac08e59378bc87fdb
Closes-bug: 1612446
2016-08-19 10:49:03 +00:00
Jeffrey Zhang
ed1b3dc929 Optimize horizon cache and compress for http response
Leverage the browser cache and compress to speed up the file transfer.
In RHEL based image, the expire and deflate module are enabled in
default. In the Debian based image, only the deflate is enabled

* Enable expire module on the Debian based image
* Enable the expire for the assets resource
* Enable the deflate for the http response

Closes-Bug: #1605907
Change-Id: If25decc38a10a21929f72a89cdb350d4ac64a5a9
2016-08-09 11:30:38 +08:00
Paul Bourke
4f4ebb2253 Customizations for Horizon
Change-Id: I8134cc96cb37e04984d15f3799c8caba21c90bfe
Partially-implements: blueprint third-party-plugin-support
2016-08-03 10:05:11 +00:00
Jenkins
b6a0f98346 Merge "Set ServerTokens parameter to 'Prod' for Ubuntu Apache config" 2016-05-31 14:54:56 +00:00
Christian Berendt
d1b170dfd8 Set ServerTokens parameter to 'Prod' for Ubuntu Apache config
The default value of the ServerTokens parameter is OS by default when
using Ubuntu as base image. This results in "Server: Apache/2.4.7 (Ubuntu)"
as server signature. Setting the parameter to "Prod" produces a less
verbose server signature.

Change-Id: I9a1422890cc667423bde73ea2dd7be143eb8b04a
Partial-bug: #1586112
2016-05-26 20:10:17 +02:00
Jenkins
383730443c Merge "Update ubuntu dockerfiles for formatting" 2016-05-26 11:13:10 +00:00
Jenkins
6148a303ee Merge "Update the horizon dockerfile for formatting" 2016-05-26 11:13:05 +00:00
Swapnil Kulkarni (coolsvap)
435b21b90d Update ubuntu dockerfiles for formatting
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe
Closes-Bug: #1569417
2016-05-26 04:09:22 +00:00
Jeffrey Zhang
669d735ae8 Compile the messages in the horizon
Change-Id: Ic5d4a3dbd5efcd1337bafae0e2b0bf67d90cd1e5
Closes-Bug: #1574008
2016-05-23 04:38:50 +00:00
Swapnil Kulkarni (coolsvap)
f93739fa4f Update the horizon dockerfile for formatting
Change-Id: Iacea37d84a57d1543f6332a8b600d431dc2c6270
Partial-Bug:#1569417
2016-05-18 22:01:52 +05:30