Skip to content

Commit b0517b3

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

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
@@ -356,8 +356,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
356356
{# 901F9177AB97ACBE -- Treasure Data, Inc (Treasure Agent Official Signing key) <[email protected]> #}
357357
{# A20F259AEB9C94BB -- Sensuapp (Freight) <[email protected]> #}
358358
{# F1656F24C74CD1D8 -- MariaDB Signing Key <[email protected]> #}
359-
{# F77F1EDA57EBB1CC -- Launchpad RabbitMQ Erlang PPA key #}
360-
{# F6609E60DC62814E -- PackageCloud RabbitMQ repository key #}
359+
{# E495BB49CC4BBE5B -- Cloudsmith RabbitMQ Erlang repository key #}
360+
{# 9F4587F226208342 -- Cloudsmith RabbitMQ repository key #}
361361
{% set base_apt_keys = [
362362
'391A9AA2147192839E9DB0315EDB1B62EC4926EA',
363363
'46095ACC8548582C1A2699A9D27D666CD88E42B4',
@@ -367,8 +367,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
367367
'901F9177AB97ACBE',
368368
'A20F259AEB9C94BB',
369369
'F1656F24C74CD1D8',
370-
'F77F1EDA57EBB1CC',
371-
'F6609E60DC62814E',
370+
'E495BB49CC4BBE5B',
371+
'9F4587F226208342',
372372
] %}
373373
{% set base_remote_apt_keys = [
374374
'https://packages.grafana.com/gpg.key',
@@ -378,8 +378,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
378378
{% set base_apt_keys = [
379379
'46095ACC8548582C1A2699A9D27D666CD88E42B4',
380380
'F1656F24C74CD1D8',
381-
'F77F1EDA57EBB1CC',
382-
'F6609E60DC62814E',
381+
'E495BB49CC4BBE5B',
382+
'9F4587F226208342',
383383
] %}
384384
{% set base_remote_apt_keys = [
385385
'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
@@ -57,51 +57,50 @@ rhel:
5757
opstools: "centos-opstools"
5858
rabbitmq: "centos-rabbitmq-38"
5959

60-
# NOTE(mnasiadka): Erlang repo - Debian Buster/Bullseye needs to use bionic as per RabbitMQ docs
6160
debian:
6261
elasticsearch: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
63-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu bionic main"
62+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian bullseye main"
6463
grafana: "deb https://packages.grafana.com/oss/deb stable main"
6564
influxdb: "deb https://repos.influxdata.com/debian bullseye stable"
6665
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
6766
kibana: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
6867
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian bullseye main"
69-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/debian/ bullseye main"
68+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian bullseye main"
7069
td-agent: "deb http://packages.treasuredata.com/4/debian/bullseye bullseye contrib"
7170

7271
debian-aarch64:
7372
elasticsearch: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
74-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu bionic main"
73+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian bullseye main"
7574
grafana: "deb https://packages.grafana.com/oss/deb stable main"
7675
influxdb: "deb https://repos.influxdata.com/debian bullseye stable"
7776
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
7877
kibana: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
7978
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian bullseye main"
80-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/debian/ bullseye main"
79+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian bullseye main"
8180
td-agent: "deb http://packages.treasuredata.com/4/debian/bullseye bullseye contrib"
8281

8382
ubuntu:
8483
elasticsearch: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
85-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu focal main"
84+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main"
8685
grafana: "deb https://packages.grafana.com/oss/deb stable main"
8786
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
8887
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
8988
kibana: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
9089
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
9190
qdrouterd: "deb http://ppa.launchpad.net/qpid/released/ubuntu/ focal main"
92-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
91+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
9392
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
9493

9594
ubuntu-aarch64:
9695
elasticsearch: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
97-
erlang: "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu focal main"
96+
erlang: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main"
9897
grafana: "deb https://packages.grafana.com/oss/deb stable main"
9998
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
10099
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
101100
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
102-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
101+
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
103102
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
104103

105104
ubuntu-ppc64le:
106105
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
107-
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
106+
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)