From 36f115d2cf42066ada3acd61f28c51dfbc4bccb8 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Tue, 12 Aug 2025 14:16:55 +0530 Subject: [PATCH] images/server: Fix ceph shaman base url parameters The parameters for the base shaman url that was used to determine the chacra repository link did not have `status=ready` resulting in invalid chacra urls as part of the json response. Make sure that we fetch with `status=ready` so as to create repo files with valid base url. Signed-off-by: Anoop C S --- images/server/install-packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/server/install-packages.sh b/images/server/install-packages.sh index e7604b1..bc6c562 100755 --- a/images/server/install-packages.sh +++ b/images/server/install-packages.sh @@ -92,7 +92,7 @@ get_ceph_shaman_repo() { ceph_ref="${CEPH_REPO_REF:-main}" ceph_sha="${CEPH_REPO_SHA:-latest}" ceph_arch=$( ([[ "$(arch)" = "aarch64" ]] && echo "arm64") || arch ) - url="https://shaman.ceph.com/api/search/?project=ceph&distros=${OS_BASE}/9/${ceph_arch}&flavor=default&ref=${ceph_ref}&sha1=${ceph_sha}" + url="https://shaman.ceph.com/api/search/?project=ceph&distros=${OS_BASE}/9/${ceph_arch}&flavor=default&ref=${ceph_ref}&sha1=${ceph_sha}&status=ready" generate_repo_from_shaman "${url}" "ceph-${ceph_ref}.repo" cat "/etc/yum.repos.d/ceph-${ceph_ref}.repo" }