summaryrefslogtreecommitdiff
path: root/docker/bifrost
AgeCommit message (Collapse)AuthorFilesLines
2021-02-17Fix several issues (Train)Marcin Juszkiewicz1-0/+3
* sensu: drop Ubuntu support Upstream removed Ubuntu repositories. Train/Stein only * Bifrost: pin IPA builder to 2.4.0 Train & earlier IPA builder master branch now requires diskimage-builder 3.4.0, but Python 2 is supported only up to DIB 2.38. This change works around the issue by pinning IPA builder to 2.4.0, which has a Python 2 compatible dependency on DIB. Change-Id: Ice125e101a689fd3df9d1cd9a093a026f9747a3e
2020-09-04Use upstream Erlang on CentOS 8Radosław Piliszek1-1/+1
Train only. In CentOS 8 Train we had a mix of rmq upstream and rdo packages, erlang was from RDO and rmq (3.7) from rmq. As this is not really tested by any other party, I propose to unify the sources of both. Change-Id: I52094ce9e3d98cbdedfdc23c8a43dd3093ce1771 Closes-bug: #1884034
2020-05-17switch to official CentOS 8 repositoriesMarcin Juszkiewicz1-0/+5
RDO builds of stable/train for CentOS 8 went into phase when we do not need to use delorean builds. EPEL is disabled like it is in Ussuri (RDO packages may conflict with it). Erlang for RabbitMQ is used from CentOS 8 'rabbitmq-38' repo while RabbitMQ is still 3.7.* from same place as usual. 'python3-pika' is dropped from openstack-base as it is EPEL only package and is not used by any image (dropped in Ussuri in https://review.opendev.org/#/c/710003/ patch) AArch64 is not supported until CentOS 8.2 release. Change-Id: I9d3ed54f4d10ef7ad2d52ed3aeca15f3968cd163
2019-09-19Merge "Add package systemd-sysv to bifrost-deploy image"Zuul1-1/+2
2019-09-16Remove exemption for non-systemd Ubuntu in bifrostJan Horstmann2-46/+0
Unneeded systemd units were never removed for Ubuntu 18.04. Since Ubuntu 14.04 is no longer supported, this commit removes the exemption for it. Change-Id: I764a0e305a95ee9e330041f1e15d35b45a86aa72
2019-09-16Add package systemd-sysv to bifrost-deploy imageJan Horstmann1-1/+2
CMD of image bifrost-deploy is set to "/sbin/init" which is part of package "systemd-sysv" on common systemd-based distros. Change-Id: Ie2195248443e37dc22b713ecd1eb6de2876446d3 Closes-Bug: 1840949
2019-01-25Merge "Increase gather_facts timeout"Zuul1-0/+3
2019-01-21Increase gather_facts timeoutAlex Schultz1-0/+3
Bifrost containers are failing to build occassionally due to udevadm timeouts. This is likely related to an ansible issue, https://github.com/ansible/ansible/issues/43884, which can be worked around by increasing the gather facts timeout value. This change updates it to 30 seconds from the default 10. Change-Id: If252e41a012a24f31cf2f1414657ac18c819228f Closes-Bug: #1812259 Depends-On: https://review.openstack.org/632078
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-12-13Clear ENTRYPOINT configuration for BifrostMark Goddard1-0/+2
Bifrost was broken by the recent kolla change [1] to use an ENTRYPOINT for dumb-init. The container failed to start because dumb-init was trying to run /sbin/init, which expects to be pid 1. [1] Id91ebb8b0ecc43946845de386350af0536dd661f Change-Id: Id77ecfca09dfda8da984589f70a26433214ee3af Closes-Bug: #1808326 Related-Bug: #1799642
2018-10-02Use rabbitmq package from OS distro for BifrostMark Goddard1-2/+7
The recent change to upgrade RabbitMQ broke deployment of Bifrost, since it does not support the newer version of RabbitMQ. This change reverts the bifrost image to use the package provided by the OS. Change-Id: Id6c9b879727734ea2c03b2d69e1a673354f52617
2018-07-26add additional Remove yum cacheJon Schlueter1-1/+1
as a followup to https://review.openstack.org/#/c/505143/ "Remove yum cache" Change-Id: Ifaaead6f6efe35808ebf79ea0d4474fbb60c8994
2017-11-02Cleanup APT lists after installing packagesChristian Berendt1-2/+7
/var/lib/apt/lists/ can take several MBs so get rid of them after packages are installed. Change-Id: Icfff55d92fa5c865f09db5112da28bf452a5a221
2017-05-03Override image's meta info.Jawon Choo2-2/+2
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.j2Chen2-2/+2
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-18Switch to Kolla virtual environment for BifrostMohammed Naser1-0/+1
By default, the Bifrost Ansible playbooks will naturally run everything against /usr/bin/python which means that some modules, such as Shade when it has to be installed will use the system Python installation. By adding `ansible_python_interpreter` and pointing it towards our Python interpreter, it fixes the failures related to system Python and conflicts related to it (which in this case, resulted in Shade failing to build properly). Closes-Bug: #1673776 Change-Id: I2a5a2a3e2627a313b3306aeb1a910efe0e209496
2017-03-06Update bifrost-base Dockerfile.j2 template.James McCarthy1-0/+2
To facilitate build custimisations in template-overrides.j2 for bifrost-base, added a block section wrapping the execution of the ansible install.yaml playbook. Change-Id: I4eb18d03b7d7b2a2f65ec3c844af9149f9426949
2017-02-20Merge "Use install-pip macro in most source images"Jenkins1-1/+5
2017-02-17Use install-pip macro in most source imagesChao Guo1-1/+5
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-16Use correct inventory file for BifrostMark Goddard1-1/+1
Bifrost now targets the play in the install.yml playbook at the target Ansible group instead of localhost. This change uses the target inventory file to pick up this group and avoid a 'noop' playbook. Change-Id: I1b351ccfea5684aeb1394e5a12ee848eb62447fe Closes-Bug: #1665413
2017-02-14Fix Kolla gateJeffrey Zhang1-1/+1
There are two issue in kolla gate now. Since source building is voting, we have to squash these two fixes into one Disable gpgcheck in grafana repo Seems there is something wrong in grafana repo gpg key. Disable gpgcheck until it is fixed Partial-Bug: #1664272 Add VENV variable in bifrost base Dockerfile * ANSIBLE_FROM_PYPI is removed in bifrost. * Only when VENV exist, ansible is installed in global rather then root user Change-Id: Ib96433e6d2a03941cace8ed15dafbb314c4551eb
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-17use static uid/gid in imagesSam Yaple1-7/+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
2017-01-17install ansible from pypi in bifrostJeffrey Zhang1-1/+4
There are some bug in installing Ansible from source in bifrost, and install fro pypi is more stable. Change-Id: Ib51979fabbf57627179e657e35a3bbbdb13b552b
2016-12-26Improve bash command used in bifrost-base imageChao Guo1-8/+8
Improve readability of dockerfile. Change-Id: I7d923bab5d493c8dfaf7aba1c7f85017ea5cf690
2016-11-04Merge "Add kolla_ prefix for all sudoers files"Jenkins1-2/+2
2016-11-04Add kolla_ prefix for all sudoers filesJeffrey Zhang1-2/+2
Add kolla_ prefix for all sudoers files in case of overwrite. TrivialFix Change-Id: I33cd58caf65a116c8442cb931699867b81dba616
2016-11-03Remove Fedora supportChristian Berendt1-1/+1
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-09-21Add "---" into some files of yamlcaoyuan1-0/+1
TrivialFix Change-Id: Id2cd736f136068514f26977b434b15a8b1ffc8be
2016-09-13Add header blocks to all DockerfilesPaul Bourke2-0/+5
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-08-31introduce bifrost-deploy containerSean Mooney5-0/+119
- This change adds support for building and deploying a bifrost container for baremetal provisioning. - This change documents how to manually deploy and bootstrap the bifrost container. Implements: blueprint bifrost-support Change-Id: I7d895839b11cbf916be33225875465c3358b5aa4