summaryrefslogtreecommitdiff
path: root/docker/base
AgeCommit message (Collapse)AuthorFilesLines
2023-08-30Add server-status handler to Rocky/Centos Apache confMaksim Malchuk1-0/+9
This added to make Rocky/Centos similar to Ubuntu/Debian to provide /server-status handler for local monitoring of the Apache. Since I3ec1af6353c3ecc64589599abe375b0ae9b14d5c is merged it safe to add this change. Change-Id: I14ba7e0319b7eb0390361d397d4baad0e9a3f0b1 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com> (cherry picked from commit daf9fdd3a6e96d417f19440d59452e3b271ec9d9)
2023-08-30Add comprehensive checks for container restartsDawud M1-1/+3
When adding a dashboard to grafana the containers aren't restarted when they should be. This is due to a bug in Kolla where the logic to determine whether or the container needs to be restarted fails in the case where the file does not exist in the container. This patch adds more comprehensive checks for container restarts in the set_configs.py file. This patch also adds a test to ensure that the functions work as expected. Closes-Bug: #1997984 Co-Authored-By: Will Szumski <will@stackhpc.com> Change-Id: I67f5f12700d7b55f26bff81e9b54559303da6d83 (cherry picked from commit d9a6c5f3901e078a30d341397ac57d867d8191cc)
2023-06-27Use erlang-25 from copr on aarch64Michal Nasiadka1-2/+2
Change-Id: I9f40167fed9412b3f33f82e2f97f353275431292 (cherry picked from commit 51675bb232f0c4826ff74351b68c1e16a1893545)
2023-06-21rabbitmq: use erlang-25 ppa on Debian/UbuntuMichal Nasiadka3-9/+1
RMQ team is now maintaining erlang-24, erlang-25 ppas, see [1]. [1]: https://github.com/rabbitmq/erlang-debian-package/discussions/33 Change-Id: I7e289bd5ce52319604717e0b319d0642a8e598db (cherry picked from commit 0e881148d0036f27b95c5a27459e527fb3b0476d)
2023-06-19Fix rabbitmq image buildMichal Arbet1-1/+1
This patch is replacing ppa.launchpadcontent.net by ppa1.novemberain.com. Reason for replacement is that only latest erlang version is available on the current ppa source. Setting Debian ARM jobs non voting for now, since the new ppa does not contain arm64 packages. This repo is based on the official Erlang/OTP package for Debian. The RabbitMQ team adapted the upstream package to produce packages for more/different combinations of Erlang/OTP, Debian and Ubuntu releases. Change-Id: Iddec6ec555f98e13c2f199e5ca7dad7f4819b1a8 (cherry picked from commit 4950c03e59b8d1af46018b81a49fa028e1b8296d) Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-05-18opensearch: move to yum/apt reposMichal Nasiadka2-0/+23
systemd-tmpfiles is needed otherwise opensearch postinst on Debian/Ubuntu fails Change-Id: I5aeb5796f8de7697a1c4a7404fe292ef9eb522ee (cherry picked from commit 6bd7898a1d95157c713bdff0fe5bdf5a59b65550)
2023-04-21https: remove dhparams.pem before running gencertsMichal Nasiadka1-0/+2
On EL9 the file exists and script errors with wrong permissions to it. Closes-Bug: #2011716 Change-Id: Ib32baa3208e6bfc5520ff8537193c9a4d6cbada7 (cherry picked from commit 12d431e3994023ce735a2352554a99a5cc9431c9)
2023-04-19Merge "Replace invisible unicode chars" into stable/zedZuul1-2/+2
2023-03-28Replace invisible unicode charsPiotr Parczewski1-2/+2
They're believed to have no special meaning and were put by accident. TrivialFix Change-Id: I66ea5711810ed0060cf89192a780bfcc92e79770 (cherry picked from commit 2ddf0aeb204d754636ded6ff2be4e2dcfc3ee421)
2023-03-23base: make curl retry on all errorsMichal Nasiadka1-0/+1
Change-Id: Icbf54154e4a2dffd840cfda9b6a863247d28c226 (cherry picked from commit 90e157e3e35798dc9b524469a1bd7df0602f0355)
2023-01-31influxdb: Update gpg keyMichal Nasiadka2-2/+2
Influx repo gpg key has been rotated as of of 2023-01-26 [1]. [1]: https://www.influxdata.com/blog/linux-package-signing-key-rotation/ Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/872257 Change-Id: I76b35bb20ddc0130ca15ff03942e1a97f5d36ff0 (cherry picked from commit ab70c7618b3b7e025759fe38c8692f66ef420b15)
2023-01-26Add util-linux to centos base packagesMichal Nasiadka1-9/+10
Currently /usr/sbin/nologin is missing, because util-linux is not installed in the image. Change-Id: I717b4f2215054ef9135a1ac252ed26820bdcb1aa (cherry picked from commit 1371e4fc5b9d3d55f5bb48540753f740f1d1af02)
2023-01-18grafana: remove SHA1 workaroundMichal Nasiadka1-4/+0
Change-Id: I08fe2827bc58baa95d396daf28de1079e3df4f77 (cherry picked from commit 47a9a818596b27f658fb7b40aac2130fd04b66b6)
2023-01-13CentOS/Rocky: use CentOS Cloud SIG repo instead of DeloreanMarcin Juszkiewicz3-14/+18
Zed was released, landed in CentOS repo, time to use it. Change-Id: I829a0fc4439281b074c40e200d96a27584da3765
2022-12-06Drop elasticsearch, kibana and logstashMichal Nasiadka4-24/+0
Support has been dropped in kolla-ansible, the upgrade path is opensearch. Change-Id: I6f32aacb4e0b7dd1eb7206e02425b16f5beae4f0
2022-10-27Revert "ci: disable usage of EPEL mirror"Michal Nasiadka2-4/+4
This reverts commit 0fa3fd885e03e887b11b2c960564a92c423a360e. Reason for revert: OpenDev mirror should be fixed now Change-Id: Ibf85ae4b5b374b4831b9ba33addd896c0507e8aa
2022-10-27ci: disable usage of EPEL mirrorMichal Nasiadka2-4/+4
It's broken now - let's stop using it. Change-Id: I4d881e6a1af07f7c6cf4547cac72e971bfadeefb
2022-10-18Merge "rabbitmq/aarch64: use COPR for Erlang"Zuul3-12/+12
2022-10-18rabbitmq/aarch64: use COPR for ErlangMarcin Juszkiewicz3-12/+12
RabbitMQ team maintains RPM package in Github repo [1]. Hrw then use it to build package using COPR service [2]. This way we have latest Erlang on both distributions and both architectures. 1. https://github.com/rabbitmq/erlang-rpm/ 2. https://copr.fedorainfracloud.org/coprs/hrw/erlang-for-rabbitmq/ Change-Id: I425ae2fab78e80ff56f21fd1b24708906ec32342
2022-10-14rabbitmq: use Erlang from PPA on Debian/UbuntuMarcin Juszkiewicz3-15/+3
PPA from Team RabbitMQ [1] provides newer Erlang for Debian/Ubuntu. This way we have latest Erlang on both distributions and both architectures. 1. https://launchpad.net/~rabbitmq/+archive/ubuntu/rabbitmq-erlang Change-Id: Iec7e8461f9eb757e1576cf3898068306c5436239
2022-10-05Merge "CI/centos/rocky: use repos from opendev mirror"Zuul2-0/+110
2022-10-04debian: swtpm is in backportsMarcin Juszkiewicz1-2/+3
We need to mark swtpm/libtpms in APT preferences to make it installed on AArch64. Change-Id: Ibee94fe5a6217048eef01aa24ebed6ee05aae8de
2022-10-03CI/centos/rocky: use repos from opendev mirrorMarcin Juszkiewicz2-0/+110
Repo definitions in RHEL 9 rebuilds use metalink method for most of entries which makes our use of sed obsolete. This patch adds file with definitions of all CS9 repos we use and moves all official definitions a side at start of build. After build our definitions get removed and official ones are restored. Similar is done for RockyLinux 9 builds but there RL9 repos are used from official mirrors while CS9/EPEL ones are from OpenDev mirrors. Final images will have repos in wrong enabled/disabled state. Change-Id: I04121fd5ca9894b6deeda3808808cbffd6b97811
2022-10-03proxysql: Use almalinux for centos/rocky9Michal Nasiadka2-2/+2
As per https://github.com/sysown/proxysql/issues/3989 Change-Id: If077d60e9efd29fab80f4f5188a4f54015734a92
2022-09-30Add RockyLinux 9 supportMichal Nasiadka2-16/+7
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/859570 Change-Id: I7af51d07b8a939c908aa072294061def57dd67de
2022-09-29Merge "debian: use Erlang 24 on AArch64"Zuul1-0/+6
2022-09-29Merge "use Erlang 24 on Ubuntu/AArch64"Zuul1-0/+6
2022-09-29debian: use Erlang 24 on AArch64Marcin Juszkiewicz1-0/+6
There are no Erlang 25 packages for Debian/AArch64. Change-Id: Ice5a7b4cbb61365bb81334ca7af92fac6739fe41
2022-09-29use Erlang 24 on Ubuntu/AArch64Marcin Juszkiewicz1-0/+6
There is no Erlang 25 package with for Ubuntu/AArch64. Change-Id: Ie07a6b821db0557c5e373037183082604acda4bd
2022-09-28centos: use Erlang 24 on AArch64Marcin Juszkiewicz1-1/+3
We do not have Erlang 25 for CentOS Stream 9 on AArch64 so we revert to use Erlang 24 from CentOS repository. Also synced Erlang and RabbitMQ versions between images. Change-Id: I1480de095eaea66c3a83a61ca3ff269953181e39
2022-09-27Merge "Don't ignore the remaining apt-get update errors"Zuul1-1/+1
2022-09-27Don't ignore the remaining apt-get update errorsRadosław Piliszek1-1/+1
Follow-up to I5ce2eb66a647e1805f086aa37942bf5d13eb4106 So far, I have only observed these causing weird errors later but, in theory, ignoring these could allow the rest of the code to use archival (so wrong) entries. Change-Id: I9cef5ceeb78d431ca232c7b196c48eef5d2ccbca
2022-09-27grafana: ignore SHA1 gpg key on CentOS Stream 9 (and family)Marcin Juszkiewicz1-1/+1
RHEL 9 refuses to use SHA1 gpg keys. Grafana team still did not handled key upgrade: https://github.com/grafana/grafana/issues/41036 Change-Id: Id963271103ce1397b7a5498d032e8f797edfcc70
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz4-25/+35
OpenStack 'zed' requires Python 3.8+ so RHEL 8 family has to go. This changeset moves to CentOS Stream 9 while move to RockyLinux 9 is planned as final solution. CI moved to CentOS Stream 9 nodes. Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/839715 Change-Id: I113b9984294cf8663d3fc0c8840320e1d40ea731
2022-09-06Merge "Debian: use OpenStack Zed repos"Zuul1-1/+1
2022-09-06Merge "Fix CVE-2022-38060"Zuul2-17/+4
2022-09-01Debian: use OpenStack Zed reposMarcin Juszkiewicz1-1/+1
With source base images we use small amount of packages from there. Some Python/JS updates and novnc/spice stuff. Change-Id: I41d8d3ae0e43ba7b54b126e076134f13dcab7859
2022-08-31Merge "Revert "Workaround setuptools==60.0.0 breakages""Zuul1-3/+0
2022-08-30Merge "rabbitmq: Update to 3.10"Zuul2-4/+4
2022-08-29Fix CVE-2022-38060Radosław Piliszek2-17/+4
Closes-Bug: #1985784 Change-Id: I66476a2b396e2cbe41e68ac51f57aae1806b2ed8
2022-08-24Merge "Add Ubuntu Jammy MariaDB repository"Zuul1-0/+4
2022-08-24Add Ubuntu Jammy MariaDB repositoryMichal Nasiadka1-0/+4
Change-Id: I15b08cca39a3bd069cb714c5b3164fd8254d8d30
2022-08-23Merge "mariadb: Fix RPM repository URLs"Zuul2-6/+6
2022-08-22mariadb: Fix RPM repository URLsMark Goddard2-6/+6
The MariaDB project changed the location of the repositories, and the old URLs no longer work. Change-Id: Ia094cd1e29232c47d1fb26e00de569677bc5b8a1
2022-08-22curl: Add retriesMichal Nasiadka1-0/+1
Change default 0 retries to 5, that should help for transient errors (timeouts, HTTP 408, 429, 500, 502, 503 or 504). Change-Id: Iad3c7270579ffb38299269481ac64d5582abaa22
2022-08-22rabbitmq: Update to 3.10Michal Nasiadka2-4/+4
3.10 comes with quorum queues support, Erlang 25 is the recommended series. Change-Id: I67f8df66b4896a9b223c02ed09f68f3f43693849
2022-08-22Switch to use Zed binary packages from UCADr. Jens Harbott2-2/+2
At R-8 week we are moving to current release binary packages for Ubuntu. Change-Id: I06d2cf01a10bf5fb967fd22c9e55833bace7379b
2022-07-27Move to Ubuntu Jammy (22.04)Michal Nasiadka2-10/+10
mariadb - downloads.mariadb.com doesn't have jammy version, should be there soon - using Ubuntu provided version for now telegraf/collectd - collectd packages missing in Jammy - marked as unbuildable monasca - requires new librdkafka, no wheel for Python 3.10 for now Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/846070 Change-Id: I11b4fbcaba165824252902d0270ce1dbbc3d6e9d
2022-07-21Update ProxySQL to version 2.4Michal Arbet2-4/+4
This patch is updating ProxySQL from version 2.3 to version 2.4, which has several new features and bugfixes. Change-Id: I625f72aac591aee8b1efe51f0b4a9e7660e6dbdc
2022-05-29Use the new image naming scheme by defaultRadosław Piliszek1-2/+2
Adds a relevant reno to inform users about the change and the possibility to customise the prefix. Additionally, this patch includes the fix to Ubuntu image builds regarding rabbitmq and erlang. Both the changes are required to fix master CI. Change-Id: I6bc8b489a810849744c8bead6b9e350c5d3e36b7 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/843752