]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: fix the procedure of recovery mon quorum using osd
authorSatoru Takeuchi <satoru.takeuchi@gmail.com>
Thu, 4 Feb 2021 05:37:27 +0000 (05:37 +0000)
committerSatoru Takeuchi <satoru.takeuchi@gmail.com>
Thu, 4 Feb 2021 06:09:06 +0000 (06:09 +0000)
`ceph-monstore-tool` expects mons names are sorted by ip adrress. However,
this is not always true after the following PR.

https://github.com/ceph/ceph/pull/22193

We can bypass this problem by using `--mon-ids` option.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
doc/rados/troubleshooting/troubleshooting-mon.rst

index 48e3483916c07b1c09b28e29b3e74c82b5443d0f..b185f4a3413a35d0f7a0e704c7a788453b425b12 100644 (file)
@@ -472,7 +472,10 @@ information stored in OSDs.::
   # deployed
   ceph-authtool /path/to/admin.keyring --add-key 'AQDN8kBe9PLWARAAZwxXMr+n85SBYbSlLcZnMA==' -n mgr.x \
     --cap mon 'allow profile mgr' --cap osd 'allow *' --cap mds 'allow *'
-  # if your monitors' ids are not single characters like 'a', 'b', 'c', please
+  # If your monitors' ids are not sorted by ip address, please specify them in order.
+  # For example. if mon 'a' is 10.0.0.3, mon 'b' is 10.0.0.2, and mon 'c' is  10.0.0.4,
+  # please passing "--mon-ids b a c".
+  # In addition, if your monitors' ids are not single characters like 'a', 'b', 'c', please
   # specify them in the command line by passing them as arguments of the "--mon-ids"
   # option. if you are not sure, please check your ceph.conf to see if there is any
   # sections named like '[mon.foo]'. don't pass the "--mon-ids" option, if you are