]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: adjust client.rbd-mirror-peer mon cap 43047/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 3 Sep 2021 14:45:26 +0000 (16:45 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 3 Sep 2021 16:17:47 +0000 (18:17 +0200)
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 <idryomov@gmail.com>
doc/rbd/rbd-mirroring.rst

index ab78d53466e5467d789e028165abb8ab02b59fb2..575d0648d6a4d5e496cccb22cc968ae7bb28bbe8 100644 (file)
@@ -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.