Skip to content

Commit d9e8a1d

Browse files
phlogistonjohnzdover23
authored andcommitted
doc: make instructions to get an updated cephadm common
As discussed in person and over the ceph orch weekly, we want all users to use a recent supported version of cephadm. Previously, the instructions only had those downloading cephadm with curl using the "add-repo" and "install" commands to get a up-to-date cephadm build. According to ADK we've seen cases of users get "old" distro packages in the past. Change the instructions so that the "update cephadm" steps are common after acquiring a "bootstrap copy" of cephadm. Note: This commit is a cherry-pick of d7921e8, which was introduced by John Mulligan in ceph#48180. This is one of three commits introduced in that PR, and this cherry-pick cleans up omissions I (Zac Dover) inadvertently introduced while attempting to rectify the merge conflicts in ceph#51843. I expect that two more cherry-picked commits will follow this one. Signed-off-by: John Mulligan <[email protected]> (cherry picked from commit d7921e8)
1 parent a5483da commit d9e8a1d

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

doc/cephadm/install.rst

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -171,46 +171,6 @@ A successful ``which cephadm`` command will return this:
171171
172172
/usr/sbin/cephadm
173173
174-
* Although the standalone cephadm is sufficient to get a cluster started, it is
175-
convenient to have the ``cephadm`` command installed on the host. To install
176-
the packages that provide the ``cephadm`` command, run the following
177-
commands:
178-
179-
update cephadm
180-
--------------
181-
182-
The cephadm binary can be used to bootstrap a cluster and for a variety
183-
of other management and debugging tasks. The Ceph team strongly recommends
184-
using an actively supported version of cephadm. Additionally, although
185-
the standalone cephadm is sufficient to get a cluster started, it is
186-
convenient to have the ``cephadm`` command installed on the host. Older or LTS
187-
distros may also have ``cephadm`` packages that are out-of-date and
188-
running the commands below can help install a more recent version
189-
from the Ceph project's repositories.
190-
191-
To install the packages provided by the Ceph project that provide the
192-
``cephadm`` command, run the following commands:
193-
194-
.. prompt:: bash #
195-
:substitutions:
196-
197-
./cephadm add-repo --release |stable-release|
198-
./cephadm install
199-
200-
Confirm that ``cephadm`` is now in your PATH by running ``which`` or
201-
``command -v``:
202-
203-
.. prompt:: bash #
204-
205-
which cephadm
206-
207-
A successful ``which cephadm`` command will return this:
208-
209-
.. code-block:: bash
210-
211-
/usr/sbin/cephadm
212-
213-
214174
215175
Bootstrap a new cluster
216176
=======================

0 commit comments

Comments
 (0)