Skip to content

Commit 53799e0

Browse files
anoopcs9mergify[bot]
authored andcommitted
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 <[email protected]>
1 parent 90587f0 commit 53799e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/server/install-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ get_ceph_shaman_repo() {
9292
ceph_ref="${CEPH_REPO_REF:-main}"
9393
ceph_sha="${CEPH_REPO_SHA:-latest}"
9494
ceph_arch=$( ([[ "$(arch)" = "aarch64" ]] && echo "arm64") || arch )
95-
url="https://shaman.ceph.com/api/search/?project=ceph&distros=${OS_BASE}/9/${ceph_arch}&flavor=default&ref=${ceph_ref}&sha1=${ceph_sha}"
95+
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"
9696
generate_repo_from_shaman "${url}" "ceph-${ceph_ref}.repo"
9797
cat "/etc/yum.repos.d/ceph-${ceph_ref}.repo"
9898
}

0 commit comments

Comments
 (0)