summaryrefslogtreecommitdiff
path: root/docker/openstack-base
AgeCommit message (Collapse)AuthorFilesLines
2019-12-05Install etcd3gw to fix Ubuntu binary tooz coordinationRadosław Piliszek1-0/+1
Change-Id: Ib56e62d1fb4d0fc4a6c627b87a929be0bc614d1e Closes-bug: #1852086 (cherry picked from commit 0186c5e3cafeae0bb1c39bdef0df6ade827552d5)
2019-06-07Debian/Ubuntu: more python3 packages for binaryMark Goddard1-31/+31
backport: Stein During the switch to Stein UCA, we did not switch all packages to python 3 for Debian/Ubuntu binary images. This change switches some more of those packages. Change-Id: I0bff21384d88ea678608392de2db1ba418c96665 Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> (cherry picked from commit aa59f0db6f88ed0a03169b473fdf6d541d34df9f)
2019-04-10Install "procps(-ng)" in the base imageCédric Jeanneret1-1/+0
Providing tools like "ps", "pgrep" and related is interesting since it helps debugging a container in some cases. It is also useful for healthchecks in case we want to fetch running service PID and use it in another command, like "lsof". Change-Id: I91b1c407caa6b03ae522e649592300f9eddfc07e (cherry picked from commit 9616f49964439966ac8689345b52f4cfc0924258)
2019-03-21Move top package installed in every *-base container to openstack-baseJon Schlueter1-0/+2
- python*-oslo-upgradecheck was being installed in a number of different *-base containers that I checked Change-Id: Iddd8a191e5523ec048dff324993abadcfc020132
2019-03-20Merge "Do not explictly specify mysql related RPMS"Zuul1-2/+0
2019-03-15Merge "Move to Debian 'buster'"Zuul1-1/+1
2019-03-14Move to Debian 'buster'Marcin Juszkiewicz1-1/+1
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-13Do not explictly specify mysql related RPMSJon Schlueter1-2/+0
These should be pulled in via oslo-db or other rpms that use them. Change-Id: Ie048053b23f02d324552a72aabbef96671eb37c1
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 python3 packages for RHEL systemsAlex Schultz1-4/+87
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-2/+8
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"Zuul1-3/+1
2019-03-11Introduce 'get_pip' macroMarcin Juszkiewicz1-3/+1
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-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-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-25Merge "Simplify package list from openstack-base image"Zuul1-48/+0
2019-02-22Merge "debian/ubuntu: drop mysql compat stuff, unify on openssl 1.1"Zuul1-22/+2
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-20pypi package msgpack-python is deprecated, drop explicit installJon Schlueter1-2/+0
according to https://pypi.org/project/msgpack-python/ it's deprecated and should use msgpack. and this is supported by looking at a build source container image and noting that pip lists msgpack 0.6.0 msgpack-python 0.5.6 also msgpack is pulled in via dependency of oslo.serialization We should be able to rely on it coming in via that dependency automaticly Change-Id: Id2706b3b38e57daf1166f98a59dc3ecd30fd4fa7
2019-02-19debian/ubuntu: drop mysql compat stuff, unify on openssl 1.1Marcin Juszkiewicz1-22/+2
Now with Ubuntu 'bionic' being used we can drop libmysqlclient-compat-dev package use and just go with mariadb packages directly. Also move to OpenSSL 1.1 for both distributions. Change-Id: I147385a3da15878121c0a436b5c26ba100e9802d
2019-02-01Drop python2-crypto as not needed in openstack-baseJon Schlueter1-1/+0
pycrypto has mostly replaced by python2-cryptography In patch I77b5210cd6e63aa3b01aa2b5b3372dd50009b9ad the source entries were all flipped to prefer cryptography instead of pycrypto, let's drop python2-crypto and let any remaining packages that do need it pull it in explicitly Change-Id: Ie0f426fbe396ed9b5a3b86406c64e12e87dd81a7
2019-01-31Merge "remove python-beaker from openstack-base rpm list"Zuul1-1/+0
2019-01-29remove python-beaker from openstack-base rpm listJon Schlueter1-1/+0
this package is a WSGI helper for caching, not in openstack requirements, and only referenced in refstack and airship. If it's used by any packages that I missed it should be implicitly installed where used/needed instead of in openstack-base and not used Change-Id: Iafd6678846e7c495cc96a6d3a7681d70a4bf8171
2019-01-29remove test dependencies from openstack-baseJon Schlueter1-4/+0
these containers should not need unittest support packages in general, tempest may need one of these but that should be installed as needed not for all container images. - testtools - introduced in - unittest2 - introduced in Ia3a9756c58f0ead3b20e435f1d1546408f4a8b36 - zake - introduced in Ie05ba975bc2f88cd9ee896aafc60171d6ca8d10b - fixtures - introduced in Ia3a9756c58f0ead3b20e435f1d1546408f4a8b36 Change-Id: Ic2325afc6ce3ee9f8a8c03ad19050809255df2f5
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-11Required changes for mariadb 10.3Eduardo Gonzalez1-1/+1
Mysql-python is a deprecated package and fails to build currently. Make use of mysqlclient as is a fork of mysql-python with many bug fixes a python3 support. percona xtrabackup doenst work with mariadb 10.3, replaces to use mariadb-backup tool. https://jira.mariadb.org/browse/MDEV-15774 Change-Id: Icefe3a77fb12d57c869521000d458e3f58435374
2018-07-12Add more shared libs to base imageMartin André1-0/+8
These are some of the obvious candidates that were installed 10 times or more in the different images. Change-Id: I3ca2a3855689ffa64aef7ee46e58dc4b0dac77d3
2018-07-10Stop using deprecated rpm package namesMartin André1-24/+24
These packages produce a warning during the installation, we should switch to their new names, usually to be specific about their use of python2. Change-Id: I0a80e822f64222d9a32aabd1fd834bcf794d6320
2018-06-25Remove git and pip from centos binary openstack-base package listJon Schlueter1-2/+0
Change-Id: I4e8624f403bd59327ba81cba01f098e6d4d82060 Closes-bug: #1778528
2018-06-20Use RDO version of python-msgpack on RDOSteven Dake1-1/+1
python2-msgpack is python2 only, is from EPEL, and is ancient. Use a propery tested and validated version of msgpack. Closes-Bug: #1704894 Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: I3b33f7a9ad48e2a06ede1f79426231d720b851ae
2018-04-26Merge "Collapse down multiple yum install in openstack-base"Zuul1-10/+6
2018-04-25Collapse down multiple yum install in openstack-baseJon Schlueter1-10/+6
For rhel/centos/oraclelinux there were 2 yum install sections, collapse/folded the 3 packages from that section into the other blocks in sorted order Change-Id: I8a3d212314891635509aeeb346998ace713feefa
2018-04-24Clean python requirements from base imageAlfredo Moralejo1-3/+0
openstack-base image includes a list of dependencies to be installed in the image. However some of the packages in this list seems not to be used by any or very few OpenStack services according to the info found in codesearch. This patch removes some python packages from this list as we are in the process of cleaning dependencies in RDO. Change-Id: I209b16cfd7dff6ce20bc2417a6079fb8597f6774 Closes-Bug: #1766493
2018-01-30openstack-base: provide Postgresql headers for source buildsMarcin Juszkiewicz1-0/+1
Change-Id: I3c766faac2aeb50071ca2c4c3ed01da35fcacbd0
2018-01-23Merge "Consume RDO packaged mariadb version"Zuul1-19/+1
2018-01-23Merge "Add tooz all extra packages in openstack-base image"Zuul1-0/+15
2018-01-21Consume RDO packaged mariadb versionSteven Dake1-19/+1
RDO packaged mariadb recieves far more testing and qualification than any other mariadb package on CentOS. Lets use that instead of a hard-pinned old version of mariadb from mariadb.org. This patch also upgrade MariaDB from 10.0 to 10.1.20 for RHEL/CentOS/Oracle Linux. Depends-On: I8374ac2219ad7880970cd789727d01af7cac1077 Depends-On: Ia2acb09e877a586243fc1acb49d8d140cf27d7b5 Co-Authored-By: Xinliang Liu <xinliang.liu@linaro.org> Change-Id: I071362fc1b8d60199a77e2fe0475d2b4c3b5341b
2018-01-19Add tooz all extra packages in openstack-base imageJeffrey Zhang1-0/+15
Change-Id: Ie05ba975bc2f88cd9ee896aafc60171d6ca8d10b
2018-01-12Drop ceilometer client package requirementPradeep Kilambi1-3/+0
ceilometer api and client are dead in queens. lets drop this client. Change-Id: I1d2b31977f05c3a912d8704caa019c02c784556e
2017-12-20Add python-vitrageclient to openstack-base containerchenxing1-0/+2
Change-Id: I7ffb991adbd05275e331401cd73fc84362084ebd Closes-Bug: #1738748
2017-10-31Switch to python-cffi for rpm based distrosAlfredo Moralejo1-1/+1
Note that latest version of python-cffi is provided from CentOS base and is python-cffi instead of python2-cffi. According to CentOS/RDO packaging rules, all python2-XXX packages has a provides on python-XXX, so when installing it, python-XXX should always be used as it will install the right package. Change-Id: Ie30901c64993a6031278812e5072046a50371b3d Closes-Bug: #1728915
2017-08-31openstack-base: link everything with OpenSSL 1.0.x instead of 1.1Marcin Juszkiewicz1-2/+8
OpenSSL 1.1 is not fully source compatible with 1.0.x so python-qpid-proton fails to build for Debian (which uses OpenSSL 1.1 as default). Installing development package for 1.0.2 gets it back to buildable state. Python-qpid-proton is fixed upstream but no release was made yet. Closes-Bug: #1714218 Change-Id: I731fe92410f340105e1a53372d33fdbb4798eaa3
2017-08-18Add missing pyngus and python-qpid-proton for AMQPmsimonin1-0/+2
These dependencies are required[1] for AMQP transport to work. AMQP transport is currently available in Kolla using qdrouterd instead of rabbitmq. This commits make them available for source images. [1] https://docs.openstack.org/oslo.messaging/ocata/AMQP1.0.html#platforms-and-packages Change-Id: I124725521e0ee946bea1696ed35a7b919e4127b4 Closes-Bug: #1711331
2017-07-17Remove libcomcrypt/libtommath (not fips compliant)Steven Dake1-3/+1
python2-crypto has been superceeded, atleast in RDO, by python-crypto which no longer uses the libtomcrypt/libtommath dependencies. As these dependencies are not certified by FIPS, they should be removed as well. Change-Id: I0bfb1631ad0189cf2a7b6ccacebcdf6651c69831 Closes-Bug: #1704892
2017-07-07Switch to Cryptography over pycryptoZhongShengping1-1/+1
The keystonemiddleware library recently switched to using the cryptography library over pycrypto, which was unmaintained. See Iced7f5115e49ccf4f7f5bf6813cb5988b95c248b Change-Id: I77b5210cd6e63aa3b01aa2b5b3372dd50009b9ad
2017-05-17Add Elasticsearch client package for OSprofileBertrand Lallau1-0/+3
OSprofile allows user/devs trace OpenStack requests. OSprofiler is multi drivers support. The simpler centralized system to use is Elasticsearch. To allow Openstack services to store traces in Elasticsearch, Elasticsearch client has to be installed in Docker Openstack-base image. Change-Id: I1546c03603676b5e29ea56dacecb510e29bbf6f6 Implements: blueprint enable-osprofiler
2017-05-10Merge "handle mariadb for aarch64/ubuntu/source"Jenkins1-1/+9
2017-05-04handle mariadb for aarch64/ubuntu/sourceMarcin Juszkiewicz1-1/+9
Ubuntu builds use external MariaDB repository on x86-64 and ppc64le. But that repo does not provide packages for AArch64 so I use mariadb/mysql packages from distribution instead. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: Ia3c3d3858082613718626670f9ff11b69d913c40
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