Skip to content

Commit 6298c0e

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

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
@@ -322,8 +322,8 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
322322
] %}
323323

324324
{% set base_apt_keys = [
325-
{'name': 'erlang', 'keyid': 'F77F1EDA57EBB1CC'},
326-
{'name': 'rabbitmq', 'keyid': 'F6609E60DC62814E'},
325+
{'name': 'erlang', 'keyid': 'E495BB49CC4BBE5B'},
326+
{'name': 'rabbitmq', 'keyid': '9F4587F226208342'},
327327
{'name': 'haproxy', 'keyid': 'CFFB779AADC995E4F350A060505D97A41C61B9CD'},
328328
] %}
329329

kolla/template/repos.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ debian:
4949
component: "main"
5050
gpg_key: "elasticsearch.asc"
5151
erlang:
52-
# NOTE(mnasiadka): Erlang repo - Debian Buster/Bullseye needs to use bionic as per RabbitMQ docs
53-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
54-
suite: "bionic"
52+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian"
53+
suite: "bullseye"
5554
component: "main"
5655
gpg_key: "erlang.gpg"
5756
grafana:
@@ -80,7 +79,7 @@ debian:
8079
component: "main"
8180
gpg_key: "mariadb.gpg"
8281
rabbitmq:
83-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/debian/"
82+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian"
8483
suite: "bullseye"
8584
component: "main"
8685
gpg_key: "rabbitmq.gpg"
@@ -102,9 +101,8 @@ debian-aarch64:
102101
component: "main"
103102
gpg_key: "elasticsearch.asc"
104103
erlang:
105-
# NOTE(mnasiadka): Erlang repo - Debian Buster/Bullseye needs to use bionic as per RabbitMQ docs
106-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
107-
suite: "bionic"
104+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian"
105+
suite: "bullseye"
108106
component: "main"
109107
gpg_key: "erlang.gpg"
110108
grafana:
@@ -133,7 +131,7 @@ debian-aarch64:
133131
component: "main"
134132
gpg_key: "mariadb.gpg"
135133
rabbitmq:
136-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/debian/"
134+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian"
137135
suite: "bullseye"
138136
component: "main"
139137
gpg_key: "rabbitmq.gpg"
@@ -155,7 +153,7 @@ ubuntu:
155153
component: "main"
156154
gpg_key: "elasticsearch.asc"
157155
erlang:
158-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
156+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu"
159157
suite: "focal"
160158
component: "main"
161159
gpg_key: "erlang.gpg"
@@ -190,7 +188,7 @@ ubuntu:
190188
component: "main"
191189
gpg_key: "mariadb.gpg"
192190
rabbitmq:
193-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/"
191+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu"
194192
suite: "focal"
195193
component: "main"
196194
gpg_key: "rabbitmq.gpg"
@@ -212,7 +210,7 @@ ubuntu-aarch64:
212210
component: "main"
213211
gpg_key: "elasticsearch.asc"
214212
erlang:
215-
url: "http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu"
213+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu"
216214
suite: "focal"
217215
component: "main"
218216
gpg_key: "erlang.gpg"
@@ -242,7 +240,7 @@ ubuntu-aarch64:
242240
component: "main"
243241
gpg_key: "mariadb.gpg"
244242
rabbitmq:
245-
url: "https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/"
243+
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu"
246244
suite: "focal"
247245
component: "main"
248246
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)