]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Use `cephfs-mirror` caps profile 41193/head
authorSebastian Wagner <sewagner@redhat.com>
Thu, 6 May 2021 08:58:36 +0000 (10:58 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 6 May 2021 08:58:36 +0000 (10:58 +0200)
The profile is required to establish a peer
connection, but was added after this got merged

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
src/pybind/mgr/cephadm/services/cephadmservice.py

index 12afdfbcd34637db0d6a11ed9123567cd7f4d591..ba19b1ecaf74d367f9a7729d653bc8a46c5424a6 100644 (file)
@@ -941,7 +941,7 @@ class CephfsMirrorService(CephService):
         ret, keyring, err = self.mgr.check_mon_command({
             'prefix': 'auth get-or-create',
             'entity': self.get_auth_entity(daemon_spec.daemon_id),
-            'caps': ['mon', 'allow r',
+            'caps': ['mon', 'profile cephfs-mirror',
                      'mds', 'allow r',
                      'osd', 'allow rw tag cephfs metadata=*, allow r tag cephfs data=*',
                      'mgr', 'allow r'],