summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2020-04-08openstack-base: PyNaCl needs 'make' to buildMarcin Juszkiewicz1-0/+1
INFO:kolla.common.utils.openstack-base: File "setup.py", line 159, in run INFO:kolla.common.utils.openstack-base: raise Exception("ERROR: The 'make' utility is missing from PATH") INFO:kolla.common.utils.openstack-base: Exception: ERROR: The 'make' utility is missing from PATH INFO:kolla.common.utils.openstack-base: ---------------------------------------- INFO:kolla.common.utils.openstack-base: INFO:kolla.common.utils.openstack-base: ERROR: Failed building wheel for PyNaCl Change-Id: Id8be6cc8f98207bc9ebf546c55d34cf9c6360cd7
2020-04-08base/centos: influxdb repo is only on x86-64Marcin Juszkiewicz1-1/+8
Change-Id: I98147939ccfeeb7b3e86b5e33c427372663ecf9b
2020-04-08base/debian: pin erlang 22 for rabbitmqMarcin Juszkiewicz1-0/+5
Without pinning: INFO:kolla.common.utils.rabbitmq: rabbitmq-server : Depends: erlang-base (>= 1:21.3) but 1:21.2.6+dfsg-1 is to be installed or INFO:kolla.common.utils.rabbitmq: erlang-base-hipe (>= 1:21.3) but it is not installable or INFO:kolla.common.utils.rabbitmq: esl-erlang (>= 1:21.3) but it is not installable With pinning image builds. Change-Id: I26bbd081f70ac76bcf45ab4348068e463a313d88
2020-04-08swift: use python3 for scriptsMarcin Juszkiewicz1-1/+1
We no longer ship Python2 in images so use Python 3 in scripts. Change-Id: I428099d66715d6156a891d6f682f52e49f1b7753
2020-04-08qdrouterd: drop Debian/Ubuntu partMarcin Juszkiewicz1-11/+0
Packages are no longer present in Debian nor Ubuntu so let us drop part which care about those distributions. Change-Id: I74069ac30684f875c26abb670812e9ff30e158f5
2020-04-08Sensu: Remove ceph and process-checks plugins from clientMark Goddard1-2/+0
The sensu image became unbuildable, failing to install the ceph plugin: Unable to resolve dependencies: sensu-plugins-ceph requires english (= 0.6.3) This has happened because the author of the 'english' gem has seen fit to publish a new 0.7.0 release, and 'yank' [1] all previous releases from rubygems. This change removes the ceph and process-checks plugins, which both suffer from a dependency on the yanked english 0.6.3. [1] https://rubygems.org/gems/english/versions/0.6.3 Change-Id: I9d34413fa10b5a2920aca60b08141bfaddcc7415 Closes-Bug: #1871600 (cherry picked from commit 818dc4d6ff12a3119be072e0c68e2d2c8da9b799)
2020-04-08Exclude pcie_errors on s390x, it fails to buildMatthias Runge1-1/+6
The collectd pcie-errors plugin fails to build on s390 on big endian, ppc64le is fine. For those building containers on s390x, this patch removes a downstream patch. Change-Id: I71008f690fcb04289451efa819b5e7f6d81cf99f
2020-04-06Follow up on RabbitMQ 3.8 upgradeDincer Celik5-9/+0
Change-Id: I2273430b60e7b259cb687e7ec5c9f0885b625e0d
2020-04-06Upgrade RabbitMQ to 3.8Dincer Celik11-55/+67
Upgrade and pin RabbitMQ to 3.8. Upgrade Erlang to 22 to meet requirements: https://www.rabbitmq.com/which-erlang.html Start using bintray repository provided by RabbitMQ. Linaro builds will be used for aarch64. Implements: blueprint rabbitmq-version-upgrade Closes-Bug: #1848452 Change-Id: I3d775fd832f2603181da89009cebc1370a61a023
2020-04-04Merge "Remove unused script rabbitmq_get_gospel_node.py"Zuul2-65/+1
2020-04-04Remove unused script rabbitmq_get_gospel_node.pyMark Goddard2-65/+1
This script is used by neither Kolla Ansible nor TripleO. Change-Id: I4859a727b269dd13465d90dff50107e29d39956e
2020-04-04Merge "Add nfs dependencies to glance container"Zuul1-3/+7
2020-04-03Merge "add dpdk_telemetry and logparser, use centos-release-opstools for C8"Zuul2-2/+4
2020-04-03Merge "Revert "openstack-base: pin setuptools < 46 to get horizon working""Zuul1-5/+0
2020-04-03add dpdk_telemetry and logparser, use centos-release-opstools for C8Piotr Rabiega2-2/+4
Adds collectd-dpdk_telemetry and collectd-logparser packages to collectd RHEL-based image. dpdk_telemetry plugin collects DPDK ethernet device metrics via dpdk_telemetry library. Logparser is plugin for filtering and parsing log messages. Change-Id: I0c7c94e9fae9d11660f938b8d7d6be0f270c972f
2020-04-03Fix glance-api privsep errorsRadosław Piliszek4-2/+54
This fixes usage of cinder as glance backend. Glance API source containers were missing both sudoers and rootwrap config. rootwrap config gets included in Kolla because otherwise it is clunky to get it from glance_store where it lives. The positive side is that it has not changed since July 2016. Debian/Ubuntu binary have weird double-glance path to rootwrap which gets fixed now by symbolic link. Closes-bug: #1869072 Change-Id: Ia53657a415249882b93acca86b5e2a3bfa167820
2020-04-02Add nfs dependencies to glance containerRajat Dhasmana1-3/+7
Glance API image lacked nfs programs/utils to be able to mount NFS exports. This affected Glance usage with Cinder backend when NFS was used as Cinder backend. Closes-Bug: #1868574 Change-Id: I3aac1e6a7f7c5f839b036f15713af949fba206cc
2020-03-30Revert "openstack-base: pin setuptools < 46 to get horizon working"Marcin Juszkiewicz1-5/+0
pyScss 1.3.6 release has required fixes and horizon is using it. This reverts commit 5498671b344e48d6db865887537ff15cf4028510. Change-Id: I27bf14a8ff81086174eb0d55501039d4678b015e
2020-03-27Bump prometheus_openstack_exporter to 1.0.0Jorge Niedbalski1-1/+1
v1.0.0 has been released, use that release as a base for prometheus_openstack_exporter. Change-Id: I6b8bb18633fd277f3ab46788fa76bb4af67f5942 Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2020-03-25Merge "CentOS 8: Drop trickle install to build freezer"Zuul1-3/+5
2020-03-25Merge "Fix invalid test in cinder data migration script"Zuul1-1/+1
2020-03-23CentOS 8: Drop trickle install to build freezerMark Goddard1-3/+5
Trickle was previously installed from EPEL7, but is not available in EPEL8. It does not appear critical to the functioning of freezer, so drop it to allow freezer images to build for CentOS 8. Change-Id: I3e12ab51e9f01d383268d75ce72903686564ada6 Partially-Implements: blueprint centos-rhel-8
2020-03-21Zun: add zun-cni-daemon imageHongbin Lu2-0/+41
Zun-cni-daemon is a new process for implementing CNI plugin for Zun. It will be used by CRI runtime to connect podsandbox to neutron. This image is based on the zun base image and includes additional packages such as openvswitch. Needed-By: https://review.opendev.org/#/c/708213/ Change-Id: Ic82c59a5e78078b4fea10df9d30b35da14cad922
2020-03-19Merge "CentOS 8: Enable hacluster and masakari images"Zuul3-3/+3
2020-03-18neutron: Remove networking-ovn - part 2Michal Nasiadka1-1/+0
A followup to change [1]. Remove networking-ovn sources from kolla/common/config.py and neutron-db-manage call in neutron-server/extend_start.sh [1]: https://review.opendev.org/712762/ Change-Id: I976d60e5f2bf3e8a55b90485a77584d9e7579d62
2020-03-18Fix Horizon build after switch to pyscss2 which lacks binary wheelRadosław Piliszek1-0/+2
It now requires pcre-dev package to finish building. Change-Id: I4e003c9aa32579d467c489a53741e20ced2f4b52 Closes-bug: #1867888
2020-03-17base: fix pinning of libvirt for aarch64Marcin Juszkiewicz1-5/+15
Change https://review.opendev.org/#/c/712987/ added pinning for kibana and libvirt. In some cases it fails ;( This version works properly. Change-Id: I18a29dc4144fa53d371a6c5533e35181970429b0
2020-03-16Merge "neutron-base: drop python3-networking-ovn"Zuul3-72/+0
2020-03-16Merge "Add collectd-pcie-errors package for PCIe Errors"Zuul1-0/+1
2020-03-13kibana, nova-libvirt: handle it properly for non-x86Marcin Juszkiewicz4-10/+25
Upstream kibana package contains NodeJS x86-64 binaries so can not be used directly on non-x86 architectures. I took upstream packages, removed NodeJS binary from it and added 'nodejs' dependency. Package is present in my Linaro OBS repository where I keep other packages needed for aarch64 kolla run. Via APT pinning I mark them as not wanted so they are not used on any architecture with two exceptions: 1. libvirt - we need fixed version to be able to use ThunderX servers 2. kibana - to be able to run it at all For x86-64 upstream kibana package is used. Closes-bug: #1867365 Change-Id: I456402849022100bde1fffdfbf6292b35690f0f2
2020-03-13elasticsearch-curator: Add python3-wheel for UbuntuMichal Nasiadka1-1/+2
Seems we have a broken python3 env on Ubuntu for building curator - adding python3-wheel fixes the build issues. Change-Id: I8f0017a22fa7b11d8c46f60008172081d7ba5bcf
2020-03-13neutron-base: drop python3-networking-ovnMarcin Juszkiewicz3-72/+0
This code is now part of neutron, as part of ML2/OVS convergence with OVN work [1]. [1]: https://blueprints.launchpad.net/neutron/+spec/neutron-ovn-merge Change-Id: I704d231ead35cf94a712a5bccdd7a427c46077c7
2020-03-12CentOS 8: Enable hacluster and masakari imagesMarcin Juszkiewicz3-3/+3
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-12openstack-base: pin setuptools < 46 to get horizon workingMarcin Juszkiewicz1-0/+5
pyScss used by Horizon fails to work with setuptools > 46 version. It's last release was in 2016 so probably no one fix it. Let make sure that we get older version of setuptools. Broken due to https://bugs.launchpad.net/kolla/+bug/1866961 Change-Id: I2a3fa657a3e1a9b8b0acb0b50bd4f3e98078f4ff
2020-03-12Fix invalid test in cinder data migration scriptGauvain Pocentek1-1/+1
The extend_start.sh script for cinder-api uses an incorrect test to check if the MAX_NUMBER variable is set. This leads to a incorrect cinder-manage command being run if this variable is not set, making the database migration fail. This change fixes the test to properly use the MAX_NUMBER variable. Change-Id: Ie46da709db0de09a9cf641b3c154275282f213fc Closes-Bug: #1866827
2020-03-10Add collectd-pcie-errors package for PCIe ErrorsPiotr Rabiega1-0/+1
The pcie_errors plugin collects PCI Express errors from Device Status in Capability structure and from Advanced Error Reporting Extended Capability where available. Change-Id: I9c600570dd2166e865878e7c2584a8377a795a43
2020-03-06Merge "Clean up collectd dockerfile"Zuul1-23/+9
2020-03-06Clean up collectd dockerfileMatthias Runge1-23/+9
for CentOS 7 and CentOS 8. Change-Id: I46d567f7ddadf4a40a4af9652248b50b3ac7be80
2020-03-05nova-libvirt: use dmidecode and xen-utils on archs which have themMarcin Juszkiewicz1-1/+1
Instead of listing architectures which do not have those packages we should list those which have. Makes adding s390x easier. Change-Id: I68aa6f4b7fb1c8d63c84f3436a34399cc9644060
2020-03-05Multiple fixes to unblock CIMark Goddard1-1/+3
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-04Ensure proper JSON in keystone bootstrapRadosław Piliszek1-1/+3
This fixes the issue when keystone-manage output included backslashes and/or double quotation marks which broke JSON string. Change-Id: Ifae18c407210c12745d29fc4c95dca69aeafe6a8 Closes-bug: #1866017
2020-03-03Use StorageSIG repos for Ceph in CentOS8Alfredo Moralejo10-88/+23
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 "Add Apache httpd setup to heat-api-cfn"Zuul2-0/+6
2020-03-01Add block labels to all DockerfilesChristian Berendt272-0/+544
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-03-01Merge "Actually disable EPEL, and epel-modular"Zuul10-4/+36
2020-02-28Fix kolla_toolbox_pip_virtualenv_packages overrideXing Zhang1-1/+1
backport: train, stein, rocky Override in filter needs to follow the rule: <image_name>_<call_type>_<override/append/remove> `call_type` for `kolla_toolbox_pip_virtualenv_packages` should be `pip_virtualenv_packages`, and `pip_packages` can't match with `kolla_toolbox_pip_virtualenv_packages`, this makes the value can't be overrode in template override. Change-Id: I1dbe2dfd4bce73ce2285f45f997d45b5dcc95f4c Closes-bug: #1865119
2020-02-27Merge "kibana: enable for non-x86 on Debian/Ubuntu"Zuul1-1/+8
2020-02-26Actually disable EPEL, and epel-modularMark Goddard10-4/+36
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-25Merge "Drop weird swift rootwrap config (xenapi with placeholder values)"Zuul1-7/+0
2020-02-23Add Apache httpd setup to heat-api-cfnyj.bai2-0/+6
will change heat-api-cfn up way from python to apache. and add tls. https://review.opendev.org/#/c/707131/ Related: blueprint add-ssl-internal-network Change-Id: Ifa6157cf495ff735e1d45899ecaf83a84bf9f793 Signed-off-by: yj.bai <bai.yongjun@99cloud.net>