aboutsummaryrefslogtreecommitdiff
path: root/docker/base
AgeCommit message (Collapse)AuthorFilesLines
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
2022-04-11Adjust permissions on _extend_start files.Tim Shearer1-1/+2
Explicitly set the permissions on the kolla-toolbox kolla_extend_start file. Also, since all extend_start files are sourced rather than executed, the executable bits are now cleared throughout the project. Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
2022-04-05Merge "Emit log when copying file/directory permissions"Zuul1-0/+1
2022-04-05Emit log when copying file/directory permissionsYamato Tanaka1-0/+1
Currently, kolla sets file permissions at _set_properties_from_file() method, but no logs are emitted here. This can make it difficult to investigate the cause of issues which are caused by setting permissions. This patch makes _set_properties_from_file() output a log. Closes-Bug: #1966825 Change-Id: I91116931aa30fd2c5e51ed1ac04663fcfa4a5f36
2022-03-31Fix disabling of curlrc in healthcheck_curlPierre Riteau1-1/+1
The -q (aka --disable) option only works if it is the first parameter on the command line. Change-Id: Ia9ab0bdc95e658c17e5be5abefcf96f1c05ee84f Closes-Bug: #1967272
2022-03-11Unify curl use (customisation options)Maksim Malchuk1-0/+7
This change adds and unifies an ability to override hardcoded URLs for air-gapped environments via the usual blocks mechanism. Also, this change replaces ENV with ARG instruction for the variables used only in building images, and uses bash variable expansion where it possible. This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685 Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-03-07Debian: use Yoga OpenStack reposMarcin Juszkiewicz1-1/+1
Change-Id: I27910e25183a373d0d89ea6f9f4e30e118f21422
2022-02-21Debian: use libvirt 8 and qemu 6.2Marcin Juszkiewicz1-1/+5
Libvirt 8 got recently backported to bullseye so we can make use of it. QEMU 6.2 was already available but conflicted with libvirt/bullseye. Also started listing which packages we want from backports. Change-Id: I335e5748e9624fe470adbaf6a6f080a3ae468f04
2022-02-11Merge "rabbitmq: update to 3.9"Zuul2-5/+4
2022-02-09rabbitmq: update to 3.9Michal Nasiadka2-5/+4
Also update Erlang to 24 Change-Id: Ifbaccc54896bab096a6d16dc7733941dd600cf39 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828594
2022-02-08Merge "erlang: use packages from Erlang Solutions on AArch64"Zuul2-2/+8
2022-02-05erlang: use packages from Erlang Solutions on AArch64Marcin Juszkiewicz2-2/+8
RabbitMQ requires Erlang 23+ and soon will bump to 24+. On AArch64 we used version 22 as there was no other option. Now it is. Change-Id: I667ccda5bb4edbfbfb97dfb0cea264837ed05cae
2022-02-05pin out some package from Debian OpenStack Team reposMarcin Juszkiewicz1-0/+5
Debian OpenStack Team backports many packages to get their stuff done. Sometimes something goes wrong: INFO:kolla.common.utils.kolla-toolbox:The following packages have unmet dependencies: INFO:kolla.common.utils.kolla-toolbox: git : Depends: git-man (< 1:2.30.2-.) but 1:2.34.1-1~bpo11+1 is to be installed INFO:kolla.common.utils.kolla-toolbox:E: Unable to correct problems, you have held broken packages. So let pin out problematic packages as we are fine with bullseye version of git. Change-Id: I8c740655c7f7803d9ab36dac79d30e35e65dd586
2022-02-04Switch to use Yoga binary packagesMarcin Juszkiewicz2-2/+2
At R-8 week we are moving to current release binary packages for CentOS and Ubuntu (Debian OpenStack team do not publish before RC). Change-Id: I5e620cd07326b3d69b07f7c4667176918d7c1b24
2022-01-31Merge "Ensure set_configs sets execute bit on directories"Zuul1-0/+10
2022-01-28Ensure set_configs sets execute bit on directoriesJakub Darmach1-0/+10
While handling permissions for directories, set_configs.py configures them same as for files - i.e. 0640 set in config.json which works fine for file will cause any potential subdirectories to lack traverse permission. Check and permission change was added to handle_permissions function to add +x if +r is present for user, group, others. Change-Id: Ic6e3ae4ff40c6ce5a5c0646ed309a2938903f6c0
2022-01-27Unpin td-agent and cap elasticsearch gemDr. Jens Harbott2-10/+0
With [0] the version of td-agent being installed was pinned, which isn't sustainable in the long run, so we drop the pin. Latest version of the elasticsearch gem no longer works with older (OSS) versions of Elasticsearch. This is fixed by downgrading the version of the elasticsearch gems. [0] Iefcdd3100b7e3c5320bc5f1286a18251bdeab885 Related-Bug: 1930867 Closes-Bug: 1954759 Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/823155 Change-Id: I3045786e863b098d7339d1066aef6c857aa5f97f
2022-01-04base: do not duplicate repo data on CentOSMarcin Juszkiewicz1-29/+16
Instead of listing all repositories twice, do it just once and then add architecture specific ones. Change-Id: Icf0675c17a5227643148e9956496b8eacec67bee
2021-12-28Fix variable nameMaksim Malchuk1-2/+2
TrivialFix The customization format of the variable name should contain the <image_name> [1]. This change fixes the name of the 'remote_apt_keys' variable in base Dockerfile. 1. https://docs.openstack.org/kolla/latest/admin/image-building.html#dockerfile-customisation Change-Id: I423db39e77f337a73d3d88e3dbd56469be45110b Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-12-21Merge "Add HTTP proxy support for fetching APT keys"Zuul1-2/+7
2021-12-21Revert "Workaround setuptools==60.0.0 breakages"Dr. Jens Harbott1-3/+0
This reverts commit b69c58971895a6ab8a23bcdc4b7b56d01f26e2f5. Reason for revert: The original commit was a hotfix to work around build failures, we should try to move back to a normal state again. Change-Id: Iff79de9dabcd4bba795f3c44d3017baa5a860306
2021-12-20Workaround setuptools==60.0.0 breakagesDr. Jens Harbott1-0/+3
Setuptools 60.0.0 is trying to use it's own distutils[0]. Once again. Use the workaround they propose until all pkgs we need have fixed their build processes. [0] https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6000 Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Change-Id: I112c0ea510aad80f28fc3f8a9f04cdf09c924b18
2021-12-09Merge "CentOS: do not use advanced-virtualization repo"Zuul1-4/+2
2021-12-08Add HTTP proxy support for fetching APT keysYang Youseok1-2/+7
In network isolated environments the only way to go outside is through HTTP proxy. Make use of it if set. Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Closes-Bug: #1850575 Change-Id: I2718884c4742cb81a3900e38fee62fbd27b472d7
2021-11-22Merge "Use MariaDB 10.6"Zuul2-2/+2
2021-11-16CentOS: do not use advanced-virtualization repoMarcin Juszkiewicz1-4/+2
virt:rhel module provides libvirt 7.9.0 and we have it enabled Change-Id: Id585c7744ba130ad1dfc28138fb0f9e6eeae771d
2021-11-04Use MariaDB 10.6Radosław Piliszek2-2/+2
As planned for Yoga. Change-Id: Ibcfbaa1903c7059e437bb2118bc4c9de4a9b854e
2021-11-02Debian: we want Openvswitch and ovn from backportsMarcin Juszkiewicz1-0/+10
Those packages are in exactly same versions in bullseye-xena-backports and in bullseye-backports. So we have to choose one source to keep builds running otherwise they report downgrading of packages. Change-Id: I0954bcc8ee42b15420fe1cd54aac96cb0c0c7e0d
2021-10-28base: drop commented repositoriesMarcin Juszkiewicz2-44/+4
We moved additional Debian/Ubuntu repositories into kolla/template/repos.yaml quite a while ago. It is time to drop commented out copies from APT sources.list file as no one keeps them in sync. Change-Id: I2bb89a30a88c8b889c5af2fc609e236ed966f7ba