aboutsummaryrefslogtreecommitdiff
path: root/docker/base/apt_preferences.debian
AgeCommit message (Collapse)AuthorFilesLines
2026-07-06Migrate to pyproject.tomlMichal Nasiadka1-4/+0
[tool.setuptools.data-files] does not support recursive directory installation. The old setup.cfg [files] worked because PBR's FilesConfig.expand_globs() used os.walk() to expand docker/*, but this hook is not triggered by the pbr.build PEP-517 backend. Move docker/ into kolla/ and use [tool.setuptools.package-data] instead. Update kolla_worker._get_images_dir() to check the kolla package directory first so both editable and regular installs work. Change-Id: I4fc452c03740ef22ebbb4e8d0d86c4f4783e2d09 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-12-16Switch to Debian TrixieMichal Nasiadka1-1/+1
Change-Id: Ib7f551d4a7c6ffe95786853d6899e704de4747b8 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2024-04-16Move apt_prefs pins to respective imagesMichal Nasiadka1-8/+0
Change-Id: I9eb51e079fee1322bcaaf9d481cd7890aeb77696
2024-04-16Revert "CI/Master only: pin opensearch{-dashboards}"Michal Nasiadka1-7/+0
This reverts commit 19a004e0a500ea4839fa1e089e1c50c953cec3b3. Reason for revert: Fixed Change-Id: I5491adef46fe0cec013a597cb05018d8d7e862f0
2024-04-12CI/Master only: pin opensearch{-dashboards}Sven Kieske1-0/+7
pin opensearch and opensearch-dashboards to 2.12. for now Closes-Bug: #2060668 Related-Bug: #2060306 Change-Id: I3df4823d78474d94e138ff73f0f577bd247bdad0 Signed-off-by: Sven Kieske <kieske@osism.tech>
2024-03-11Bump rabbitmq to 3.13Michal Nasiadka1-1/+5
Pinning Erlang to 26.2.* (max supported version as per [1]), so we don't break this in future when Erlang 26.3 becomes available. [1]: https://rabbitmq-website.pages.dev/docs/which-erlang Change-Id: I1fd03a67914386129d7b0bb9be6aca86982f98f3
2023-08-18Move to Debian 12 'bookworm'Marcin Juszkiewicz1-16/+1
We move to use some components from distribution instead of 3rdparty repos. At least for now - this may/will change later. Packages from Debian: - Erlang 25.2 - MariaDB 10.11 Some Ubuntu/jammy repositories are used in places where there is not (yet) Debian/bookworm one. openvswitch-netcontrold image fails as it needs to be converted to use virtualenv - added into unbuildable images for now. See https://etherpad.opendev.org/p/kolla-bobcat-ptg#L199 for more information. Depends-On: https://review.opendev.org/891946 Change-Id: I45b5a5980fb2318f1aab23a3a6aaf0922563b171
2023-08-16rabbitmq: bump version to 3.12Michal Nasiadka1-1/+1
Erlang has been bumped to 26 as well. Change-Id: I5a6e90790d9c3c148e118fdf2ce6089e0a6a343e
2023-06-23Merge "Revert "rabbitmq: pin to 3.11.16""Zuul1-1/+1
2023-06-21Revert "rabbitmq: pin to 3.11.16"Michal Nasiadka1-1/+1
This reverts commit 600ed4f149a1cf542f54d7fc5005030f53c69a83. Reason for revert: 3.11.18 is out with a fix Change-Id: I4659bcd48ea32294b3ee84af9af94fae32b38bf3
2023-06-21rabbitmq: use erlang-25 ppa on Debian/UbuntuMichal Nasiadka1-4/+0
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
2023-05-30rabbitmq: pin to 3.11.16Michal Nasiadka1-1/+1
Seems rabbitmq node drain got broken in 3.11.17 Related-Bug: https://github.com/rabbitmq/rabbitmq-server/issues/8414 Change-Id: I3a23670f85336344d8aebaded74dd65871837b82
2023-04-01Revert "rabbitmq: Pin to 3.11.11"Dr. Jens Harbott1-1/+1
This reverts commit dda3bf45b29537f4925dc3374cf96eb8ed5b652b. Reason for revert: fixed in 3.11.13 Change-Id: Ia1288a7fecb2e4a96564bd9adb9ce9d8415c61ac
2023-03-31rabbitmq: Pin to 3.11.11Michal Nasiadka1-1/+1
Change-Id: I040b24c294e5daa07ece9f4a0f58fcab5cdf185f
2023-02-01rabbitmq: upgrade to 3.11Michal Nasiadka1-1/+1
Change-Id: I4836806c0434caaff1e6fd1646aa5566b0c3d7e1
2022-12-06Drop elasticsearch, kibana and logstashMichal Nasiadka1-6/+0
Support has been dropped in kolla-ansible, the upgrade path is opensearch. Change-Id: I6f32aacb4e0b7dd1eb7206e02425b16f5beae4f0
2022-10-14rabbitmq: use Erlang from PPA on Debian/UbuntuMarcin Juszkiewicz1-6/+0
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-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-09-29debian: use Erlang 24 on AArch64Marcin Juszkiewicz1-0/+6
There are no Erlang 25 packages for Debian/AArch64. Change-Id: Ice5a7b4cbb61365bb81334ca7af92fac6739fe41
2022-08-22rabbitmq: Update to 3.10Michal Nasiadka1-2/+2
3.10 comes with quorum queues support, Erlang 25 is the recommended series. Change-Id: I67f8df66b4896a9b223c02ed09f68f3f43693849
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"Zuul1-3/+2
2022-02-09rabbitmq: update to 3.9Michal Nasiadka1-3/+2
Also update Erlang to 24 Change-Id: Ifbaccc54896bab096a6d16dc7733941dd600cf39 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828594
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-01-27Unpin td-agent and cap elasticsearch gemDr. Jens Harbott1-5/+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
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-09-30logstash: pin to 7.9.* for Elasticsearch OSS compatibilityMark Goddard1-0/+6
The latest versions of logstash 7.x do not support using the OSS version of Elasticsearch, and fail to push logs if an OSS version is used. This prevents Monasca log API from working correctly. This change fixes the issue by pinning logstash-oss to 7.9.x, the most recent available package in the repo that still supports Elasticsearch OSS. NOTE: logstash 7.11 introduced the breaking change, however 7.10 is unavailable in the package repos. Change-Id: I4ec4eb837c98f57964488769ab82ba8213ad582c Closes-Bug: #1941754
2021-09-05Pin td-agent to 4.0.* also on DebianRadosław Piliszek1-0/+5
Debian was missed in the original patch. [1] Backport to Victoria. [1] 6d0882ef799bb531d007c3e6839ef318fd512d5c aka Iefcdd3100b7e3c5320bc5f1286a18251bdeab885 Closes-Bug: #1930867 Change-Id: Id5938697b62ba040062475fcf5215d64e1ba8c6f
2021-04-26move to Debian 'bullseye'Marcin Juszkiewicz1-46/+1
Bullseye is now in hard freeze cycle and goes for release. https://release.debian.org/bullseye/freeze_policy.html Co-Authored-By: Michal Nasiadka <mnasiadka@gmail.com> Change-Id: I543965a2741cebfa759576a4c75669a7bacd4208
2021-03-25Merge "rabbitmq: bump Erlang requirements to v23 in Debian"Zuul1-2/+2
2021-03-24rabbitmq: bump Erlang requirements to v23 in DebianMarcin Juszkiewicz1-2/+2
Current rabbitmq requires erlang v22.3+ while we had v22.1 on aarch64. On x86-64 we use upstream repo so have both v22 and v23. On AArch64 we use Linaro backports repo so have v23.2 Change-Id: I21c3a0e423235301269d0a5b212d0ce6970ab88f
2021-03-23Debian: install newer firmware for qemu/aarch64Marcin Juszkiewicz1-0/+5
Nova looks into /usr/share/qemu/firmware/ directory. We need 2020.05 version of firmware package for it. ERROR: nova.exception.InternalError: Failed to locate firmware descriptor files Change-Id: I546bcf910e886eb75ece62f6be382fe1187efb32
2021-02-06Debian: use libvirt 7.0.0 from Linaro OBS repositoryMarcin Juszkiewicz1-7/+2
Nova requires libvirt 6.0.0 or newer in Wallaby. So I backported 7.0.0 from Debian 'testing'. AArch64 and x86-64 are covered. Change-Id: Ia678cd43b5ce53aee528674280f674c596a278ff
2021-01-21base: Debian has QEMU 5.2 now so update pinningMarcin Juszkiewicz1-2/+2
Change-Id: I4371daf7b28c8a057364d17e2e47f6e22665447c
2020-12-15Add daxio for nvdimm scenarioMartin Schuppert1-1/+1
nova-compute uses daxio to cleanup vpmem backend device on instance delete. If the daxio binary is missing in the nova-compute container instance delete fails. daxio is provided in centos via daxio, in ubuntu via the pmdk-tools package. Change-Id: Ifb5948653565e2ae902783762e20e33527020efe Closes-Bug: 1907124
2020-11-23base: fix QEMU dependencies for Debian/aarch64Marcin Juszkiewicz1-0/+5
Change-Id: I2c82c6269b2c357b0815ea29bc6a7c322f84dac9
2020-08-24Debian: use QEMU 5.0 from buster-backportsMarcin Juszkiewicz1-0/+5
This will allow us to make sure of all updates. 'qemu-kvm' got dropped in Debian Change-Id: If09a8188030baa284dd353b1c3f830d78c5091b7
2020-04-29Debian: use Ussuri binary packagesMarcin Juszkiewicz1-0/+5
There is a repo with binary packages for Ussuri. Let us use them instead of Train ones. amd64 only Change-Id: I071eebc4f60094d881a68e201e8c3bb6e6742ff5
2020-04-17kibana/debian: use upstream package on all architecturesMarcin Juszkiewicz1-10/+0
Upstream kibana package ships x86_64 binaries of NodeJS. I usually repacked package without them to have something for other architectures. Instead let us install upstream. Then on non-x86 archs we add nodejs from distribution and remove x86-64 binaries. Change-Id: Ia9feac726a60250215b1bc78bf90dc68ac6f956a
2020-04-14Merge "Upgrade Elasticsearch and Kibana to 6.x"Zuul1-2/+2
2020-04-09Merge "Follow up on RabbitMQ 3.8 upgrade"Zuul1-1/+0
2020-04-09Upgrade Elasticsearch and Kibana to 6.xSylvain Baubeau1-2/+2
Start using oss tagged binaries. These binaries contain only features that are available under the Apache 2.0 license. Implements: blueprint elasticsearch-kibana-version-upgrade Co-authored-by: Dincer Celik <hello@dincercelik.com> Change-Id: I8b52b2630a72393bf4b9c7095fc67db6c36c27fa
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-06Follow up on RabbitMQ 3.8 upgradeDincer Celik1-1/+0
Change-Id: I2273430b60e7b259cb687e7ec5c9f0885b625e0d
2020-04-06Upgrade RabbitMQ to 3.8Dincer Celik1-0/+5
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-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-13kibana, nova-libvirt: handle it properly for non-x86Marcin Juszkiewicz1-0/+20
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-01-20Debian: ceph-osd wants smartmontools from backportsMarcin Juszkiewicz1-0/+5
Change-Id: Ibe82479d5225961758a96f763d9bb674731aab23
2020-01-15Debian: enable backports repoMarcin Juszkiewicz1-0/+4
We get Ceph 'nautilus' that way to be in sync with CentOS and Ubuntu. So far only ceph is taken from backports repo. Change-Id: I9d13ad8a6a610bcf000d3850b77af80d10d66ba7
2019-06-08Fix issues with Percona in Zuul and clean up a little bitRadosław Piliszek1-4/+0
Percona site has connectivity issues from OVH hosts (of Zuul). This patch makes it so that: - the internal repo is actually used - RPM GPG keys are downloaded from the actually used repo - Ubuntu mimics the RHEL behavior (i.e. the Percona repo is enabled only in the xtrabackup image) extra benefit: no need for APT preferences for Percona repo to spare MariaDB deps Change-Id: Id27831f6b404762f9e44fd6bd1c4702bf06b05f8 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>