diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2021-04-21 19:41:45 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2021-04-26 20:01:28 +0200 |
| commit | e0f8cbc50cf7184930a501b0f5452a64f523cd6f (patch) | |
| tree | 1e8f1999a33fc5259eb4a249c16b6f8f4b222d45 /docker/base | |
| parent | af17cc180e40cc19fb08fb3186de43d5a6c7d83d (diff) | |
| download | kolla-e0f8cbc50cf7184930a501b0f5452a64f523cd6f.tar.gz kolla-e0f8cbc50cf7184930a501b0f5452a64f523cd6f.zip | |
move to Debian 'bullseye'
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
Diffstat (limited to 'docker/base')
| -rw-r--r-- | docker/base/Dockerfile.j2 | 14 | ||||
| -rw-r--r-- | docker/base/apt_preferences.debian | 47 | ||||
| -rw-r--r-- | docker/base/sources.list.debian | 31 |
3 files changed, 16 insertions, 76 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index fc55949ee..6c5d9df83 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -328,6 +328,18 @@ COPY sources.list /etc/apt/sources.list.d/kolla-custom.list {% block base_debian_after_sources_list %}{% endblock %} +{# install Debian Openstack repos - they are not mirrored on CI #} +{% if base_distro == 'debian' %} + +RUN apt update \ + && apt install -y --no-install-recommends extrepo \ + && extrepo enable openstack_wallaby \ + && apt purge -y extrepo \ + && apt --purge autoremove -y \ + && apt clean + +{% endif %} + {% block base_ubuntu_package_apt_preferences %} COPY apt_preferences.{{ base_distro }} /etc/apt/preferences COPY apt_preferences /etc/apt/preferences.d/kolla-custom @@ -383,10 +395,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom {% set remote_apt_keys = [ 'https://download.docker.com/linux/debian/gpg', 'https://packages.grafana.com/gpg.key', - 'http://buster-ussuri.debian.net/debian/dists/pubkey.gpg', 'https://packages.treasuredata.com/GPG-KEY-td-agent', 'https://repos.influxdata.com/influxdb.key', - 'https://obs.linaro.org/repos/home:/marcin.juszkiewicz/debian-buster/Release.key', ] %} {% endif %} diff --git a/docker/base/apt_preferences.debian b/docker/base/apt_preferences.debian index ef693a5d4..e3f7bb790 100644 --- a/docker/base/apt_preferences.debian +++ b/docker/base/apt_preferences.debian @@ -1,53 +1,8 @@ -# We want Ceph/nautilus -Package: ceph* libceph* librados* librbd* librgw* python3-ceph* python3-rados python3-rbd python3-rgw radosgw -Pin: version 14.* -Pin-Priority: 1000 - -# ceph-osd requires smartmontools from backports -Package: smartmontools -Pin: version 7.* -Pin-Priority: 1000 - Package: rabbitmq-server Pin: version 3.8.* Pin-Priority: 1000 -# We need erlang 22+ for rabbitmq (aarch64 has v23, x86-64 has v22 and v23 so we use v23) +# RabbitMQ wants 23+ and we want to stay on 23 if possible Package: erlang* Pin: version 1:23.* Pin-Priority: 1000 - -# We do not want packages from this repo -Package: * -Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster -Pin-Priority: 100 - -# We need libvirt 7.0.0 for nova -Package: *libvirt* -Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster -Pin-Priority: 600 - -# on ppc64le we lack libvirt 7.0.0 so let fail with Debian one -Package: *libvirt* -Pin: release o=Debian,b=ppc64le -Pin-Priority: 700 - -# ovn-host depends on openvswitch from buster -Package: openvswitch* -Pin: release n=buster -Pin-Priority: 700 - -# we want newer QEMU -Package: qemu* -Pin: version 1:5.* -Pin-Priority: 700 - -# QEMU depends on those -Package: libpmem1 libndctl6 libdaxctl1 pmdk-tools libpmemblk1 libpmemlog1 libpmemobj1 libpmempool1 liburing1 libfdt1 -Pin: release n=buster-backports -Pin-Priority: 700 - -# nova wants data in /usr/share/qemu/firmware -Package: qemu-efi-aarch64 -Pin: release n=buster-backports -Pin-Priority: 700 diff --git a/docker/base/sources.list.debian b/docker/base/sources.list.debian index d74f36c33..6b975b67c 100644 --- a/docker/base/sources.list.debian +++ b/docker/base/sources.list.debian @@ -1,33 +1,8 @@ # Default repos -deb http://deb.debian.org/debian buster main +deb http://deb.debian.org/debian bullseye main # debian security updates -deb http://security.debian.org/debian-security buster/updates main +deb http://deb.debian.org/debian-security bullseye-security main # debian backports -deb http://deb.debian.org/debian buster-backports main - -# Buster - Victoria repos -deb http://buster-victoria.debian.net/debian buster-victoria-backports main -deb http://buster-victoria.debian.net/debian buster-victoria-backports-nochange main - -# NOTE(hrw): repositories below are added into image when they are needed as -# separate files in /etc/apt/sources.list.d/ directory. For that purpose they -# are defined in kolla/repos.yaml file. -# -# Here they stay in case someone needs them. - -# elasticsearch (arch:all), logstash (arch:all), kibana (arch:amd64) -#deb [arch=amd64] https://artifacts.elastic.co/packages/5.x/apt stable main - -# Grafana repo -#deb https://packages.grafana.com/oss/deb stable main - -# td-agent for fluentd -#deb http://packages.treasuredata.com/3/debian/buster buster contrib - -# rabbitmq repo -#deb https://dl.bintray.com/rabbitmq/debian/ buster main - -# erlang repo -#deb https://dl.bintray.com/rabbitmq-erlang/debian/ buster erlang +deb http://deb.debian.org/debian bullseye-backports main |
