Commit Graph

145 Commits

Author SHA1 Message Date
Martin André
b3390c97f2 Install heat-dashboard in rpm based distros
The heat-dashboard was recently packaged in RDO [1], let's add it to
the rpm based distros.

 [1] https://github.com/rdo-packages/heat-dashboard-distgit

Change-Id: I0652e172f3651b427805aa3673527677bd3429d8
Related-Bug: #1752132
2018-02-27 18:28:33 +01:00
Zuul
9ce572a3a8 Merge "Check whether the source file exists before configuring the dashboard" 2018-01-20 14:08:27 +00:00
chenxing
a5cac970ce Check whether the source file exists before configuring the dashboard
Change-Id: If96f8d8b4f4c87724b73ed866c9ec6007b70371c
Closes-Bug: #1699083
2018-01-17 15:42:29 +00:00
chenxing
ca227b38c1 Add vitrage dashbord into horizon image
Change-Id: I5846b48d336583ae82743f61bfbdadc99c755e8d
Partially-implements: blueprint vitrage-roles
2018-01-05 20:22:38 +08:00
Jeffrey Zhang
2ece1a513a Add heat dashboard to horizon image
heat dashboard is split from horizon code base in Queens cycle.[0][1]

[0] https://review.openstack.org/#/c/523402/
[1] https://github.com/openstack/heat-dashboard

Closes-Bug: #1737475
Change-Id: I920394b8cb6eb7027df9110fe88de6842d2bd8b3
2017-12-11 13:57:40 +08:00
Zuul
ee7c5e9315 Merge "Fix Horizon asset compression not happening on redeploy" 2017-11-02 23:19:15 +00:00
Eduardo Gonzalez
2c3671b27e Add lbaas dashboard in horizon ubuntu binary
Since ocata, lbaas dashboard package is independent
from openstack-dashboard package.

Change-Id: I39893945466567760b0f890dfabdb7136853ea12
Closes-Bug: #1720158
2017-10-23 09:58:14 +00:00
Paul Bourke
cad0a1e697 Fix Horizon asset compression not happening on redeploy
A recent change to kolla-ansible (a729dcc4) bind mounts /tmp from the
host to handle uploading of larger images. Unfortunately this is also
where we keep the state file for horizon which controls whether assets
need to be recompressed (.local_settings.md5sum.txt). This means it is
left over on destroy and causes issues with CSS / assets on redeploy.

Change the location of this file to
/var/lib/kolla/.local_settings.md5sum.txt so it is cleaned up correctly
along with the container.

Change-Id: Icfc71266cabedc2c1a3d30590cada3f774bc0d2c
Closes-Bug: #1721281
2017-10-17 07:22:12 +00:00
Jeffrey Zhang
7d7005e412 Add neutron-fwaas-dashboard into horizon image
neutron-fwaas-dashboard is split into standalone repo. Need install it
into horizon image.

Change-Id: Ic1ff58df2c23db77aace95fd6d4eabbd62227e3b
Closes-Bug: #1719147
2017-09-25 11:04:39 +08:00
Jenkins
3789d1a1b8 Merge "Add workaround for openstack-sahara-ui plugin" 2017-08-01 13:29:58 +00:00
Eduardo Gonzalez
af6fd6d9d6 Fix horizon start errors for binary images
In kolla we set SECRET_KEY from passwords.yml
Ubuntu and source images deploy right because
they dont remove defaults secret_key file but really
is ununsed. [1]

RDO removes the import and the default key [2]
file making horizon container fail to start due
cannot stat <Key file>.

Symlink to local_settings is only needed for source images,
binary packages already do that symlink during package install[3]

[1]https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L149
[2]https://github.com/rdo-packages/horizon-distgit/blob/rpm-master/python-django-horizon.spec#L354
[3] https://github.com/rdo-packages/horizon-distgit/blob/rpm-master/python-django-horizon.spec#L319
Change-Id: Idfb0a18a95a1a48a4c3323385fd00485699f3fb6
2017-07-25 10:25:09 +00:00
Jenkins
b370ccf034 Merge "Tweaks to allow Horizon dev mode" 2017-07-24 12:06:00 +00:00
Jenkins
a26fcb2b3b Merge "Compile i18n messages for all projects who have locale folder" 2017-07-21 08:01:06 +00:00
Jeffrey Zhang
6a0e56cad3 Compile i18n messages for all projects who have locale folder
Change-Id: I199a1e35224c6cd6b67fa88841b6598090a843c3
Closes-Bug: #1704954
2017-07-18 19:08:57 +08:00
Bertrand Lallau
d1936e7b82 Fix Horizon container starting with Watcher enabled
When Watcher service is enabled, Horizon container failed to start.
Path to Horizon dashboard files was wrong.
Add missing part to previous commit
11e04d0782

Change-Id: I2b2b3a72949d125900fe5b2e1c1de42e2c24c9c3
Closes-Bug: #1703971
2017-07-13 22:18:57 +02:00
Bertrand Lallau
11e04d0782 Fix Horizon container starting if Watcher is enabled
When Watcher service is enabled, Horizon container failed to start.
Path to Horizon dashboard files was wrong.
This patch fix it.

Change-Id: I8031612caf7c02e02f1079413ff8e648d1a4ca54
Closes-Bug: #1703971
2017-07-12 22:07:37 +02:00
Paul Bourke
aa412be7a8 Tweaks to allow Horizon dev mode
* Paramaterise FORCE_GENERATE so it can be set by Ansible when horizon dev
mode is enabled.

* Move the soft linking of local_settings to run time

* Check perms on the secret_key_store at run time

Change-Id: I9bb9a3061412e2f71c60a90ecf9d2e9d78ba2d78
Depends-On: If99b0310dac75776ca462034926dd57794572ce9
2017-07-11 16:30:20 +01:00
Noboru Iwamatsu
d4add1b860 Add designate dashboard to horizon ubuntu/binary
Designate dashboard is not installed in horizon debian/ubuntu
binary image.  But both debian and ubuntu cloudarchive repos
provide python-designate-dashboard package.

Change-Id: I8f65726d14d180368a8f0d349263bd0dd6ef3b90
Closes-Bug: #1702388
2017-07-05 10:45:16 +09:00
caoyuan
940e93f7c6 Install zun ui into horizon image
Change-Id: Ie0e02253bd706cad6a568e1574aa4c4bd83744e5
Closes-Bug: #1677922
2017-07-04 03:28:18 +00:00
Mark Goddard
21f042b7f7 Add workaround for openstack-sahara-ui plugin
The openstack-sahara-ui package in RDO doesn't include the python plugin
scripts in its enabled directory as they are moved rather than copied
into /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/.

This change copies the plugins into the sahara_dashboard python package
directory before they are removed from /usr/share.

Change-Id: Ifbaff505fe3b415e4598ee1a223fb823d2d71b43
Closes-Bug: #1698462
2017-06-21 11:07:03 +01:00
Jenkins
e860e6cd4a Merge "Fix Incorrect timezone in ubuntu horizon images" 2017-05-12 09:42:06 +00:00
Eduardo Gonzalez
1aca75111d Fix Incorrect timezone in ubuntu horizon images
Ubuntu removed tzdata and locales from docker images by default,
this is causing horizon to not come up failing
setting timezone:
```ValueError: Incorrect timezone setting: UTC```

Change-Id: I5bbc4d949ed481d1f6629dbb2f5edad174a36e63
Closes-Bug: #1686830
2017-05-04 16:01:38 +00:00
Jawon Choo
31259fa595 Override image's meta info.
centos based images have wrong label info,
these changes fix own image's name and build-date.

Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
2017-05-03 11:08:17 +09:00
Chen
8c463a47a9 Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
docs.docker.com/engine/reference/builder/#maintainer-deprecated

Closes-Bug: #1683652

Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-20 16:50:05 +09:00
Marcin Juszkiewicz
69fef5cd59 debian: enable all images enabled for Ubuntu
Debian support is not maintained in Kolla so it got a bit behind Ubuntu
one. This changeset enables Debian for all images. Jessie (even with
backports) may be too old for some images though.

Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order
like it is done for RPM distributions.

Partially-Implements: blueprint multiarch-and-arm64-containers

Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-04-04 22:48:18 +02:00
Eduardo Gonzalez
623e54da37 Alphabetize packages
Some images have packages sorted alphabetically and some not.
Unify common style between all images.

Change-Id: I906ed89c10b12886665618752f525ba71d83d991
2017-03-28 16:45:16 +01:00
Juan Antonio Osorio Robles
9df58642c6 RHEL: Add mod_ssl for services running over httpd
This apache module is necessary for when one wants to use TLS for the
services running over httpd.

This only addressed RHEL based systems at the moment, since there is no
such package available for Ubuntu. This requires apache2.2-common which
will carry a lot more dependencies; So I think this should be handled
and decided in a separate patch.

when installing mod_ssl in RHEL-based distributions, an ssl.conf file is
installed in the /etc/httpd/conf.d directory. This file tells httpd to
listen on port 443; however, we don't want to do this by default, since
this should be explicitly enabled by the container's configuration. This
line is thus removed from the configuration.

A release note was added, which specifies this. And the last sentence
can be removed if this is addressed for debian/ubuntu as well.

Related-Bug: #1675490
Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: Id6215d31547247309d43c031e163fa9e4c4ec5dc
2017-03-27 14:52:45 +03:00
Eduardo Gonzalez
f5b00fa359 Add ironic-ui in horizon binary install
Ironic-ui packages are missing in Horizon binary
installations, when enable Ironic Horizon
does not start due failed to stat necessary files.

Ubuntu repos does not have an available package yet.

Change-Id: I1278023e481b3057377ecddc0daaf0552c39d5a2
Closes-Bug: #1671322
2017-03-09 09:01:22 +00:00
Jenkins
11ec45ffc7 Merge "Add trove and sahara dashboard ubuntu binary" 2017-03-02 19:05:43 +00:00
Eduardo Gonzalez
861915767b Add trove and sahara dashboard ubuntu binary
Change-Id: I2b2ef84589ca6cbb0d27934000f9640a8eb202a3
Closes-Bug: #1660092
2017-03-02 10:43:23 +00:00
liyingjun
455ae15f33 Remove useless command
/etc/openstack-dashboard/local_settings.py is deleted in the followup
command, the sed is never used.

Change-Id: Ife02321a4077544ae13428968c4bfe27eb7a7a48
2017-02-24 17:43:24 +08:00
Chao Guo
961224c6cf Use install-pip macro in most source images
1. Enable customization of pip packages in source
branch of most images
2. All pip packages install uniformly through
install-pip macro, user can easily customize his
own pip command (For example using a mirror)

Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: If09582039f690fa4136e8f33200d5da15e092da7
2017-02-17 08:49:32 -03:00
Jeffrey Zhang
3dd1508104 Add openstack-magnum-ui package for centos binary
Change-Id: I8e0c669846d05d2e0919d4b4d730881cfc8bfef6
2017-02-08 13:23:49 +08:00
Jenkins
b1867de2aa Merge "Fix the policy file path in horizon container" 2017-02-07 15:21:47 +00:00
Jenkins
b43efe5377 Merge "Remove include_header and include_footer in all Dockerfiles" 2017-02-07 14:56:26 +00:00
Jenkins
61067c4da4 Merge "Install freezer dashboard into horizon image" 2017-02-06 16:54:16 +00:00
Jenkins
141a4ac2a1 Merge "Fix solum dashboard" 2017-02-06 16:54:09 +00:00
caowei
974191a311 Fix solum dashboard
Change solum_dashboard to solumdashboard

Change-Id: I7147de35026e0a18f6032c7b46597cf440eda7d4
Closes-Bug: #1662085
2017-02-06 16:17:11 +08:00
caowei
5b95528e33 Fix tacker dashboard
Change tacker_dashboard to tacker_horizon

Change-Id: I6f6f7c53e4ad31f4b6c16c2071a9e1114ef41a57
Closes-Bug: #1662088
2017-02-06 15:58:50 +08:00
caowei
0e712db386 Install freezer dashboard into horizon image
Change-Id: I8a70c7e95cdd6517816060e148d3fdc4857182f4
Closes-Bug: #1661953
2017-02-06 15:08:45 +08:00
Jeffrey Zhang
e5903d5fa9 Remove include_header and include_footer in all Dockerfiles
include_header and include_footer parameter is already removed, remove
them in all Dockerfiles.
Add missing footer block.

Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
2017-02-05 10:44:48 +08:00
Jeffrey Zhang
0f49e952de Fix the policy file path in horizon container
all policy files should be moved to /etc/openstack-dashboard folder

Change-Id: Ibd2fd67fccce14e2efc8296f1a1b134965963c1f
2017-02-04 17:38:55 +08:00
qiankun.zhang
6aef71e092 Install tacker-horizon into horizon image
Depends-On: I2090363441cd1a51b51356d59baebc43e1986dc6
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Change-Id: Ic63c88436b03c14ef767ee102625e697250c00e0
Closes-Bug: #1647894
2017-02-03 01:04:45 -05:00
Jenkins
e86a0514aa Merge "Fix mistral _50_mistral.py location" 2017-02-02 16:52:42 +00:00
Jeffrey Zhang
8261624794 Fix the murano policy file path
The policy files should be put into /etc/openstack-dashboard folder

Change-Id: I08cd74b0c1c6e770d988805469a7ff2c2e0aa555
2017-01-28 15:01:05 +00:00
Jenkins
d025182ed5 Merge "install murano dashboard package in horizon" 2017-01-24 15:04:19 +00:00
Jeffrey Zhang
32e68de94c install murano dashboard package in horizon
Change-Id: I96408b734eb4bc51d9acaa686d139a1653bff453
Closes-Bug: #1640679
2017-01-24 13:31:27 +00:00
Jenkins
0e47c44133 Merge "Fix searchlight dashboard into horizon image." 2017-01-23 13:00:48 +00:00
caowei
cd9dd2a021 Fix solum dashboard into horizon image.
TrivialFix

Change-Id: I044c7edb2ac6388d807084b921c1203337eb8008
2017-01-22 22:25:12 +08:00
caowei
1eb58091fa Fix searchlight dashboard into horizon image.
TrivialFix

Change-Id: I7b37b505a7763b83052d06abf94363344f87efaf
2017-01-22 22:06:39 +08:00