aboutsummaryrefslogtreecommitdiff
path: root/kolla
AgeCommit message (Collapse)AuthorFilesLines
2020-03-12CentOS 8: Enable hacluster and masakari imagesMarcin Juszkiewicz2-2/+2
CentOS 8.1 came with HA repo. So we can use it. hacluster-pcs image is disabled as we lack 'crmsh' package for it. Partially-Implements: blueprint centos-rhel-8 Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: I1c786eda399eca4464c9d68ac040c2965350f775
2020-03-09Merge "CentOS 8: Build bifrost image"Zuul1-1/+0
2020-03-09CentOS 8: Build bifrost imageMark Goddard1-1/+0
Also enables CentOS 8 ansible bifrost job. Change-Id: Iec3d51abe50b05f90f764a4058be620cad1f9388 Partially-Implements: blueprint centos-rhel-8
2020-03-09fix: Remove unused variablesHanxiang Gao1-1/+0
'self.nocache' variable is not used, has replaced it with 'not self.conf.cache'. Change-Id: I46c59250b1781aadcb486567a8fd0750a05e2f7e
2020-03-06Deprecate Sensu imagesMark Goddard1-1/+1
Support for Sensu has been dropped by CentOS/RHEL, and this was the main consumer of these images. This patch also marks opendaylight and mongodb images as deprecated on the support matrix, as they have also been deprecated. Change-Id: I4d7ef79df435b540137d1eb4058f8222baf17529
2020-03-06Unpin openstack/requirementsChristian Berendt1-7/+3
Pinning no longer required because of the black list of oslo.cache 2.1.0 in openstack/requirements. Related-Bug: #1866008 Change-Id: I9e30f161938c4fe45d91c35d26b308148d082ca8 Depends-On: https://review.opendev.org/#/c/711427/
2020-03-05Multiple fixes to unblock CIMark Goddard1-3/+7
This change includes a number of fixes to make CI functional. * Blacklist ansible 2.8.9 in kolla-toolbox Ansible 2.8.9 broke the OpenStack modules, see https://bugs.launchpad.net/kolla/+bug/1866181 for details. This causes us to fail with the following error: /usr/lib64/python2.7/distutils/version.py\", line 40, in __init__ self.parse(vstring) File "/usr/lib64/python2.7/distutils/version.py", line 105, in parse match = self.version_re.match(vstring)\nTypeError: expected string or buffer This change works around the issue by blacklisting ansible 2.8.9 in the kolla-toolbox image. * Drop CentOS 7 CI jobs. There are multiple issues with CentOS 7 now, and we have CentOS 8 jobs in place so it's time to move on * pin requirements to commit ea42244642c3c091cb4f70917ae8d79af217b6af. This is required to avoid oslo.cache 2.1.0, which breaks us. See https://bugs.launchpad.net/kolla-ansible/+bug/1866008. Change-Id: Iebc39bd804d2c4f553d42c285549f50f4c8bc8be Closes-Bug: #1866181 Related-Bug: #1866008
2020-03-03Merge "Throw TypeError in repository enable/disable macros"Zuul2-0/+16
2020-03-03Use StorageSIG repos for Ceph in CentOS8Alfredo Moralejo1-4/+2
Storage SIG has built Ceph Nautilus and Ganesha for CentOS8 in CentOS Build System. Let's switch to use them in kolla. Change-Id: Id37dca84c4eb918aaf2d3c036ef5387fe75988dd
2020-03-02Merge "Build collectd image for CentOS8"Zuul1-2/+0
2020-03-01Merge "Actually disable EPEL, and epel-modular"Zuul1-0/+2
2020-02-28Build collectd image for CentOS8yatinkarel1-2/+0
Required packages are available in RDO repo, so this should build fine. Partially-Implements: blueprint centos-rhel-8 Change-Id: I14cc9d0f2c5d72c6dad89de2ac6dcffda8510285
2020-02-27Merge "kibana: enable for non-x86 on Debian/Ubuntu"Zuul1-2/+2
2020-02-26Throw TypeError in repository enable/disable macrosMark Goddard2-0/+16
Currently we do not validate the type of the reponames argument to the enable_extra_repos and disable_extra_repos macros. It should be a list, but we merged a call where the argument was a string, which interpreted as a list of single characters ('e', 'p', 'e', 'l'), and silently ignored. This change validates that the reponames argument is a list to avoid this issue. Change-Id: I497c8b2c1dc548e678698474d3604664cf8eeb07
2020-02-26Actually disable EPEL, and epel-modularMark Goddard1-0/+2
The disable_extra_repos macro accepts a list as its only argument. We were calling it like this to disable EPEL: disable_extra_repos('epel') The macro interpreted this as a request to disable three repos, e, p, l. Thanks Python! Type validation to be improved separately. Additionally, on CentOS 8 the EPEL repository was not included in the repository mapping file, repos.yaml. There is also another EPEL repository on CentOS 8, epel-modular, which is enabled by default after installing epel-release. This change adds mappings for epel and epel-modular repos to repos.yaml, and fixes the disabling of epel in the base image, as well as disabling epel-modular. There are some cases where EPEL is still used (it seemed a bit too easy...), and the repository has been enabled for these images: * bifrost-base (nginx) * ironic-conductor (C7 only, shellinabox) * freezer-base (C7 only, trickle) * gnocchi-base (C8 binary only, python3-boto3) * mariadb (pv) * mongodb (C7 only, mongodb) * nova-spicehtml5proxy (C7 only, spice-html5) * telegraf (C7 only, python2-pip) A few other things were changed: * ironic-conductor does not require the ceph repo * python3-pika is no longer installed in the openstack-base image Related: blueprint remove-epel Change-Id: I3761825239dfc462072383cde6276c4fb3e1bf12
2020-02-17Get rid of Python 2 supportMarcin Juszkiewicz2-23/+18
2020 came, everyone should be using Python 3 now. As per the official python support timeline set forth by the OpenStack TC [1], OpenStack Train (in our case, kolla 9.x) is the last release that will support python2.7. [1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html Related bug: https://bugs.launchpad.net/tripleo/+bug/1856678 Merging depends on TripleO team - once they move CI job to CentOS 8 we can merge. Implements: blueprint drop-py2-support Change-Id: Ic459561ab6ab8c62993c044c7a82d887839da289
2020-02-14kibana: enable for non-x86 on Debian/UbuntuMarcin Juszkiewicz1-2/+2
As upstream generated 'all' package as 'amd64' one I took some time and repackaged it. Change-Id: Ie84ed771ffa9ecd70b945673727895c8edad30eb
2020-02-14Remove kolla Ceph container imagesMichal Nasiadka2-6/+0
This change removes ceph* Dockerfiles and relevant kolla python code bits. Kolla-Ansible part has been removed, and K-A was the only consumer. Change-Id: I9568261fdbbe4b9156d0e07c414ec911ca2e8557
2020-02-04aarch64: enable influxdb and telegraf for Debian/UbuntuMarcin Juszkiewicz2-2/+3
Turns out that upstream provides repos also for aarch64. CentOS one is not usable due to wrong arch name used (arm64 instead of aarch64). Change-Id: I1b4ef1fae0914d6826af5456cc9ea53bb26972ee
2020-01-31Merge "CentOS 8: Use upstream Ceph/master"Zuul2-7/+5
2020-01-31Merge "CentOS 8: Remove shellinabox from ironic-conductor"Zuul1-1/+0
2020-01-30Merge "CentOS 8: Update packages in images"Zuul3-96/+43
2020-01-30CentOS 8: Use upstream Ceph/masterMichal Nasiadka2-7/+5
The only Ceph version that will support CentOS 8 is Octopus. It will be released end of March 2020 - so for now let's use master. Change-Id: I5955acb41e7346802d76f4f2b244cbf5c36f5bf2 Partially-Implements: blueprint centos-rhel-8
2020-01-29CentOS 8: Remove shellinabox from ironic-conductorMark Goddard1-1/+0
shellinabox is used by ironic-conductor to provide a browser-based shell to access the consoles of nodes. It is not used by all console drivers, and is not used in the integration with nova serial consoles. The package was previously installed from EPEL7, but is not currently provided by EPEL8. This change removes the package to allow the ironic-conductor image to build. Change-Id: I210d9fddd6948dab1feb5abf59a50bce86f21f0f Partially-Implements: blueprint centos-rhel-8
2020-01-29Merge "CentOS 8: base and openstack-base images"Zuul2-10/+114
2020-01-29CentOS 8: Update packages in imagesMark Goddard3-96/+43
* Some further changes for python2 vs python3 packages * Allow rabbitmq 3.7.*, since a newer erlang is available * Switch from qemu-img-ev to qemu-img on CentOS 8 * bridge-utils no longer available on CentOS 8 * libvirt-daemon-driver-lxc no longer available on CentOS 8 * Mark some more images buildable for CentOS 8 Change-Id: Iaf5b68ff6d944ae730ca0b1d5832172c106a6c08 Partially-Implements: blueprint centos-rhel-8 Partially-Implements: blueprint centos-rhel-python-3
2020-01-28Merge "Add new option to enable unbuildable images"Zuul2-4/+8
2020-01-28Merge "Reduce duplication in kolla.image.build.run()"Zuul1-17/+3
2020-01-28Merge "Revert "To-revert: Temporarily disable Ubuntu bifrost image building""Zuul1-3/+0
2020-01-28Reduce duplication in kolla.image.build.run()Mark Goddard1-17/+3
Small refactor, now that all call paths use the same methods. Change-Id: I2cd8d3997eec171db043c7042e42174c5ba8c298
2020-01-28Add new option to enable unbuildable imagesMarcin Juszkiewicz2-4/+8
I7a92b762f6a783f92ebca61e5595e1422a92df4f added checking for unbuildable images when someone wants just templates (like TripleO for example). But what if someone wants all images despite their buildability status? Or wants to build for some new distro/arch combo? --enable-unbuildable just ignores internal UNBUILDABLE_IMAGES list and tries all images. Change-Id: I20312b9719c6f5e3dca0b4198607ddae183152f1
2020-01-27build: list only buildable templates for --template-onlyMarcin Juszkiewicz1-0/+10
TripleO uses --template-only to generate Dockerfiles and then use buildah to create container images. But as Kolla generates all files then they need to have a way to exclude not buildable ones. https://review.opendev.org/#/c/699024 is one of such attempts. But if we remove not buildable Dockerfiles then they get what they can build. Change-Id: I7a92b762f6a783f92ebca61e5595e1422a92df4f
2020-01-24Merge "Provision building netcontrold container"Zuul1-0/+1
2020-01-21Merge "centos: disable EPEL by default"Zuul4-12/+72
2020-01-21Revert "To-revert: Temporarily disable Ubuntu bifrost image building"Radosław Piliszek1-3/+0
This reverts commit 347bd599e597f382b0b6b8ddebedad5a90a67f55. Bifrost should be buildable on Ubuntu now. See: https://review.opendev.org/703343 Change-Id: If87adc868dc412e01fa2e18dcadd2eacad87c83c Closes-bug: #1860229
2020-01-21Provision building netcontrold containerGowrishankar Muthukrishnan1-0/+1
Netcontrold container service[1] is used to load balance PMD threads in OpenVSwitch for the dataplane traffic. This patch enables building netcontrold container for Openstack. [1] https://github.com/netcontrold/netcontrold-py Change-Id: I09cb42323d36fcff49da81fc2356c9f83400d5d6 Signed-off-by: Gowrishankar Muthukrishnan <gmuthukr@redhat.com>
2020-01-20To-revert: Temporarily disable Ubuntu bifrost image buildingRadosław Piliszek1-0/+3
We want to support it but it is blocking gate atm due to py3 on Ubuntu. Not affecting C7 due to no py3. Change-Id: I6d0ced90d511405f600e7c4677b1b7083a6adbd2 Related-bug: #1860229
2020-01-10Merge "config: make kolla work with oslo.config 7.0.0+"Zuul1-1/+1
2020-01-10config: make kolla work with oslo.config 7.0.0+Marcin Juszkiewicz1-1/+1
From oslo.config 7.0.0 release notes: > Positional options are now required by default, to match argparse’s > default behavior. To revert this behavior (and maintain optional > positional arguments), you need to explicitly specify positional=True, > required=False as part of the options definition. So let's follow. Change-Id: I77fdbcb905b1a7f2d535c3a37b2899118d1442c5
2020-01-09CentOS 8: base and openstack-base imagesMark Goddard2-10/+114
Adds support to the base and openstack-base images for CentOS 8. These images have been removed from the list of unbuildable images, and replaced with all dependent images. Change-Id: I18fba8a5c2f99b700990cbf41c76077a1ec2408a Partially-Implements: blueprint centos-rhel-8
2020-01-09CentOS 8: Add zuul build and publish jobsMark Goddard1-1/+14
Adds build and publishing jobs for CentOS 8 images: - kolla-build-centos8-binary - kolla-build-centos8-source - kolla-publish-centos8-binary - kolla-publish-centos8-source The 'base' image has been added to the list of unbuildable images for CentOS 8 (now separate from the list for CentOS 7). This means that no images will be built - the jobs should essentially be a 'noop'. Change-Id: Ie9a0109bd4eef337358d714e4b5088b8e3de2f23 Partially-Implements: blueprint centos-rhel-8
2020-01-08Add OVN bits to neutron-baseMichal Nasiadka1-0/+4
Currently neutron-server-ovn container does not run db setup for networking-ovn subproject when bootstrapping - since it uses extend_start from neutron-server (where networking-ovn is not installed). Since OVN is being added as in-tree driver to Neutron and there is no rationale behind supporting separate container images for neutron-server-ovn and neutron-metadata-agent-ovn, hile networking-ovn driver uses around 1-2MB of space - this change adds networking-ovn installation to neutron-base image and deprecates neutron-server-ovn and neutron-metadata-agent-ovn images. Change-Id: Ib2dbdd7e7d34f56985b7a5b2494c3b89034688cb
2020-01-02Add '--quiet' switchMarcin Juszkiewicz3-3/+6
Quiet option turns off all image build logs above CRITICAL level. Handy for checking build/push queue. Change-Id: I9d49c9e6851341c084673ef2946acf4490c3ae8b
2020-01-02centos: disable EPEL by defaultMarcin Juszkiewicz4-12/+72
Our images use 'scsi-target-utils' from EPEL and then can be built without it. So let's disable this repository right after installing package from it. Images can enable EPEL with 'enable_extra_repos' macro. Also added 'disable_extra_repos' macro as we have some images in a need. Change-Id: Id70474e7602b531b63fdc11ae690fd9ed33def74
2019-12-17add more tests for enable_repos template methodMarcin Juszkiewicz3-18/+94
- CentOS single, multiple and one with missing repo - Debian single, multiple and one with missing repo - TripleO Change-Id: Ide4868d031bd84b1a6935aada7d0e7627f11bf37
2019-12-13Merge "Add Networking-MLNX to Neutron-Base packages"Zuul1-0/+4
2019-12-13Merge "Build images with healthcheck scripts for core services"Zuul2-0/+4
2019-12-12Add Networking-MLNX to Neutron-Base packagesHamdy Khader1-0/+4
The package is required for infiniband deployment to be installed on containers: neutron-server, neutron-dhcp-agent and neutron-l3-agent. Change-Id: I017b65c2032648fa0ac7126d4a06cd98cb7c33a0
2019-12-11skydive: mark as unbuildable on !x86Marcin Juszkiewicz1-8/+2
Ie586b0f249e545877ab1dd156d08e1863cd479ba removed use of rpm packages so it is time to disable building for non-x86 platforms. Upstream provides own container images for several architectures. Change-Id: I4778db57dae0953f5c7116105466c2830592b514
2019-12-10Merge "Revert "Introduce macro to remove Py3 only plugins on CentOS 7""Zuul1-4/+0