From 19ba94c42e3030693077b9c364f979a751e193f7 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Mon, 24 Aug 2026 06:55:56 +0200 Subject: ceph: Upgrade to Umbrella Upgrade client libs to Umbrella and use download.ceph.com as unified package source. Change-Id: I3ea0c8f024a5e72463d3fcb7c8f1b54c91a121d0 Signed-off-by: Michal Nasiadka --- kolla/tests/test_methods.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'kolla/tests') diff --git a/kolla/tests/test_methods.py b/kolla/tests/test_methods.py index 9b5dd212a..c4a44706e 100644 --- a/kolla/tests/test_methods.py +++ b/kolla/tests/test_methods.py @@ -57,7 +57,20 @@ class MethodsTest(base.TestCase): } result = methods.handle_repos(template_vars, ["ceph"], "enable") - expectCmd = "RUN dnf config-manager --enable centos-ceph-squid || true" + expectCmd = "RUN grep -rlF '[centos-ceph-umbrella]' " + expectCmd += "/etc/yum.repos.d/ 2>/dev/null | xargs -r rm -f && " + expectCmd += "echo '[centos-ceph-umbrella]' " + expectCmd += ">/etc/yum.repos.d/ceph.repo && " + expectCmd += "echo 'name=centos-ceph-umbrella' " + expectCmd += ">>/etc/yum.repos.d/ceph.repo && " + expectCmd += "echo 'enabled=1' " + expectCmd += ">>/etc/yum.repos.d/ceph.repo && " + expectCmd += "echo 'gpgkey=https://download.ceph.com/keys/" + expectCmd += "release.gpg' " + expectCmd += ">>/etc/yum.repos.d/ceph.repo && " + expectCmd += "echo 'baseurl=https://download.ceph.com/" + expectCmd += "rpm-umbrella/el10/$basearch' " + expectCmd += ">>/etc/yum.repos.d/ceph.repo" self.assertEqual(expectCmd, result) def test_enable_repos_rocky_arch(self): -- cgit v1.2.3