From c7ad02f8a78776ee5a648939611d253e503e86ce Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Fri, 4 Dec 2026 07:45:01 +0100 Subject: rabbitmq: Switch from launchpad ppa to rabbitmq.com repos Launchpad recently has become unreliable once again, switch to rabbitmq.com repos for deb (but keep erlang aarch64 from launchpad because rabbitmq.com does not host it). Add support to multiple repos in repos.yaml, just like rpm does today. Change-Id: Ica0df4ac3dd3a2c9f51bc21bd3c50b49f5175901 Signed-off-by: Michal Nasiadka --- kolla/template/methods.py | 4 +++- kolla/template/repos.yaml | 50 ++++++++++++++++++++++++++--------------------- 2 files changed, 31 insertions(+), 23 deletions(-) (limited to 'kolla/template') diff --git a/kolla/template/methods.py b/kolla/template/methods.py index f8d4ace22..d5f08c81b 100644 --- a/kolla/template/methods.py +++ b/kolla/template/methods.py @@ -314,11 +314,13 @@ def handle_repos(context, reponames, mode): suite = _repo['suite'].replace( '{openstack_release_codename}', openstack_release_codename.lower()) + # NOTE(mnasiadka): Support multiple urls + url = ' '.join(_repo['url'].splitlines()) commands += APT_REPO.format( component=_repo['component'], signed_by=signed_by, suite=suite, - url=_repo['url'], + url=url, repo=repo, ) if _repo.get('trusted'): diff --git a/kolla/template/repos.yaml b/kolla/template/repos.yaml index a957099ef..cec086d49 100644 --- a/kolla/template/repos.yaml +++ b/kolla/template/repos.yaml @@ -30,10 +30,12 @@ debian: debian-security: distro: True erlang: - url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" - suite: "noble" + url: | + https://deb1.rabbitmq.com/rabbitmq-erlang/debian/trixie + https://deb2.rabbitmq.com/rabbitmq-erlang/debian/trixie + suite: "trixie" component: "main" - gpg_key: "erlang-ppa.gpg" + gpg_key: "rabbitmq.gpg" docker-ce: url: "https://download.docker.com/linux/debian" suite: "trixie" @@ -56,20 +58,21 @@ debian: component: "" gpg_key: "proxysql.asc" rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/trixie/" + url: | + https://deb1.rabbitmq.com/rabbitmq-server/debian/trixie + https://deb2.rabbitmq.com/rabbitmq-server/debian/trixie suite: "trixie" component: "main" gpg_key: "rabbitmq.gpg" debian-aarch64: - rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/trixie" - suite: "trixie" + # NOTE(mnasiadka): deb1/deb2.rabbitmq.com do not provide arm64 Erlang + # builds - use the Launchpad PPA instead. + erlang: + url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" + suite: "noble" component: "main" - # NOTE(mnasiadka): Since rabbitmq is really noarch and community mirror is not - # syncing binary-aarch64 - we're using amd64 here. - arch: "amd64" - gpg_key: "rabbitmq.gpg" + gpg_key: "erlang-ppa.gpg" ubuntu: ubuntu: @@ -87,10 +90,12 @@ ubuntu: component: "main" gpg_key: "ceph.asc" erlang: - url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" + url: | + https://deb1.rabbitmq.com/rabbitmq-erlang/ubuntu/noble + https://deb2.rabbitmq.com/rabbitmq-erlang/ubuntu/noble suite: "noble" component: "main" - gpg_key: "erlang-ppa.gpg" + gpg_key: "rabbitmq.gpg" docker-ce: url: "https://download.docker.com/linux/ubuntu" suite: "noble" @@ -112,24 +117,25 @@ ubuntu: component: "" gpg_key: "proxysql.asc" rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble" + url: | + https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble + https://deb2.rabbitmq.com/rabbitmq-server/ubuntu/noble suite: "noble" component: "main" gpg_key: "rabbitmq.gpg" ubuntu-aarch64: + # NOTE(mnasiadka): deb1/deb2.rabbitmq.com do not provide arm64 Erlang + # builds - use the Launchpad PPA instead. + erlang: + url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" + suite: "noble" + component: "main" + gpg_key: "erlang-ppa.gpg" ubuntu: distro: True ubuntu-security: distro: True - rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble" - suite: "noble" - component: "main" - # NOTE(mnasiadka): Since rabbitmq is really noarch and community mirror is not - # syncing binary-aarch64 - we're using amd64 here. - arch: "amd64" - gpg_key: "rabbitmq.gpg" rpm: ceph: -- cgit v1.2.3