From: Ilya Dryomov Date: Fri, 3 Sep 2021 14:45:26 +0000 (+0200) Subject: doc: adjust client.rbd-mirror-peer mon cap X-Git-Tag: v17.1.0~948^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43047%2Fhead;p=ceph.git 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 --- 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.