summaryrefslogtreecommitdiff
path: root/docker/horizon/Dockerfile.j2
AgeCommit message (Collapse)AuthorFilesLines
2020-01-08horizon: fix build in stable branchesMarcin Juszkiewicz1-0/+2
When [1] was committed, horizon stopped building for Train. Analogous patch is proposed to other stable branches. This patch removes horizon from upper-constraints. Kolla master is affected directly because we build Train for CentOS 7 atm. [1] https://opendev.org/openstack/requirements/commit/3e54878f9c87266e1b9775f72af06de27a3dad65 Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I1bd5a40eeef9612d995c81426fe510e89f438725 (cherry picked from commit 8b7ec43536842dd500cc5ee1198a318070ac1046)
2019-11-29Horizon: install vitrage dashboard on DebianViktor Michalek1-0/+1
Change-Id: I4e60fcd767f15b7da90b0143008b1d6d794c76f2 (cherry picked from commit 683f9c9178ec541d2ab8f92883da66d8e2f1b956)
2019-10-03Horizon: change location of policy files in DebianViktor Michalek1-0/+2
Change-Id: I7f818141506adee67d568061a93e3c13c65f24db
2019-10-01Horizon: fix for DebianViktor Michalek1-4/+16
Stein/Buster packages are enabling plugins by default at its installation time, but we actually know what plugins should be enabled just only at the deploy time. Therefore we need to install all available plugins and disble them right at the image build time. Plugins will be enabled according to deployment (kolla-ansible) configuration at deploy time. Change-Id: I9604ebb4f2a5081fd1209b9841aa997a70a90a11
2019-09-20[horizon] Install octavia dashboard on debDincer Celik1-0/+1
Change-Id: Iec78660049085483b207f4bdcf48f572d845c600
2019-07-01Fixes wrong local_setting.py file issue for Ubuntu binary deployment.Dincer Celik1-0/+2
This bug both affects Rocky and Stein. local_setting.py was not linked to local_settings under /etc/openstack-dashboard so Horizon runs with default settings. Change-Id: I818876619694695663c98d9edcb8c8514198e8fd Closes-Bug: #1803029
2019-06-26Speed up builds of horizon slowed down by recent upstream changeRadosław Piliszek1-4/+4
Builds of horizon needlessly ran many compilemessages iterations for core horizon parts because of using horizon's manage.py in a loop. The behavior was caused by recent upstream change ([1]). It caused CentOS source builds to take too long time and time out in CI. This patch switches to using django-admin. [1] https://opendev.org/openstack/horizon/commit/4e911e2889ebe7f0a577a0323649dceb9cef363c Change-Id: I737f80566dd263ed291e215968ec72a95ad41a5f Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-15Merge "Remove Neutron LBaaS support"Zuul1-2/+1
2019-06-07Remove Neutron LBaaS supportCarlos Goncalves1-2/+1
The project has been retired and there will be no Train release [1]. This patch removes Neutron LBaaS support in Kolla. [1] https://review.opendev.org/#/c/658494/ Depends-On: https://review.opendev.org/#/c/663875/ Change-Id: I99484c48ed09f7e015e134bdff1f298c359c6905
2019-06-06Debian/Ubuntu: move to Python 3 for source imagesMarcin Juszkiewicz1-2/+2
Commit 43b74ccc157c0b50138c3785ed91dab504895571 enabled use of Python 3 based packages but not switched to use Python 3. Some of images still contain Python 2. There are two reasons: - Ceph (ceph-common depends on Py2) - python3-ldappool on Ubuntu 18.04 In Ceph situation Py3 packages were added. For second one we can not do anything - Py2 dependency got dropped in Ubuntu 18.10 version. Removed neutron-server-plugin-networking-infoblox due to being not maintained. Once https://review.opendev.org/#/c/657578/ get merged someone may revert that part. Implements: blueprint debian-ubuntu-python3 Depends-on: Ie2a1077f7def0743f1403341985e2109aa490026 Change-Id: Ibfe0c2b8be98db56c61f74fb0247488ab3749ef4
2019-03-15Fix lower-constraints and kolla CI jobsMark Goddard1-1/+1
Multiple fixes to fix multiple problems. 1. Bump setuptools requirement to 21.0.0 The 16.0.0 requirement breaks the lower-constraints job on Ubuntu bionic. We see the following error: AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader' 2. ubuntu-binary horizon image needs to use python3 for django manage.py 3. ubuntu-binary nova-placement-api image needs to use python3 for apache mod wsgi. 4. nova-libvirt needs exact qemu dependencies due to packaging change 5. OracleLinux repos definition was changed in official image. 6. Fetch InfluxDB gpg key for Ubuntu base image from influx server. Change-Id: Ic797d41f53a5f146d112619f1683cbfbf3a85dc2
2019-03-12Add python3 packages for RHEL systemsAlex Schultz1-7/+20
RDO is currently working on python3 support for the next version of CentOS/RHEL based systems. This package uses the distro_python3 flag that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to use the python3 specific package names. This change only adds python3 package names for RHEL systems. Conflicts-With: https://review.openstack.org/#/c/636457/ Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a Related-Blueprint: python3-support
2019-03-12replace 'distro_python3' variable with 'distro_python_version'Marcin Juszkiewicz1-3/+3
RHEL7 derived distros use Python 2.7 RHEL8 uses Python 3.6 Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet. Debian:buster uses Python 3.7, but we haven't enabled it yet. We have several places in code where "/lib/pythonX.Y/site-packages" is used so we need to know value of X.Y rather than py2/py3 switch. How to check for Python 2: {% if distro_python_version == '2.7' %} Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
2019-02-28debian/ubuntu: make use of Python3 based packagesMarcin Juszkiewicz1-8/+7
Both Ubuntu Stein UCA and Debian 'buster' migrated their OpenStack packages to Python 3. Note that Debian 'buster' is not released yet and contains Rocky packages. Stein ones will be available later. Co-Authored-By: Lee Yarwood <lyarwood@redhat.com> Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com> Change-Id: I160f79cc57f54ec3eac857c5babd1a6e2656d228
2019-01-17Use base_package_typeAlex Schultz1-4/+4
This change updates the docker files to use base_package_type instead of doing specific distro checks for the rhel/deb generic cases. The base_distro is still available and is used when a specific distro needs a customization but if the differences are purely rpm vs deb, then the base_package_type can be used. Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2018-08-21Fix the ubuntu binary gateJeffrey Zhang1-6/+0
1. openstack-dashboard package already configured the folders as expected. 2. UCA is not include python-vmware-nsx 13.0.0 package now. Change-Id: I7cb0c4d3d872333dadd2eecd7071e8f08c21a44d
2018-07-29Stop manually copying sahara-dashboard config filesMartin André1-1/+0
RDO review https://review.rdoproject.org/r/#/c/14081/ changed the locaction of the config files for the openstack-sahara-ui and added the symlinks to be more consistent with the other horizon plugins packages. It's not necessary anymore to treat sahara-ui as a snowflake and the old copy in horizon dockerfile must be removed. Change-Id: Ib222809ee67d103469e9d467727e0e45eaac77e8 Closes-Bug: #1784233
2018-05-28Fix the horizon failed to startchenxing1-0/+1
Currently, Horzion container fails to start when enabled designate, murano, magnum and so on. This patch is to fix it. Change-Id: I32da6dc1a65d3bfcaa59b4c9136e389af1f9b551 Closes-Bug: #1744428
2018-04-01Merge "Add octavia-dashboard to horizon image"Zuul1-0/+1
2018-03-29Merge "Add designate-ui for horizon centos"Zuul1-0/+1
2018-03-28Add octavia-dashboard to horizon imageCarlos Goncalves1-0/+1
Change-Id: Ic99e9e7b499e82a998386e13dceab4e67f23e989
2018-03-27Add heat dashboard for deb/ubuntu binaryMartin André1-1/+1
The python-heat-dashboard was missing from Debian/Ubuntu binary horizon images. This commit adds it since the deb package is now available in the repositories. Change-Id: Id0462419b97b8f1027a3ed9190b3ef57af8a7e3d
2018-03-23Add designate-ui for horizon centosKevin Tibi1-0/+1
Designate-dashboard has been release for RDO. Change-Id: Ie69fad3025b8d295e025b459d87237c52550633a Closes-bug: #1750757
2018-02-27Install heat-dashboard in rpm based distrosMartin André1-1/+1
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-01-05Add vitrage dashbord into horizon imagechenxing1-1/+2
Change-Id: I5846b48d336583ae82743f61bfbdadc99c755e8d Partially-implements: blueprint vitrage-roles
2017-12-11Add heat dashboard to horizon imageJeffrey Zhang1-2/+2
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-10-23Add lbaas dashboard in horizon ubuntu binaryEduardo Gonzalez1-0/+1
Since ocata, lbaas dashboard package is independent from openstack-dashboard package. Change-Id: I39893945466567760b0f890dfabdb7136853ea12 Closes-Bug: #1720158
2017-08-01Merge "Add workaround for openstack-sahara-ui plugin"Jenkins1-0/+1
2017-07-24Merge "Tweaks to allow Horizon dev mode"Jenkins1-1/+0
2017-07-18Compile i18n messages for all projects who have locale folderJeffrey Zhang1-6/+9
Change-Id: I199a1e35224c6cd6b67fa88841b6598090a843c3 Closes-Bug: #1704954
2017-07-11Tweaks to allow Horizon dev modePaul Bourke1-1/+0
* 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-05Add designate dashboard to horizon ubuntu/binaryNoboru Iwamatsu1-0/+1
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-06-21Add workaround for openstack-sahara-ui pluginMark Goddard1-0/+1
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-05-12Merge "Fix Incorrect timezone in ubuntu horizon images"Jenkins1-2/+6
2017-05-04Fix Incorrect timezone in ubuntu horizon imagesEduardo Gonzalez1-2/+6
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-03Override image's meta info.Jawon Choo1-1/+1
centos based images have wrong label info, these changes fix own image's name and build-date. Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c Closes-Bug: #1680341
2017-04-20Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2Chen1-1/+1
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-04debian: enable all images enabled for UbuntuMarcin Juszkiewicz1-2/+2
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-03-28Alphabetize packagesEduardo Gonzalez1-9/+9
Some images have packages sorted alphabetically and some not. Unify common style between all images. Change-Id: I906ed89c10b12886665618752f525ba71d83d991
2017-03-27RHEL: Add mod_ssl for services running over httpdJuan Antonio Osorio Robles1-1/+5
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-09Add ironic-ui in horizon binary installEduardo Gonzalez1-0/+1
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-02Merge "Add trove and sahara dashboard ubuntu binary"Jenkins1-1/+3
2017-03-02Add trove and sahara dashboard ubuntu binaryEduardo Gonzalez1-1/+3
Change-Id: I2b2ef84589ca6cbb0d27934000f9640a8eb202a3 Closes-Bug: #1660092
2017-02-24Remove useless commandliyingjun1-2/+0
/etc/openstack-dashboard/local_settings.py is deleted in the followup command, the sed is never used. Change-Id: Ife02321a4077544ae13428968c4bfe27eb7a7a48
2017-02-17Use install-pip macro in most source imagesChao Guo1-2/+11
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-08Add openstack-magnum-ui package for centos binaryJeffrey Zhang1-0/+1
Change-Id: I8e0c669846d05d2e0919d4b4d730881cfc8bfef6
2017-02-05Remove include_header and include_footer in all DockerfilesJeffrey Zhang1-1/+0
include_header and include_footer parameter is already removed, remove them in all Dockerfiles. Add missing footer block. Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
2017-01-24install murano dashboard package in horizonJeffrey Zhang1-6/+6
Change-Id: I96408b734eb4bc51d9acaa686d139a1653bff453 Closes-Bug: #1640679
2017-01-17use static uid/gid in imagesSam Yaple1-5/+5
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
2016-12-12Merge "Remove the unnecessary "openstack-zaqar-ui""Jenkins1-2/+1