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 <mikal@stillhq.com>
(cherry picked from commit 0fc73a644b)
This commit is contained in:
committed by
Michal Nasiadka
parent
b1ea365ae5
commit
57f438d693
@@ -285,7 +285,7 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
|
||||
|
||||
{% set base_apt_keys = [
|
||||
{'name': 'erlang-ppa', 'keyid': 'F77F1EDA57EBB1CC'},
|
||||
{'name': 'rabbitmq', 'keyid': '9F4587F226208342'},
|
||||
{'name': 'rabbitmq', 'keyid': '6B73A36E6026DFCA'},
|
||||
{'name': 'haproxy', 'keyid': 'CFFB779AADC995E4F350A060505D97A41C61B9CD'},
|
||||
] %}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ debian:
|
||||
component: ""
|
||||
gpg_key: "proxysql.asc"
|
||||
rabbitmq:
|
||||
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian"
|
||||
url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm"
|
||||
suite: "bookworm"
|
||||
component: "main"
|
||||
gpg_key: "rabbitmq.gpg"
|
||||
@@ -138,7 +138,7 @@ debian-aarch64:
|
||||
component: ""
|
||||
gpg_key: "proxysql.asc"
|
||||
rabbitmq:
|
||||
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian"
|
||||
url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm"
|
||||
suite: "bookworm"
|
||||
component: "main"
|
||||
# NOTE(mnasiadka): Since rabbitmq is really noarch and community mirror is not
|
||||
@@ -231,7 +231,7 @@ ubuntu:
|
||||
component: ""
|
||||
gpg_key: "proxysql.asc"
|
||||
rabbitmq:
|
||||
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/ubuntu"
|
||||
url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble"
|
||||
suite: "noble"
|
||||
component: "main"
|
||||
gpg_key: "rabbitmq.gpg"
|
||||
@@ -284,7 +284,7 @@ ubuntu-aarch64:
|
||||
component: ""
|
||||
gpg_key: "proxysql.asc"
|
||||
rabbitmq:
|
||||
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/ubuntu"
|
||||
url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble"
|
||||
suite: "noble"
|
||||
component: "main"
|
||||
arch: "amd64"
|
||||
|
||||
@@ -85,8 +85,8 @@ class MethodsTest(base.TestCase):
|
||||
'base_package_type': 'deb'
|
||||
}
|
||||
|
||||
result = methods.handle_repos(template_vars, ['rabbitmq'], 'enable')
|
||||
expectCmd = "RUN echo 'Uris: https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian' " # noqa: E501
|
||||
result = methods.handle_repos(template_vars, ["rabbitmq"], "enable")
|
||||
expectCmd = "RUN echo 'Uris: https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm' " # noqa: E501
|
||||
expectCmd += ">/etc/apt/sources.list.d/rabbitmq.sources && "
|
||||
expectCmd += "echo 'Components: main' "
|
||||
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources && "
|
||||
@@ -133,7 +133,7 @@ class MethodsTest(base.TestCase):
|
||||
expectCmd += ">>/etc/apt/sources.list.d/grafana.sources && "
|
||||
|
||||
expectCmd += "echo 'Uris: "
|
||||
expectCmd += "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/debian' " # noqa: E501
|
||||
expectCmd += "https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm' " # noqa: E501
|
||||
expectCmd += ">/etc/apt/sources.list.d/rabbitmq.sources && "
|
||||
expectCmd += "echo 'Components: main' "
|
||||
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources && "
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
`As announced in July 2025 <https://www.rabbitmq.com/blog/2025/07/16/debian-apt-repositories-are-moving>`__,
|
||||
the RabbitMQ project has changed the location and signing key for their Debian and
|
||||
Ubuntu packages. The repository configuration has been updated accordingly.
|
||||
`LP#2131736 <https://launchpad.net/bugs/2131736>`__
|
||||
Reference in New Issue
Block a user