Skip to content

Commit e4d3dfc

Browse files
mikalstillAlex-Welsh
authored andcommitted
Transition to the new rabbitmq Debian package archives.
RabbitMQ announced some time ago that the package archives were moving: https://www.rabbitmq.com/blog/2025/07/16/debian-apt-repositories-are-moving The old location is no longer working, so this patch transitions to the new one. Closes-Bug: #2131736 Change-Id: I6ef0ed9cc40be42a0d98c6a4c83c5c5c26d9cdbf Signed-off-by: Michael Still <[email protected]> (cherry picked from commit 0fc73a6)
1 parent 8aece4c commit e4d3dfc

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

docker/base/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
288288

289289
{% set base_apt_keys = [
290290
{'name': 'erlang-ppa', 'keyid': 'F77F1EDA57EBB1CC'},
291-
{'name': 'rabbitmq', 'keyid': '9F4587F226208342'},
291+
{'name': 'rabbitmq', 'keyid': '6B73A36E6026DFCA'},
292292
{'name': 'haproxy', 'keyid': 'CFFB779AADC995E4F350A060505D97A41C61B9CD'},
293293
] %}
294294

kolla/template/repos.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ debian:
9393
component: ""
9494
gpg_key: "proxysql.asc"
9595
rabbitmq:
96-
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian"
96+
url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm"
9797
suite: "bookworm"
9898
component: "main"
9999
gpg_key: "rabbitmq.gpg"
@@ -150,7 +150,7 @@ debian-aarch64:
150150
component: ""
151151
gpg_key: "proxysql.asc"
152152
rabbitmq:
153-
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian"
153+
url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm"
154154
suite: "bookworm"
155155
component: "main"
156156
# NOTE(mnasiadka): Since rabbitmq is really noarch and community mirror is not
@@ -250,7 +250,7 @@ ubuntu:
250250
component: ""
251251
gpg_key: "proxysql.asc"
252252
rabbitmq:
253-
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/ubuntu"
253+
url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble"
254254
suite: "noble"
255255
component: "main"
256256
gpg_key: "rabbitmq.gpg"
@@ -308,7 +308,7 @@ ubuntu-aarch64:
308308
component: ""
309309
gpg_key: "proxysql.asc"
310310
rabbitmq:
311-
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/ubuntu"
311+
url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble"
312312
suite: "noble"
313313
component: "main"
314314
arch: "amd64"

kolla/tests/test_methods.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def test_enable_repos_debian_arch(self):
8585
'base_package_type': 'deb'
8686
}
8787

88-
result = methods.handle_repos(template_vars, ['rabbitmq'], 'enable')
89-
expectCmd = "RUN echo 'Uris: https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian' " # noqa: E501
88+
result = methods.handle_repos(template_vars, ["rabbitmq"], "enable")
89+
expectCmd = "RUN echo 'Uris: https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm' " # noqa: E501
9090
expectCmd += ">/etc/apt/sources.list.d/rabbitmq.sources && "
9191
expectCmd += "echo 'Components: main' "
9292
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources && "
@@ -133,7 +133,7 @@ def test_enable_repos_debian_multiple(self):
133133
expectCmd += ">>/etc/apt/sources.list.d/grafana.sources && "
134134

135135
expectCmd += "echo 'Uris: "
136-
expectCmd += "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian' " # noqa: E501
136+
expectCmd += "https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm' " # noqa: E501
137137
expectCmd += ">/etc/apt/sources.list.d/rabbitmq.sources && "
138138
expectCmd += "echo 'Components: main' "
139139
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources && "
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
`As announced in July 2025 <https://www.rabbitmq.com/blog/2025/07/16/debian-apt-repositories-are-moving>`__,
5+
the RabbitMQ project has changed the location and signing key for their Debian and
6+
Ubuntu packages. The repository configuration has been updated accordingly.
7+
`LP#2131736 <https://launchpad.net/bugs/2131736>`__

0 commit comments

Comments
 (0)