aboutsummaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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>
2020-02-19Drop weird swift rootwrap config (xenapi with placeholder values)Radosław Piliszek1-7/+0
Change-Id: I5514c53002a9e772b96e767b10fddf6342c7eb1d
2020-02-19Remove start-ovsdb-server script from openvswitch-db-serverMark Goddard2-33/+1
This script is not used by TripleO, and Kolla Ansible replaces it with a templated script. Change-Id: If4418ad1eb7e5b5029a226c3dd65285b23790bd1
2020-02-14kibana: enable for non-x86 on Debian/UbuntuMarcin Juszkiewicz1-1/+8
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 Nasiadka12-479/+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-10Merge "aarch64: enable influxdb and telegraf for Debian/Ubuntu"Zuul1-0/+1
2020-02-07Merge "Add ssh clients to Ironic Conductor container"Zuul1-0/+4
2020-02-07Merge "Add collectd-pmu package for Intel PMU (C7 only)"Zuul1-0/+1
2020-02-07Add collectd-pmu package for Intel PMU (C7 only)Piotr Rabiega1-0/+1
The intel_pmu plugin collects performance counters data on Intel CPUs using Linux perf interface. C7 only - C8 packaging still pending. Change-Id: If5044346a90580c4051d6138a84ce10238807460
2020-02-06Add ssh clients to Ironic Conductor containerAntony Messerli1-0/+4
Adds ssh clients to Ironic Conductor container for ansible deploy interface. Change-Id: Ib995c6ebe5ee76ee1a39e4b5918a79bd61b87a01 Closes-Bug: #1862079
2020-02-04aarch64: enable influxdb and telegraf for Debian/UbuntuMarcin Juszkiewicz1-0/+1
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-02-04Merge "nova: use proper uefi package names under CentOS/RHEL 8"Zuul1-0/+16
2020-02-04Merge "Adds python3-systemd for ansible deploy interface"Zuul1-0/+3
2020-02-01Merge "CentOS 8: Allow SSH access to keystone_ssh and nova_ssh"Zuul2-1/+16
2020-02-01CentOS 8: Relax ironic iPXE EFI bootloader locationMark Goddard1-1/+1
CentOS 7 had ipxe.efi. CentOS 8 has ipxe-i386.efi and ipxe-x86_64.efi. Use a wildcard to copy any of these that are present. Change-Id: I6d409e56b424a039f5aff9af86ca1b026c2c6286 Partially-Implements: blueprint centos-rhel-8
2020-01-31Merge "CentOS 8: Use upstream Ceph/master"Zuul9-7/+87
2020-01-31Merge "nova-libvirt: add UEFI packages to support UEFI instances"Zuul1-0/+30
2020-01-31nova-libvirt: add UEFI packages to support UEFI instanceschenxing1-0/+30
Fix inability to run UEFI-based images/instances by installing UEFI packages also in nova-libvirt image which is not based on nova-base. Includes support for C8. Backport below Train w/o C8. Closes-Bug: #1814552 Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I1d5cd3d9af98444acac5bedd7daeaa6c6673dcd6
2020-01-30Adds python3-systemd for ansible deploy interfaceAntony Messerli1-0/+3
When doing a source install, ironic doesn't have python3-systemd as a dependency and the current ironic-conductor container doesn't install the required dependencies which causes the ansible deploy interface to fail with the error, "Systemd bindings do not exist". This adds the needed dependencies when doing a source build. This installs the needed files for both rpm and deb builds on python 2.x and 3.x. Change-Id: I5d1bcb0f7d7902b4e122c12697483433bcf52ca2 Closes-Bug: #1861427
2020-01-31Merge "CentOS 8: Remove shellinabox from ironic-conductor"Zuul1-2/+6
2020-01-30Merge "CentOS 8: Update packages in images"Zuul14-31/+121
2020-01-30nova: use proper uefi package names under CentOS/RHEL 8Marcin Juszkiewicz1-0/+16
Change-Id: I92be17ef1ce0f81ab3f49433a0d1e688874ba64e
2020-01-30CentOS 8: disable repo_gpgcheck for grafana imageMark Goddard1-1/+0
DNF does not seem to accept keys imported by rpm --import for signing a repo (as opposed to packages). This causes it to prompt during package install, which does not work without a terminal in the build container. We have gpgcheck=1 for the grafana repo, so packages are at least signed. We don't have repo_gpgcheck elsewhere, so it seems reasonable to disable it for grafana. Change-Id: Ice120e8001fd9e8bb37ca4f2df26259cf798ee0e Partially-Implements: blueprint centos-rhel-8
2020-01-30Merge "CentOS 8: base image fixes for RabbitMQ, fluentd & InfluxDB"Zuul3-8/+8
2020-01-30CentOS 8: Allow SSH access to keystone_ssh and nova_sshMark Goddard2-1/+16
The centos:8 image contains a /run/nologin file, which prevents SSH access to it. Remove this file in the keystone_ssh and nova_ssh images to allow login via SSH. Change-Id: I59dc2c4207af6812501b6c6acdb34e51a3e848c4 Partially-Implements: blueprint centos-rhel-8
2020-01-30CentOS 8: Use upstream Ceph/masterMichal Nasiadka9-7/+87
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-2/+6
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"Zuul4-33/+124
2020-01-29CentOS 8: Update packages in imagesMark Goddard14-31/+121
* 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