]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: provide emergency mechanism to use mon keyring
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 29 May 2025 15:04:00 +0000 (11:04 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 22 Sep 2025 16:34:49 +0000 (12:34 -0400)
commit7b16fe3a6a73f3f0c69435b2ba9737b6911bbc8a
treef7cf002b652a422ac3d1e318222fb45fded3d18f
parent79a6d9d4efc73fe5a722248c62f2bc2fd40559ff
mon: provide emergency mechanism to use mon keyring

If they key is lost for the `mon.` credential, it's very inconvenient to get it
out of the "auth" database in the mon store. So, allow the operator to create a
new keyring for the mons and use it instead to get mons in quorum again.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 027609a59a77aae7dbdb0a854032e4a78e29eab5)
doc/man/8/ceph-mon.rst
src/ceph_mon.cc
src/mon/Monitor.cc
src/mon/Monitor.h