aboutsummaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2019-03-20Merge "Add Google mtail for generating metrics from logs"Zuul1-0/+30
2019-03-18Sahara: install also the split pluginsLuigi Toscano1-0/+26
The code of Sahara plugins has been extracted during the Stein cycle. Add support for: - the source-based deployment method (a beta release of the plugins is available on pypi) and - the RPM-based method (RDO contains the packages for the plugins.) This change is required also for the RPM method. Even if the RPM packages of the plugins are linked through weak dependencies to the sahara-api and sahara-engine packages (Supplements), weak dependencies are currently disabled here. Change-Id: I5241d84aa1ca2830cfdb60c1a3ff4e958a21b345
2019-03-18Pin sensu mailer and slack pluginsMark Goddard1-2/+5
The 4.0.0 release of the mailer plugin requires Ruby 2.3+, which is not avaiable in CentOS/RHEL7. Pin it to the 3.0.0 release, which is supported. While we're here, also pin the slack plugin. Both use the pessimistic version operator, as used in the sensu-client image. Change-Id: Idac8cb696c81c7413a3da79b4868f556ef36fc8d Closes-Bug: #1820594
2019-03-15Merge "Move to Debian 'buster'"Zuul7-33/+6
2019-03-15Merge "helm-repository: drop unused os_client_config variable"Zuul1-6/+0
2019-03-15Merge "base: more strict pin of Ceph/Luminous for Ubuntu"Zuul1-1/+1
2019-03-15Merge "Drop tcp_wrappers package requirement"Zuul1-2/+1
2019-03-15Merge "Separate placement DB sync and data migrations"Zuul1-0/+12
2019-03-15Fix lower-constraints and kolla CI jobsMark Goddard4-7/+7
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-14Move to Debian 'buster'Marcin Juszkiewicz7-33/+6
Buster is at freeze phase so safe to update and use. Will give us Python 3 based OpenStack packages (usually release delayed). Change-Id: I48c2d252a834716f1bcf10b18f2d32fe541e8137
2019-03-13Merge "Fix the permission issue of placement-api log"Zuul1-0/+3
2019-03-13base: more strict pin of Ceph/Luminous for UbuntuMarcin Juszkiewicz1-1/+1
Change-Id: I5edc46c3b93f93bdb7fa97b08072a773b8296e02
2019-03-13Merge "Copy placement database migration script"Zuul2-4/+27
2019-03-13Separate placement DB sync and data migrationsMark Goddard1-0/+12
For an online upgrade, these commands should be executed separately. Change-Id: I8d40a4d66c18022e73b48ecdfd299d9ed459777f
2019-03-13Fix the permission issue of placement-api logchenxing1-0/+3
This patch is committed according to patch[0] of the kolla-ansible. [0]https://review.openstack.org/#/c/613629/28 Change-Id: Id138802b320ae0a0f01db51a0b5a784c83a72485
2019-03-13Drop tcp_wrappers package requirementBernard Cafarelli1-2/+1
Originally added in [1] when improving the base image, nothing appears to require this package currently. Also, this legacy package is not maintained and has been dropped from Fedora (and upcoming RHEL 8) [2] [1] https://review.openstack.org/#/c/295048/ [2] https://fedoraproject.org//wiki/Changes/Deprecate_TCP_wrappers Change-Id: I2983932898f877da2e31a5a968f6c91e5a9d760b
2019-03-12Add distro_package_manager configurationAlex Schultz4-2/+20
Add configuration to allow the switch between dnf/yum or provide an alternative package manager. Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea
2019-03-12Add python3 packages for RHEL systemsAlex Schultz56-113/+748
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 Juszkiewicz6-10/+22
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-03-12Merge "Introduce 'get_pip' macro"Zuul5-12/+10
2019-03-11Introduce 'get_pip' macroMarcin Juszkiewicz5-12/+10
We have code for it in four places so it is a good candidate for macro. Change-Id: Icadcbbe5b386bdf688fd67e8160b40974f047377
2019-03-11Drop python2-pika_pool rpmJon Schlueter1-1/+0
As a follow up to I7204aab66a252e0fdc3c0eebf5232903340a7e5d also drop the rpm for pika_pool Change-Id: I3db311cfa5310d26b672b17928cdbd72ea655f8b
2019-03-11helm-repository: drop unused os_client_config variableMarcin Juszkiewicz1-6/+0
Change-Id: I3694ba72733cb5cb391af62b609272cb4461431f
2019-03-11Merge "openstack-base: drop pika-pool"Zuul1-1/+0
2019-03-08openstack-base: drop pika-poolMarcin Juszkiewicz1-1/+0
Last release of pika-pool was in 2015 and targetted pika 0.10 release: INFO:kolla.common.utils.openstack-base:pika-pool 0.1.3 has requirement pika<0.11,>=0.9, but you'll have pika 0.13.0 which is incompatible. None of our images requires pika-pool (tested by dropping it and then building all images). Change-Id: I7204aab66a252e0fdc3c0eebf5232903340a7e5d
2019-03-08Copy placement database migration scriptEduardo Gonzalez2-4/+27
mysql-migrate-db.sh script is not bundled in packages nor installed with pip. So will need to copy over some path in the host to run the db migration. Change-Id: I116277c5e11b484748784134be50c18675b28103
2019-03-07Add Google mtail for generating metrics from logsDoug Szumski1-0/+30
This adds support for building an mtail image for generating metrics from logs. These metrics can then be used to trigger alerts. For example, one may want to track user logins, kernel errors, filesystem corruption etc. Change-Id: I0b3eee33c608b08f1e915a08096a1194d359805a Partially-Implements: blueprint mtail
2019-03-07Merge "Fix Octavia-API extend_start.sh"Zuul1-1/+0
2019-03-06Merge "debian/ubuntu: make use of Python3 based packages"Zuul22-65/+77
2019-03-06Fix Octavia-API extend_start.shAnant V Patil1-1/+0
The '~' in the end of script is failing octavia-api. Change-Id: I53610f1c9e3d10bb6b532dd7d43139854c0861b7
2019-03-06Merge "nova: Remove bridge_utils from base package"Zuul1-4/+0
2019-03-06Merge "drop some of the xll related packages"Zuul1-12/+0
2019-03-06Merge "Added elasticsearch exporter image for prometheus"Zuul1-0/+20
2019-03-04Merge "Bump up Prometheus and components versions"Zuul8-8/+8
2019-02-28drop some of the xll related packagesJon Schlueter1-12/+0
these are containers, we should not have X11 display libraries installed in base containers. If they are being pulled in via packages those chains of dependencies should be looked at closely and pruned as they have no real use on container images. Change-Id: I19000564445254ba4d168f24deef6a901391d2e2
2019-02-28debian/ubuntu: make use of Python3 based packagesMarcin Juszkiewicz22-65/+77
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-02-27nova: Remove bridge_utils from base packageLee Yarwood1-4/+0
The dependency on bridge_utils has now been removed from os-vif and so the package is no longer required in the base container. Depends-On: https://review.openstack.org/#/c/636822/ Change-Id: I0924f6bc11558366d6d49472cdd338e43b744030
2019-02-25Merge "base: update to dumb-init 1.2.2"Zuul1-6/+9
2019-02-25Merge "gnocchi rpm naming cleanup"Zuul4-15/+7
2019-02-25Merge "Change some repos from xenial to bionic"Zuul1-3/+3
2019-02-25Merge "Simplify package list from openstack-base image"Zuul1-48/+0
2019-02-25base: update to dumb-init 1.2.2Marcin Juszkiewicz1-6/+9
This version allows us to use Debian binaries for non-x86 architectures instead of building 'dumb-init'. 'base_compiler_packages' are installed as they will be needed anyway to build other Python packages (no binary wheels for !x86). We also need 'binutils' to be installed for 'ar' command. Change-Id: I53ad946ead4f0b485d8c7e8a91ac2ef5d7735c5a
2019-02-22Change some repos from xenial to bionicMichal Nasiadka1-3/+3
At the time of bumping Ubuntu images to bionic, some repos did not have bionic versions - so xenial repos were used. Most of the repos - apart odl now have a bionic tree - so this patch enables them. Change-Id: Id3c67fad507adc7b9f200eced74ecba8fadf70e6
2019-02-22Added elasticsearch exporter image for prometheusErol Guzoglu1-0/+20
Change-Id: Id138f12e10102a6dd2cd8d84f2cc47aa29af3972
2019-02-22Merge "debian/ubuntu: drop mysql compat stuff, unify on openssl 1.1"Zuul2-39/+3
2019-02-21Simplify package list from openstack-base imageMartin André1-48/+0
Remove the packages that are already pulled implicitly as a dependency. A shorter package list should make it more manageable. Change-Id: I690de645436065eee298a455221be8a6a0ae8083
2019-02-21nova: Only install OVMF on EL 7 when installing from sourceLee Yarwood1-6/+10
This use case was missed in Ic8f865ed9cfc89056991ce4fa50a99c4937af33b. Change-Id: Ibe4c459d60f1143c76657588ed9c0081bda92239
2019-02-21Merge "nova: Only install OVMF packages on RHEL 7"Zuul1-6/+10
2019-02-21Merge "debian/ubuntu: introduce 'debian_arch' variable"Zuul15-75/+16
2019-02-21Merge "pypi package msgpack-python is deprecated, drop explicit install"Zuul1-2/+0