Skip to content

Commit ad72543

Browse files
committed
Fix Ubuntu image builds
Regarding rabbitmq and erlang. Change-Id: I6bc8b489a810849744c8bead6b9e350c5d3e36b7 (cherry picked from commit 240b3cf)
1 parent b716b5a commit ad72543

File tree

3 files changed

+25
-16
lines changed

3 files changed

+25
-16
lines changed

docker/base/Dockerfile.j2

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
351351
{# 901F9177AB97ACBE -- Treasure Data, Inc (Treasure Agent Official Signing key) <[email protected]> #}
352352
{# A20F259AEB9C94BB -- Sensuapp (Freight) <[email protected]> #}
353353
{# F1656F24C74CD1D8 -- MariaDB Signing Key <[email protected]> #}
354-
{# F77F1EDA57EBB1CC -- Launchpad RabbitMQ Erlang PPA key #}
355-
{# F6609E60DC62814E -- PackageCloud RabbitMQ repository key #}
354+
{# E495BB49CC4BBE5B -- Cloudsmith RabbitMQ Erlang repository key #}
355+
{# 9F4587F226208342 -- Cloudsmith RabbitMQ repository key #}
356356
{% set base_apt_keys = [
357357
'391A9AA2147192839E9DB0315EDB1B62EC4926EA',
358358
'46095ACC8548582C1A2699A9D27D666CD88E42B4',
@@ -362,8 +362,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
362362
'901F9177AB97ACBE',
363363
'A20F259AEB9C94BB',
364364
'F1656F24C74CD1D8',
365-
'F77F1EDA57EBB1CC',
366-
'F6609E60DC62814E',
365+
'E495BB49CC4BBE5B',
366+
'9F4587F226208342',
367367
] %}
368368
{% set base_remote_apt_keys = [
369369
'https://packages.grafana.com/gpg.key',
@@ -373,8 +373,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
373373
{% set base_apt_keys = [
374374
'46095ACC8548582C1A2699A9D27D666CD88E42B4',
375375
'F1656F24C74CD1D8',
376-
'F77F1EDA57EBB1CC',
377-
'F6609E60DC62814E',
376+
'E495BB49CC4BBE5B',
377+
'9F4587F226208342',
378378
] %}
379379
{% set base_remote_apt_keys = [
380380
'https://download.docker.com/linux/debian/gpg',

kolla/template/repos.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,52 +47,51 @@ rhel:
4747
opstools: "centos-opstools"
4848
rabbitmq: "centos-rabbitmq-38"
4949

50-
# NOTE(mnasiadka): Erlang repo - Debian Buster/Bullseye needs to use bionic as per RabbitMQ docs
5150
debian:
5251
elasticsearch: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
53-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu bionic main"
52+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian buster main"
5453
grafana: "deb https://packages.grafana.com/oss/deb stable main"
5554
influxdb: "deb https://repos.influxdata.com/debian buster stable"
5655
logstash: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
5756
kibana: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
5857
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/debian buster main"
59-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/debian/ buster main"
58+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian buster main"
6059
td-agent: "deb http://packages.treasuredata.com/4/debian/buster buster contrib"
6160

6261
debian-aarch64:
6362
elasticsearch: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
64-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu bionic main"
63+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian buster main"
6564
grafana: "deb https://packages.grafana.com/oss/deb stable main"
6665
influxdb: "deb https://repos.influxdata.com/debian buster stable"
6766
logstash: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
6867
kibana: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
6968
libvirt: "deb https://obs.linaro.org/repos/home:/marcin.juszkiewicz/debian-buster ./"
7069
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/debian buster main"
71-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/debian/ buster main"
70+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian buster main"
7271
td-agent: "deb http://packages.treasuredata.com/4/debian/buster buster contrib"
7372

7473
ubuntu:
7574
elasticsearch: "deb https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
76-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu focal main"
75+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main"
7776
grafana: "deb https://packages.grafana.com/oss/deb stable main"
7877
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
7978
logstash: "deb https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
8079
kibana: "deb https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
8180
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
8281
qdrouterd: "deb http://ppa.launchpad.net/qpid/released/ubuntu/ focal main"
83-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
82+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
8483
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
8584

8685
ubuntu-aarch64:
8786
elasticsearch: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
88-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu focal main"
87+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main"
8988
grafana: "deb https://packages.grafana.com/oss/deb stable main"
9089
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
9190
logstash: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-6.x/apt stable main"
9291
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu bionic main"
93-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
92+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
9493
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
9594

9695
ubuntu-ppc64le:
9796
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
98-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
97+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes the Debian and Ubuntu images to use rabbitmq and erlang from
5+
cloudsmith so that the images are still buildable and use proper versions.
6+
upgrade:
7+
- |
8+
The Debian and Ubuntu images use rabbitmq and erlang from cloudsmith now.
9+
Operators might want to mirror/proxy this new source as it provides the
10+
correct set of packages unlike the previous combination.

0 commit comments

Comments
 (0)