aboutsummaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2020-01-29CentOS 8: base image fixes for RabbitMQ, fluentd & InfluxDBMark Goddard3-8/+8
- Fix td-agent repo URL for fluentd. $releasever and $basearch variables were escaped in the repo URL. - Disable repo_gpgcheck for RabbitMQ. The rabbitmq-server 3.7 packages on packagecloud are not signed, which is why we have gpgcheck=0 for that repo. Previously repo_gpgcheck was set to 1, but this breaks DNF which does not seem to accept keys imported by rpm --import for signing a repo (as opposed to packages). This causes it to prompt during package install, which does not work without a terminal in the build container. This should be temporary as we will upgrade RabbitMQ to 3.8 soon. - Add InfluxDB repo back to list of repos to disable. Change-Id: Ibbb720390ff17e11249a5aa77163c15c0971209a Partially-Implements: blueprint centos-rhel-8
2020-01-09CentOS 8: base and openstack-base imagesMark Goddard4-33/+124
Adds support to the base and openstack-base images for CentOS 8. These images have been removed from the list of unbuildable images, and replaced with all dependent images. Change-Id: I18fba8a5c2f99b700990cbf41c76077a1ec2408a Partially-Implements: blueprint centos-rhel-8
2020-01-09Remove tgtd and scsi-target-utils support in CentOS/RHEL 8Maciej Kucia3-4/+12
In CentOS/RHEL 8 there is no scsi-target-utils package, nor is it available in EPEL. In RHEL 7 and beyond the LIO kernel subsystem can be used instead of the tgtd daemon. This change removes support for the SCSI target daemon on CentOS/RHEL 8. The 'tgtd' image is no longer available for CentOS/RHEL 8. Change-Id: I56f230d66f75dd0546325676278f91579f08c822 Signed-off-by: Maciej Kucia <maciej@kucia.net> Co-Authored-By: Maciej Kucia <maciej@kucia.net> Co-Authored-By: Mark Goddard <mark@stackhpc.com> Related: blueprint centos-rhel-8 Depends-On: https://review.opendev.org/631479/
2020-01-08Merge "Add OVN bits to neutron-base"Zuul2-3/+7
2020-01-08Add OVN bits to neutron-baseMichal Nasiadka2-3/+7
Currently neutron-server-ovn container does not run db setup for networking-ovn subproject when bootstrapping - since it uses extend_start from neutron-server (where networking-ovn is not installed). Since OVN is being added as in-tree driver to Neutron and there is no rationale behind supporting separate container images for neutron-server-ovn and neutron-metadata-agent-ovn, hile networking-ovn driver uses around 1-2MB of space - this change adds networking-ovn installation to neutron-base image and deprecates neutron-server-ovn and neutron-metadata-agent-ovn images. Change-Id: Ib2dbdd7e7d34f56985b7a5b2494c3b89034688cb
2020-01-07horizon: 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
2020-01-03Merge "CentOS 8: work around mod_ssl certificate issue"Zuul1-0/+9
2019-12-21vitrage-base: honor distro_python_versionMarcin Juszkiewicz1-1/+1
Change-Id: I27c71c1237dc010531495440e6094d8b129f6c48
2019-12-21CentOS 8: work around mod_ssl certificate issueMark Goddard1-0/+9
CentOS 8 has an issue with mod_ssl which produces an invalid Apache configuration in /etc/httpd/conf.d/ssl.conf. This causes the following error on startup: SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty Work around this by generating certificates manually. Partially-Implements: blueprint centos-rhel-8 Change-Id: Id8bcefa3527575ba72fe37013787ba716e435ac8
2019-12-17docker: fix 'Empty continuation line found' warningsMarcin Juszkiewicz3-13/+13
Whitespaces suxx ;D Change-Id: I4bfd437c914680a5dcbc67dfe9b0a9a74e2eb35d
2019-12-17Fix monasca-grafana being unbuildable due to old npmRadosław Piliszek1-1/+6
Affected builds on Ubuntu which had: npm 3.5.2 while the latest was: npm 6.13.4 And CentOS had: npm 5.6.0 This patch runs npm update via npm. Pinned to 6.x. Additionally, this moves npm packages prefix (root) to /usr/local to avoid conflicts with native packages. Change-Id: Ibaacc1cc478b2b2f8196a5da4eea3570d7d310ff Closes-bug: #1856699
2019-12-16Merge "base: unify CentOS packages list"Zuul1-30/+9
2019-12-16Merge "Refactor Apache httpd setup"Zuul26-276/+61
2019-12-13Merge "Use APT pinning to set preferred version of RabbitMQ"Zuul3-21/+7
2019-12-13Merge "Add Networking-MLNX to Neutron-Base packages"Zuul1-0/+3
2019-12-13base: unify CentOS packages listMarcin Juszkiewicz1-30/+9
For infra images work we need 'base' image to be 'install_type' agnostic. So it will be the same when built for 'binary' or 'source' install type. Change-Id: Ied4a00e8866560d39004a34d6857ac62e22e2c0c
2019-12-13Merge "Build images with healthcheck scripts for core services"Zuul8-0/+88
2019-12-12Use APT pinning to set preferred version of RabbitMQMarcin Juszkiewicz3-21/+7
We want RabbitMQ 3.7.10-1 for Ubuntu. So set it in one place which is designed for such things instead of doing it everytime we want to install it. Change-Id: Ib2b2d4e392aaf77bcdec24f9f5551cdf15d32d91
2019-12-12Add Networking-MLNX to Neutron-Base packagesHamdy Khader1-0/+3
The package is required for infiniband deployment to be installed on containers: neutron-server, neutron-dhcp-agent and neutron-l3-agent. Change-Id: I017b65c2032648fa0ac7126d4a06cd98cb7c33a0
2019-12-11Refactor Apache httpd setupMark Goddard26-276/+61
All Apache httpd setup has been moved to a new helper script, kolla_httpd_setup. This includes the existing clean of /run/httpd, /var/run/httpd, /tmp/httpd etc. Horizon has an additional bit of Apache config for Debian/binary, which has been kept in extend_start.sh for horizon. Change-Id: Ia2af74b69c151db0bd7e452460b0babcee50b282 Related: blueprint centos-rhel-8
2019-12-10Merge "Revert "Introduce macro to remove Py3 only plugins on CentOS 7""Zuul3-12/+2
2019-12-10Merge "Remove kolla_keystone_* modules from kolla-toolbox"Zuul3-197/+1
2019-12-09Merge "base: use upstream dumb-init on all architectures"Zuul1-24/+0
2019-12-09Merge "Let nova-libvirt restarting be independent of libvirtd.log"Zuul1-1/+1
2019-12-09Merge "Fix keystone bootstrap error message display"Zuul1-1/+5
2019-12-09Merge "sensu-client: use docker.io on Debian/Ubuntu"Zuul2-12/+1
2019-12-09Build images with healthcheck scripts for core servicesMichal Nasiadka8-0/+88
blueprint container-health-check Now docker supports healthcheck directive[0] in Dockerfile, which is helpful for checking container aliveness. Base for this patch were healthcheck scripts from tripleo[1]. [0] https://docs.docker.com/engine/reference/builder/#healthcheck [1] https://github.com/openstack/tripleo-common/tree/master/healthcheck Change-Id: Ifc32713cd4d6b45c74855c0ebf5bb65784701d44
2019-12-09Remove kolla_keystone_* modules from kolla-toolboxMark Goddard3-197/+1
These are no longer used by kolla ansible, and were not used by any other deployment tools. Change-Id: I214b0b7d94717aa9aeae88363d5721396e7b6684
2019-12-09Fix keystone bootstrap error message displayMark Goddard1-1/+5
In some situations, Keystone bootstrap can fail, and then unhelpfully fails displaying the error message output by the 'keystone-manage bootstrap' command. This appears to be due to unprintable control characters in the error message which prevent the output of the script from being valid JSON. This change fixes the issue by piping the output through 'cat -v', which replaces unprintable characters with control codes. Change-Id: I82444bc2272311023cc9e92c5a298d1c4c87483b Closes-Bug: #1855701
2019-12-09base: use upstream dumb-init on all architecturesMarcin Juszkiewicz1-24/+0
In past we were building 'dumb-init' from source. Then in commit f8fd56056114af7e2c8b8185cd258c6fd3993c8c we moved to using binaries from Debian packages instead. With keeping compiler... Now Travis CI supports all architectures we care about. So dumb-init upstream built all binaries for us. Good bye compiler stuff. 115 megabytes saved. Change-Id: I08e0e564908e6abb279a73f08cad4c851395ca47
2019-12-06Merge "Vitrage: build images for Debian"Zuul5-0/+57
2019-12-06Merge "Added python3 packages for mellanox agent container"Zuul1-14/+17
2019-12-06Merge "Remove skydive rpm installation"Zuul3-17/+13
2019-12-06Added python3 packages for mellanox agent containerChandan Kumar (raukadah)1-14/+17
https://review.opendev.org/#/c/672023 added mellanox agent container which contains python2 packages but on RHEL8 tripleo job, python3 packages are needed which broke the periodic container build job, including python3 packages will fix the issue. Closes-Bug: #1855050 Change-Id: I35909eccaa101ef498d0a3481b8708d8ee5884d3 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-12-06Revert "Introduce macro to remove Py3 only plugins on CentOS 7"Mark Goddard3-12/+2
This reverts the following commits: df987c9d3fca40e0a7529e48a3626dfdd58e2168 d866c63a32a494b8643b166c3b1e36e463a7502f 6b40b655f124d0a95f1b7d89ce04236606a02010 These are no longer necessary as we are using stable/train branch for source images until CentOS 8 / python 3 support is available and working. Change-Id: I5aedf1141862d51c5bb676a7393fc131c452c914 Related: blueprint centos-rhel-python-3
2019-12-06ovn-base: Create /run/ovn in extend_start.shMichal Nasiadka1-0/+3
OVN 2.12 packages are not creating /run/ovn directory, which is the default socket/pidfile path for ovn services. Change-Id: I9cf8c9a4fafeab00f76ee70a123b9a841aa77512
2019-12-06Let nova-libvirt restarting be independent of libvirtd.logyuchengde1-1/+1
Modify nova-libvirt extend_start.sh for preventing docker boot fail if there is no libvirtd.log file in libvirt folder. Change-Id: If1df41fb07b90b6020a60e3f987d51f5a9792bca Closes-Bug: 1855253
2019-12-05Introduce macro to remove Py3 only plugins on CentOS 7Marcin Juszkiewicz3-6/+12
As CentOS 7 is Python 2 we need a way to remove plugins used in OpenStack components once they switch to be Python 3 only. 'remove_py3_only_plugins_for_py2' macro does exactly that. This change also disables networking-bgpvpn for python 2. Change-Id: Ib90aabc485f1c831d3d41cc0f70052f8fffc3fe6 Related: blueprint drop-py2-support
2019-12-04sensu-client: use docker.io on Debian/UbuntuMarcin Juszkiewicz2-12/+1
There is no need to use external Docker repo for an image which just needs Docker client. Change-Id: I61387287eb3d144ba1686d95b38f95c8292f5b0d
2019-12-04Merge "Install etcd3gw to fix Ubuntu binary tooz coordination"Zuul1-0/+1
2019-12-04Merge "Enable repos only when needed"Zuul35-27/+121
2019-12-04Vitrage: build images for DebianViktor Michalek5-0/+57
Change-Id: I73b1964b7b22f1a2d5637209b86559b79602131b
2019-12-03Merge "Added senlin-conductor and senlin-health-manager"Zuul2-0/+46
2019-12-03Install etcd3gw to fix Ubuntu binary tooz coordinationRadosław Piliszek1-0/+1
Change-Id: Ib56e62d1fb4d0fc4a6c627b87a929be0bc614d1e Closes-bug: #1852086
2019-12-02Merge "Added Neutron Mellanox agent image"Zuul1-0/+46
2019-12-02Added Neutron Mellanox agent imageHamdy Khader1-0/+46
Neutron Mellanox agent image is a Neutron base image plus package: python-networking-mlnx. Ubuntu and Debian image bases when build type is binary is not supported because of missing python-networking-mlnx package. Change-Id: If57c34bd5c3aee3e5b1f1c7b3703fd544ce498da
2019-11-29drop *_existing_user_fix macrosMarcin Juszkiewicz5-49/+0
Commit 109706aa8b26f6f915e1cadae89de8135c3b68bf bumped 'system' users beyond range used by Kolla. So Debian/Ubuntu does not complain that system users created by packages exist already on package install. Change-Id: I9bf4b240839d46088ac668f26cf065dd5e3775c2
2019-11-29Remove skydive rpm installationMichal Nasiadka3-17/+13
Since some time (around v0.22.0) skydive team has stopped publishing rpm packages in centos-opstools repo - instead they moved into producing docker images for consumption. This change removes usage of rpms for rpm distros and uses GitHub release binary as in deb distros. Change-Id: Ie586b0f249e545877ab1dd156d08e1863cd479ba
2019-11-29Merge "Horizon: install vitrage dashboard on Debian"Zuul1-0/+1
2019-11-29Enable repos only when neededMarcin Juszkiewicz35-27/+121
Disable external repositories by default and enable only when needed. Depends-on: https://review.opendev.org/696480 Implements: blueprint repos-off-by-default Change-Id: Icf2a8397a8349e0fe849d88d160409fd234480a9