]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: do not recommend pulling cephadm from git
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 14 Aug 2023 18:10:39 +0000 (14:10 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 14 Aug 2023 18:11:23 +0000 (14:11 -0400)
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 <jmulligan@redhat.com>
doc/install/get-packages.rst

index bf4739175e71b23adbe22bf6fcce587104165896..82654e5e4e2641018c6657065ca31d088ba6095f 100644 (file)
@@ -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::