The profile is required to establish a peer
connection, but was added after this got merged
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit
f95ded3f902d383c166dfde9bd178f5bc9563036)
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'],