From 336e8022b599782b6b928ccae866dec003a8efa4 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Mon, 14 Aug 2023 14:10:39 -0400 Subject: [PATCH] doc: do not recommend pulling cephadm from git First off, these instructions are wrong because the file has been renamed to cephadm.py, and will not succeed as written. Amusingly, due to curl's default behavior (and my lack of access to a time machine) the initial command will seem to have succeeded until the user discovers that HTML delivered as part of the body of a 404 response is not an executable script. Furthermore, in preparation for Reef we updated the documentation in the cephadm subsection to use the results of a build, rather than source files, because reef now contains a "compiled" cephadm. Currently, the contents of the compilation is essentially the same-old cephadm script but that will no longer be the case in the very near future (see 7c6a2cad96405616719b85c740aabd98558c93ac). We missed this general section of the Ceph docs that repeats the instructions to copy a raw python file out of the Ceph tree on GitHub. Update the section to contain a simplified version of the instruction found in doc/cephadm/install.rst. Signed-off-by: John Mulligan --- doc/install/get-packages.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install/get-packages.rst b/doc/install/get-packages.rst index bf4739175e7..82654e5e4e2 100644 --- a/doc/install/get-packages.rst +++ b/doc/install/get-packages.rst @@ -30,7 +30,7 @@ Install packages with cephadm .. prompt:: bash $ :substitutions: - curl --silent --remote-name --location https://github.com/ceph/ceph/raw/|stable-release|/src/cephadm/cephadm + curl --silent --remote-name --location https://download.ceph.com/rpm-|stable-release|/el9/noarch/cephadm chmod +x cephadm #. Configure the Ceph repository based on the release name:: -- 2.39.5