]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: Fix quorum restore process in troubleshooting.rst
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Mon, 23 Oct 2023 07:27:57 +0000 (14:27 +0700)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2023 07:27:57 +0000 (14:27 +0700)
The quorum restoring process as listed does
not currently work: cephadm enter will not
work if the mon container is first stopped.

Fix the process by using cephadm shell and
pass the monfs manually as a volume.

Also fix a typo "form" to "form" and remove
a double newline for consistency.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
doc/cephadm/troubleshooting.rst

index 5ec692881661a76721fcd259ef63296d704f6f10..d9735ee420b1803b1da469187f05a4332221371a 100644 (file)
@@ -280,20 +280,22 @@ If the Ceph monitor daemons (mons) cannot form a quorum, cephadm will not be
 able to manage the cluster until quorum is restored.
 
 In order to restore the quorum, remove unhealthy monitors
-form the monmap by following these steps:
+from the monmap by following these steps:
 
 1. Stop all mons. For each mon host::
 
     ssh {mon-host}
     cephadm unit --name mon.`hostname` stop
 
-
 2. Identify a surviving monitor and log in to that host::
 
     ssh {mon-host}
-    cephadm enter --name mon.`hostname`
 
-3. Follow the steps in :ref:`rados-mon-remove-from-unhealthy`
+3. Start an interactive container and mount the surviving monitor data directory as a volume for it::
+
+    cephadm shell -v /var/lib/ceph/{fsid}/mon.{mon-host}:/var/lib/ceph/mon/ceph-{mon-host}:z
+
+4. Follow the steps in :ref:`rados-mon-remove-from-unhealthy` starting from step 3 ("extracing a copy of the monmap")
 
 .. _cephadm-manually-deploy-mgr: