Skip to content

Commit 240b3cf

Browse files
committed
Fix Ubuntu image builds
Regarding rabbitmq and erlang. Change-Id: I6bc8b489a810849744c8bead6b9e350c5d3e36b7
1 parent 744f377 commit 240b3cf

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

docker/base/Dockerfile.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
312312
] %}
313313

314314
{% set base_apt_keys = [
315-
{'name': 'erlang', 'keyid': 'F77F1EDA57EBB1CC'},
316-
{'name': 'rabbitmq', 'keyid': 'F6609E60DC62814E'},
315+
{'name': 'erlang', 'keyid': 'E495BB49CC4BBE5B'},
316+
{'name': 'rabbitmq', 'keyid': '9F4587F226208342'},
317317
{'name': 'haproxy', 'keyid': 'CFFB779AADC995E4F350A060505D97A41C61B9CD'},
318318
] %}
319319

kolla/template/repos.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ debian:
4747
component: "main"
4848
gpg_key: "elasticsearch.asc"
4949
erlang:
50-
# NOTE(mnasiadka): Erlang repo - Debian Buster/Bullseye needs to use bionic as per RabbitMQ docs
51-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
52-
suite: "bionic"
50+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian"
51+
suite: "bullseye"
5352
component: "main"
5453
gpg_key: "erlang.gpg"
5554
grafana:
@@ -78,7 +77,7 @@ debian:
7877
component: "main"
7978
gpg_key: "mariadb.gpg"
8079
rabbitmq:
81-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/debian/"
80+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian"
8281
suite: "bullseye"
8382
component: "main"
8483
gpg_key: "rabbitmq.gpg"
@@ -100,9 +99,8 @@ debian-aarch64:
10099
component: "main"
101100
gpg_key: "elasticsearch.asc"
102101
erlang:
103-
# NOTE(mnasiadka): Erlang repo - Debian Buster/Bullseye needs to use bionic as per RabbitMQ docs
104-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
105-
suite: "bionic"
102+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian"
103+
suite: "bullseye"
106104
component: "main"
107105
gpg_key: "erlang.gpg"
108106
grafana:
@@ -131,7 +129,7 @@ debian-aarch64:
131129
component: "main"
132130
gpg_key: "mariadb.gpg"
133131
rabbitmq:
134-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/debian/"
132+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian"
135133
suite: "bullseye"
136134
component: "main"
137135
gpg_key: "rabbitmq.gpg"
@@ -153,7 +151,7 @@ ubuntu:
153151
component: "main"
154152
gpg_key: "elasticsearch.asc"
155153
erlang:
156-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
154+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu"
157155
suite: "focal"
158156
component: "main"
159157
gpg_key: "erlang.gpg"
@@ -188,7 +186,7 @@ ubuntu:
188186
component: "main"
189187
gpg_key: "mariadb.gpg"
190188
rabbitmq:
191-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/"
189+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu"
192190
suite: "focal"
193191
component: "main"
194192
gpg_key: "rabbitmq.gpg"
@@ -210,7 +208,7 @@ ubuntu-aarch64:
210208
component: "main"
211209
gpg_key: "elasticsearch.asc"
212210
erlang:
213-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
211+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu"
214212
suite: "focal"
215213
component: "main"
216214
gpg_key: "erlang.gpg"
@@ -240,7 +238,7 @@ ubuntu-aarch64:
240238
component: "main"
241239
gpg_key: "mariadb.gpg"
242240
rabbitmq:
243-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/"
241+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu"
244242
suite: "focal"
245243
component: "main"
246244
gpg_key: "rabbitmq.gpg"
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)