]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/ops: add caps restore command 64306/head
authorZac Dover <zac.dover@proton.me>
Wed, 2 Jul 2025 12:29:48 +0000 (22:29 +1000)
committerZac Dover <zac.dover@proton.me>
Wed, 2 Jul 2025 12:34:34 +0000 (22:34 +1000)
Add a command that restores caps to client.admin after they have been
accidentally destroyed or removed.

Fixes: https://tracker.ceph.com/issues/23594
Signed-off-by: Zac Dover <zac.dover@proton.me>
doc/rados/operations/user-management.rst

index cd8e378fa9d2d9cc79ddaf4d3aeb7f71f889b3e1..6a0eae9b54b320719ee854f029a59efd535bbe37 100644 (file)
@@ -336,6 +336,17 @@ The following entries describe valid capability profiles:
               with the manager ``crash`` module to upload daemon crash
               dumps into monitor storage for later analysis.
 
+.. important:: If you run the command ``ceph auth caps client.admin mgr
+   'allow*'``, you will remove necessary capabilities from ``client.admin``. To
+   repair this, run a command of the following form from within the
+   ``/var/lib/ceph/mon/<monitor_name>`` directory:
+
+      .. prompt:: bash #
+
+         ceph -n mon. --keyring keyring auth caps client.admin mds 'allow *' osd 'allow *' mon 'allow *'
+
+
+
 Pool
 ----