aboutsummaryrefslogtreecommitdiff
path: root/kolla/common/config.py
AgeCommit message (Collapse)AuthorFilesLines
2019-10-26Merge "Move to RDO Train packages"Zuul1-1/+1
2019-10-25CI: drop the gate profileRadosław Piliszek1-20/+0
This profile has not been used since Kolla Ansible was separated. Also removes the relevant "tests". Change-Id: I29dbcea169a6e338bc9a8fb4fcde7a77c1d6fac6
2019-10-22Merge "Switch OPENSTACK_RELEASE to train"Zuul1-1/+1
2019-10-21Use Train release for all OpenStack projectsMark Goddard1-136/+136
Versions were generated via the following command: tools/version-check.py --openstack-release train --include-independent Some other versions had to be changed manually, including those not managed via the OpenStack release process: almanach, gnocchi, networking-ansible, vmware-nsx, vmware-nsxlib, networking-l2gw, nova-mksproxy, novajoin, rally VMTP 2.5.0 is the latest release, but does not support python 3. Sticking to master. Revert this on master once kolla stable/train branch has been created. Change-Id: I7b1d280c75b7cc6ec1aa5d7c413b3861ffa2c459
2019-10-21Switch OPENSTACK_RELEASE to trainMark Goddard1-1/+1
This controls the upper constraints file used in the kolla-toolbox image. Change-Id: I5901890f78e6358fdda4c80fd277726b4bd2c1f4
2019-10-21Move to RDO Train packagesMichal Nasiadka1-1/+1
Change-Id: I396f929ecc11f87fb83585bedd39be93a605c57b
2019-09-18Remove support for OracleLinuxMark Goddard1-3/+1
We have agreed to remove support for Oracle Linux. http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html Change-Id: I961dfba1aeef2c509ecdaf376dfe6928926ffb39 Depends-On: https://review.opendev.org/682858
2019-08-08Bump up pkg versions in kolla-toolboxMichal Nasiadka1-0/+3
Currently we use Ansible 2.2 in kolla_toolbox, while lowest supported version is 2.6 - bumping up to 2.8. * Use upper constrains in Dockerfile.j2, instead of pinning them in here - Ansible is pinned to 2.8.* * Add no_log=True in kolla_keystone_user * Add endpoint_type as a param in kolla_keystone_service - now AnsibleModule requires all options to be defined, otherwise it throws an UnsupportedParameter error * Add openstack_release variable in kolla/common/config.py which is used for fetching upper-constraints.txt for desired release Change-Id: I2cb0ea2fde1b408d48b39bf7a54b898e850d31aa
2019-08-05Merge "Add HAcluster containers"Zuul1-0/+1
2019-07-30Update build profiles for Placement splitDoug Szumski1-0/+3
The Placement API is now a separate project, but anyone building Nova is likely to want it. This change ensures that it is built alongside Nova. Change-Id: I05433f5bb2313e2adff39850a970d4430340c852
2019-07-18Add HAcluster containersGaëtan Trellu1-0/+1
Theses images contains High Availability solution such as Corosync, Pacemaker, Pacemaker Remote and PCS. Change-Id: I86fd145d2998f68b08a16082414b86904971549a Implements: blueprint pacemaker-container
2019-07-11Add Masakari containersKien Nguyen1-0/+17
Masakari provides Instances High Availability Service for OpenStack clouds by automatically recovering failed Instances. Change-Id: I279d6b43f8e4d4e30b39deb607823ceca272a4b8 Implements: blueprint masakari-support
2019-06-18Merge "Remove crane image"Zuul1-4/+0
2019-06-15Merge "Remove Neutron LBaaS support"Zuul1-12/+0
2019-06-07Remove crane imageMark Goddard1-4/+0
This image was deprecated in the Stein cycle. Change-Id: I249b78cd263c97c4a9223523c77f8c325f3e649a
2019-06-07Remove Neutron LBaaS supportCarlos Goncalves1-12/+0
The project has been retired and there will be no Train release [1]. This patch removes Neutron LBaaS support in Kolla. [1] https://review.opendev.org/#/c/658494/ Depends-On: https://review.opendev.org/#/c/663875/ Change-Id: I99484c48ed09f7e015e134bdff1f298c359c6905
2019-06-07Merge "Debian/Ubuntu: move to Python 3 for source images"Zuul1-4/+0
2019-06-06Debian/Ubuntu: move to Python 3 for source imagesMarcin Juszkiewicz1-4/+0
Commit 43b74ccc157c0b50138c3785ed91dab504895571 enabled use of Python 3 based packages but not switched to use Python 3. Some of images still contain Python 2. There are two reasons: - Ceph (ceph-common depends on Py2) - python3-ldappool on Ubuntu 18.04 In Ceph situation Py3 packages were added. For second one we can not do anything - Py2 dependency got dropped in Ubuntu 18.10 version. Removed neutron-server-plugin-networking-infoblox due to being not maintained. Once https://review.opendev.org/#/c/657578/ get merged someone may revert that part. Implements: blueprint debian-ubuntu-python3 Depends-on: Ie2a1077f7def0743f1403341985e2109aa490026 Change-Id: Ibfe0c2b8be98db56c61f74fb0247488ab3749ef4
2019-06-05Remove tripleo-uiAlex Schultz1-4/+0
The tripleo-ui project has been removed from the upstream. Remove the references to the tripleo-ui containers. Change-Id: I353ecd3ed04c78fd21f0108c5e1355280d3f3bb9 Closes-Bug: #1831478
2019-05-20Add Qinling containersGaetan Trellu1-0/+13
Add Qinling Dockerfile , Qinling is an OpenStack project to provide "Function as a service". This project aims to provide a platform to support serverless functions. Change-Id: Idebf5c8756a0d0225adcce29b45a399120bb5eb6 Implements: blueprint qinling-support
2019-04-30Improve doc of kolla-build '--docker-dir' optionRadoslaw Smigielski1-1/+2
Let's make clear that '--docker-dir' can be specified multiple times as argument of kolla-build. It was not clear if '--docker-dir' options accept comma separated list of values or it can be specified multiple times. Change-Id: I7cf9a7c2a6c7876e5784a3df93369e7fa5036173 Partial-Bug: #1827146
2019-04-03Add config option use_dumb_init to add it to container imagesRabi Mishra1-0/+2
Usage of dumb-init can also be disabled from cli with `--nouse-dumb-init` when building images. Also moves ENTRYPOINT outside of dumb_init_installation block. Change-Id: Id32d54fc9913b83cf121ede5a5e265e0772062ae Related-Bug: #1821970
2019-03-27Add cyborg to kollaBai Yongjun1-0/+8
Because kolla not have cyborg so should add this. Implements: blueprint add-cyborg Change-Id: I497e67e3a754fccfd2ef5a82f13ccfaf890a6fcd
2019-03-21Merge "Introduce clean_package_cache"Zuul1-1/+3
2019-03-18Sahara: install also the split pluginsLuigi Toscano1-0/+24
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-17Introduce clean_package_cacheEmilien Macchi1-1/+3
Default to true (to maintain backward compatibility), this parameter will allow to disable the Package cache cleaning when building the Kolla images. In TripleO, we are investigating how we can accelerate the builds by not cleaning the Yum cache and this patch will help us to do so. Also included same for deb package_install method. Co-Authored-By: Jon Schlueter <jschluet@redhat.com> Change-Id: I0adc85302dfe0411d362c899f3e0d6a0019680d4
2019-03-14Move to Debian 'buster'Marcin Juszkiewicz1-2/+2
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-12Add distro_package_manager configurationAlex Schultz1-0/+5
Add configuration to allow the switch between dnf/yum or provide an alternative package manager. Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea
2019-03-12replace 'distro_python3' variable with 'distro_python_version'Marcin Juszkiewicz1-4/+0
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-01-16Add base_package_typeAlex Schultz1-0/+4
Currently in all the Dockerfile.j2 files, we are doing base distro if conditions for package names when installing via a binary. Rather than duplicating these base_distro in [<distros>], let's provide a single value for determining the binary installation method. This change adds a base_package_type which we can use to lookup if 'rpm' or if 'deb' rather than relying on specific distro names. Change-Id: I8a0c6c8fbc32a8cfa6932fddf28a449fceda3d49
2019-01-16Add distro_python3 optionAlex Schultz1-0/+4
As we add support for python3 on RHEL based systems, we need to add a flag to key off of in the Dockerfiles to swap out the python3 package names. This change adds a distro_python3 configuration option that can be defined to force python3 or python2 package names. If this option is not provided, we set this to True for RHEL 8 based distros and false for other distros. Change-Id: I4028991bad92c0e8e21066cc4173c06ce5eba393 Related-Blueprint: python3-support
2018-12-19Split placement-api from novaEduardo Gonzalez1-0/+8
This change breaks out the Placement service from Nova ahead of it's removal from the project later in Stein. For the time being the original Nova Placement images are left in place but they will be removed later in the cycle once the Placement code is removed from the Nova project by the following change: https://review.openstack.org/#/c/618215/ Co-Authored-By: Lee Yarwood <lyarwood@redhat.com> Change-Id: I2bf6f5bf45b76e6900f41c21e9af30c69dc6e9c0
2018-12-18Add nfast group to barbican imagesDouglas Mendizábal1-1/+5
The nfast group is needed to configure barbican to use Thales HSM devices with the PKCS#11 plugin. Change-Id: I3de8ca07a34ae63eb91fc8d83bb0676425295cbc
2018-11-12Update Zaqar imageKien Nguyen1-1/+1
Follow Zaqar installation documentation [1] [1] https://docs.openstack.org/zaqar/latest/install/ Change-Id: Ic356fb81c19ebbc78aa3c7e871c4946d1f712a45 Implements: blueprint ansible-zaqar
2018-10-11Merge "Add crane docker image"Zuul1-0/+4
2018-09-21DO not install ceilometer from git in n-server-opendaylightEduardo Gonzalez1-4/+0
Ceilometer is being installed from pip in networking-odl. Installing from git was a workaround to fix a build error. This change should be backported to rocky along with a networking-odl version upgrade. Depends-On: If4f0e952dc3b4577c5e21f6a9d0bc13a0f02e66c Change-Id: I181a6e7b7014c7c5f47829d6a738446fe541f05f
2018-09-21Add crane docker imageDan Prince1-0/+4
Crane is a lightweight 'pull only' container registry implementation. TripleO is aiming to replace our use of docker-distribution with crane for the Undercloud. Co-Authored-By: Martin André <m.andre@redhat.com> Change-Id: I59d9521f99243401d7703a3dedc26b5baed2d595
2018-09-10Download binaries more securelyMartin André1-1/+3
Obtain binaries from encrypted source when we're unable to check for their signatures. This should provide better security than downloading the files over HTTP but does not replace signature verification or file integrity check. Related-Bug: #1791674 Change-Id: I7d6eed9ab14ceb130ea4f5f03d893ddaaa0a7acd
2018-09-10Merge "Add a tripleoclient container"Zuul1-0/+4
2018-09-06Merge "Revert "Use rocky tag for openstack service rather than master package""Zuul1-88/+88
2018-09-06Add a tripleoclient containerDan Prince1-0/+4
We'd like to use this container both interactively (for ad-hoc commands) and also to be able to generate Ansible (via the undercloud/all-in-one installers) for TripleO. Partially-implements: https://blueprints.launchpad.net/tripleo/+spec/zero-footprint Change-Id: Ia4d7fdcb9c96d76e191dcc1a46be095b37189b3e
2018-09-05Revert "Use rocky tag for openstack service rather than master package"Eduardo Gonzalez1-88/+88
This reverts commit b71f378c0f0a444e2b60afd9961c47132ea7a516. Change-Id: Ief7e9fa42ecf3000dd769c74895c68051b32d417
2018-08-30help: added dot at the end of base-arch descriptionMarcin Juszkiewicz1-1/+1
--base-arch option has a list of allowed options listed after help description. Without change: --base-arch BASE_ARCH The base architecture. Default is same as host Allowed values: x86_64, ppc64le, aarch64 With change: --base-arch BASE_ARCH The base architecture. Default is same as host. Allowed values: x86_64, ppc64le, aarch64 Change-Id: I53a4edf943a048f8659c71081abcd6dc22809316
2018-08-22Use rocky tag for openstack service rather than master packageJeffrey Zhang1-88/+88
Revert this after kolla rocky branch is created. Change-Id: I5b6ad6ffd806e0ea0e1adc6ff0a7a14fd647cdd3
2018-07-27Add Monasca Agent containerDoug Szumski1-0/+4
The Monasca Agent consists of 3 processes. The collector, which collects system level metrics from a host, a statsd server, which is used to receive application specific statsd metrics and a forwarder service which batches metrics and sends them to the Monasca API at pre-defined time intervals. Partially-Implements: blueprint monasca-containers Change-Id: Ia446ca0a6b932c2429d727b63e363b4e27307304
2018-07-23Revert "Add networking-odl image to skipped image list"confi-surya1-0/+4
This reverts commit I57594742e0842c0e701b9974046d9d1704446f4b Add ceilometer package into neutron-server-opendaylight container, then it chould be found by pip. Closes-Bug: #1764621 Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com> Change-Id: Ibaaf1de0c437ce9d25c93e68ab5a43279c4e60ee
2018-07-20Added tempest user for tempest containerChandan Kumar1-0/+4
* Currently on using tempest container, everything is running as a root user under the container. All the test data when copied from container to host, have different permission. In order to consume those data we need to change permission. Adding tempest user to tempest container fix the issue. * New user can pass --user 'tempest' with docker run to consume it. * It does not affect the workflow of tempest container used in tripleo ci. Change-Id: I719b7b13197bcb1ace607f10448d76ccb1d8cdf7
2018-07-16Add support for deploying Monasca ThreshDoug Szumski1-0/+9
Monasca Thresh is a Java topology for Storm which generates alerts from metrics. It depends on Java code in the monasca-common library. In this change we support building the Monasca Thresh Storm topology from source. To enable us to submit the topology to Storm we inherit from the Storm container (rather than the Monasca base image) so that we can use the Storm client. Change-Id: I389af89086cdab6d243c4a4fa65fd157535a5045 Partially-Implements: blueprint monasca-containers
2018-07-13Add support for deploying Apache StormDoug Szumski1-0/+5
The motiviation behind this is to provide Apache Storm for the Monasca Thresh component which is used for generating alerts as part of the Monasca Framework. SHA512 sum is from http://www.us.apache.org/dist/storm/ apache-storm-1.1.2/apache-storm-1.1.2.tar.gz.sha Change-Id: I6eb6be91470385c824baaeb37f90b582fc88aed4 Partially-Implements: blueprint monasca-containers
2018-07-11Add support for building LogstashDoug Szumski1-0/+5
Add support for building Logstash 5.x for both Centos and Debian based x86 distros. Partially-Implements: blueprint monasca-containers Change-Id: I4e2422d1cd2ae4c1f4aa63e8e543e725a1dc840c