From b3676720825fff77fca2af4b3e912c4fced7a064 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Fri, 3 Sep 2021 16:45:26 +0200 Subject: [PATCH] doc: adjust client.rbd-mirror-peer mon cap On top of "profile rbd" permissions, "profile rbd-mirror-peer" also allows getting rbd/mirror and setting rbd/mirror/peer/* config keys. This is what "rbd mirror pool peer bootstrap create" does. Fixes: https://tracker.ceph.com/issues/50970 Signed-off-by: Ilya Dryomov --- doc/rbd/rbd-mirroring.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rbd/rbd-mirroring.rst b/doc/rbd/rbd-mirroring.rst index ab78d53466e54..575d0648d6a4d 100644 --- a/doc/rbd/rbd-mirroring.rst +++ b/doc/rbd/rbd-mirroring.rst @@ -169,7 +169,7 @@ perform mirroring. A new local Ceph user should be created for the remote daemon to use. To `create a Ceph user`_, with ``ceph`` specify the ``auth get-or-create`` command, user name, monitor caps, and OSD caps:: - ceph auth get-or-create client.rbd-mirror-peer mon 'profile rbd' osd 'profile rbd' + $ ceph auth get-or-create client.rbd-mirror-peer mon 'profile rbd-mirror-peer' osd 'profile rbd' The resulting keyring should be copied to the other cluster's ``rbd-mirror`` daemon hosts if not using the Ceph monitor ``config-key`` store described below. -- 2.47.3