aboutsummaryrefslogtreecommitdiff
path: root/docker/openstack-base
AgeCommit message (Collapse)AuthorFilesLines
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
2017-04-24Merge "mariadb: handle lack of external repos on non x86"Jenkins1-1/+14
2017-04-20Merge "Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2"Jenkins1-1/+1
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-13debian: move to stretchMarcin Juszkiewicz1-0/+7
Debian 'jessie' even with backports lacks some packages Kolla expects. Due to this we (Linaro) move to Debian 'stretch' release with our OpenStack work. Stretch is now frozen so there should not be many changes. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: Iab7232cbe6f8fc3e3de10c67f3d89f134b185f05
2017-04-10mariadb: handle lack of external repos on non x86Marcin Juszkiewicz1-1/+14
MariaDB-* packages are from external 'x86_64 only' repository. Other architectures use CentOS packages. Split needs to be done as 'mariadb-devel' is provided by three different packages on x86-64. Partially-Implements: blueprint multiarch-and-arm64-containers Depends-On: I71ddb7ef57c64d2505cac96724b1ab6772a57d6a Change-Id: I9f3394eb35723f2bbf3205c6af6101b5a9daed38
2017-04-06openstack-base: Percona-Server is x86-64 onlyMarcin Juszkiewicz1-1/+7
Percona-Server-shared-56 package comes from external "x86-64 only" repository so let's handle it properly. Partially-Implements: blueprint multiarch-and-arm64-containers Depends-On: I71ddb7ef57c64d2505cac96724b1ab6772a57d6a Change-Id: I5158861d22df0e13f7c6abfb2f0f98d392827345
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-13/+13
Some images have packages sorted alphabetically and some not. Unify common style between all images. Change-Id: I906ed89c10b12886665618752f525ba71d83d991
2017-03-12Install osprofiler in openstack-base containerJeffrey Zhang1-0/+3
osprofiler package is required when using osprofiler tool. [0] https://github.com/openstack/osprofiler Change-Id: I2d11778e94564ad0c04685eeff45f36430779099 Closes-Bug: #1672125
2017-02-17Use install-pip macro in most source imagesChao Guo1-2/+4
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-01-20Merge "Fix gnocchi dockerfile"Jenkins1-0/+3
2017-01-18Fix gnocchi dockerfilezhubingbing1-0/+3
* remove /var/log/gnocchi * move gnocchiclient to openstack-base * remove /var/lib/gnocchi because it create by macro Change-Id: I4e06991dd7ca45b4c705b0e4be6e22ba1667e861
2017-01-18Fix aodh dockerfilezhubingbing1-0/+3
remove /var/log/kolla/aodh move python-aodhclient to openstack-base Change-Id: I50110ca8048ed83bcf85ea5ed21eb248522362fe
2017-01-13Add cloudkitty centos/oracle binary packagesEduardo Gonzalez1-0/+2
Also add python-cloudkittyclient pip package for source installs. Change-Id: I82a7b3d42ccd527df9e11e857e285a87b6acddf6
2017-01-05Remove footer block and variable in *-base imagesJeffrey Zhang1-1/+0
Change-Id: I39aa88489f744f779150695f3f55ef80d42e1c61 Closes-Bug: #1653247
2016-11-07Merge "Install MySQL-python with pip in openstack-base container (type source)"Jenkins1-1/+1
2016-11-06Merge "Include oslo.vmware along with other oslo packages in openstack-base."Jenkins1-0/+1
2016-11-04Include oslo.vmware along with other oslo packages in openstack-base.James McCarthy1-0/+1
TrivialFix Change-Id: Ie1662f7e9873b7cd71e819a76b1eef0b5063da8e
2016-11-03Remove Fedora supportChristian Berendt1-3/+3
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-10-12Install MySQL-python with pip in openstack-base container (type source)Christian Berendt1-1/+1
MySQL-python is required by the Horizon database session cache. Change-Id: I620767bc10f3316ed1037d86f5f6729066bfcfbd Closes-bug: #1630559
2016-10-06Install python-mysqldb for Ubuntu in openstack-base containerChristian Berendt1-0/+1
python-mysqldb is required by the Horizon database session cache. Change-Id: If52a9a6c9addbebc955e4755ea3c7c1a81df1bca Closes-bug: #1630559
2016-09-22Merge "Allow use of database for Horizon sessions"Jenkins1-0/+1
2016-09-14Merge "Add header blocks to all Dockerfiles"Jenkins1-0/+2
2016-09-13Allow customizations of pip packagesMichal (inc0) Jastrzebski1-102/+105
Customizations of packages for source builds Closes-Bug: #1623083 Change-Id: I99263af53c8f9830bcf0c6fec78194c8f7cd88c5
2016-09-13Add header blocks to all DockerfilesPaul Bourke1-0/+2
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-09-08Allow use of database for Horizon sessionsPaul Bourke1-0/+1
Database-backed sessions are scalable (using an appropriate database strategy), persistent, and can be made high-concurrency and highly-available [0] Default is off. [0] http://docs.openstack.org/developer/horizon/topics/deployment.html#database Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com> Closes-Bug: 1618781 Change-Id: Ib68a21397dc020d20e07dcc51d3d0fdc1de102ff
2016-08-31Allow operators to override use of get-pip.pyPaul Bourke1-3/+6
Operators may not want to run get-pip.py from an external source. TrivialFix Change-Id: I591b0cef135f9e1e3054c48c93a17b7b74fd0a9a
2016-08-25Import the Murano core libary as part of setupPaul Bourke1-2/+5
In order for Murano to be operational the core library package must be imported [0] Add Ansible tasks to do this idempotently. [0] http://docs.openstack.org/developer/murano/install/manual.html TrivialFix Change-Id: I2c49e9d663595650b885267839012b543505337a
2016-08-23Merge "Remove Kazoo dependency and Kolla Zookeeper helper"Jenkins1-1/+0
2016-08-19Remove Kazoo dependency and Kolla Zookeeper helperSzymon Konefal1-1/+0
Related-Bug: #1577194 Change-Id: Idad2a78d3b4251a321c1a05b435bff4625d5fe56
2016-08-19Handle empty package list for install_packagesShaun Smekel1-3/+3
Currently if the install_packages macro is run with an empty package list, it will add a yum or apt-get command with no packages listed. This bug fix aims to omit this line when no packages have been given, or, the operator wants to use the "_override" / "_remove" functionality to disable all packages being installed in a Dockerfile. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifaaaebfccc3adb0f2f68a35ac08e59378bc87fdb Closes-bug: 1612446
2016-08-16Add support for building vmtp containerLarry Rensing1-0/+3
Add needed library packages and Dockerfile to build vmtp container. Co-Authored-By: Larry Rensing <lr699s@att.com> Partially implements: bp vmtp-container Change-Id: I54340947f3bdf61d3e4f54884fed90ac318124ff
2016-08-12Customizations for OpenStack BaseShaun Smekel1-198/+203
This patchset contains customization of Dockerfile of the OpenStack Base container. Change-Id: I20ce24a296ace45169131463c992f6f0e9b4d131 Partially-implements: blueprint third-party-plugin-support
2016-06-22Remove deprecated package python-tuskarclientSwapnil Kulkarni (coolsvap)1-3/+0
TrivialFix Change-Id: I4477b1e9681a34a85baf30e94c63f05e0d24ab7a
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-2/+2
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-05-02Add python-memcache package openstack baseStephane Boisvert1-0/+1
Adding python-memcache package to openstack-base ubuntu docker images. Closes-Bug: #1577422 Change-Id: I5112c0ba3234a0b3cfc7677f9fbb7c152ab64917
2016-03-21Improve openstack-base image for centos binaryRyan Hallisey1-4/+120
TrivialFix Closes-bug: #1560170 Change-Id: Ia3a9756c58f0ead3b20e435f1d1546408f4a8b36
2016-03-19Increase usefulness of openstack-baseSamYaple1-4/+84
Just like last cycle, I ran all of the requirements and found the packages that were installed >=10 times throughout our containers. By combining them in the openstack-base we reduce the size of the images by ~600MB (10%) and decrease build time by a measurable amount (5-10m in the case of Centos) TrivialFix Change-Id: I582d75644a8e8b936c6f9fc10c6b5821e1e8c5c4
2016-03-09mariadb-devel is deprecatedSteven Dake1-1/+1
mariadb 10 uses the packaging convention MariaDB-* to not conflict with mariadb 5. As such, MariaDB-devel was indicating a deprecation warning which this patch removes. TrivialFix Change-Id: I4b51fcedce3ef9e44c4a6830cd38ca8040a4d3f6
2016-02-23Fix building centos kolla-toolboxJeffrey Zhang1-1/+0
Percona recently updated their package which is now conflicting with mariadb-libs. Closes-Bug: #1548589 Change-Id: I9db7ffb8b94b623784cffa3e63804c47375097d1
2016-02-16Install python-dogpile-cache for python-ironicclientAllen Gao1-0/+3
Change-Id: I4f41d05be1dc01b00e794b872e7f79d5bee48a21 Closes-Bug: #1546024