From d1433e640812075609fd6ae253749b59fddf7be3 Mon Sep 17 00:00:00 2001 From: Goutham Pacha Ravi Date: Wed, 19 Jul 2023 12:47:37 -0700 Subject: [PATCH] Update location of cephadm script We don't need to get cephadm from the source tree. The ceph community publishes this binary on download.ceph.com [1] [1] https://docs.ceph.com/en/latest/cephadm/install/#curl-based-installation Change-Id: I9c1f46b15a03768aa92803e7c51522c3553b1595 Signed-off-by: Goutham Pacha Ravi --- devstack/lib/cephadm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devstack/lib/cephadm b/devstack/lib/cephadm index 8b5e685e..abe1633d 100755 --- a/devstack/lib/cephadm +++ b/devstack/lib/cephadm @@ -143,7 +143,10 @@ function install_deps { # Pre-install ceph: get cephadm binary function get_cephadm { - curl -O https://raw.githubusercontent.com/ceph/ceph/"$CEPH_RELEASE"/src/cephadm/cephadm + # NOTE(gouthamr): cephadm binary here is a python executable, and the + # $os_PACKAGE ("rpm") or $os_release (el9) doesn't really matter. There is + # no ubuntu/debian equivalent being published by the ceph community. + curl -O https://download.ceph.com/rpm-${CEPH_RELEASE}/el9/noarch/cephadm $SUDO mv cephadm $TARGET_BIN $SUDO chmod +x $TARGET_BIN/cephadm echo "[GET CEPHADM] cephadm is now available"