]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mon: Add mds permissions to client.admin
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 27 Feb 2019 16:07:38 +0000 (11:07 -0500)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 27 Feb 2019 20:03:13 +0000 (20:03 +0000)
The administrator keyring needs full capabilities on mds like mon,
osd and mgr.
Whithout this, the client.admin key won't be able to run commands
against mds (like ceph tell mds.0 session ls)

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1672878
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit dd7b7604de62c49cc979adfc89b4b89c1b39ae6e)

roles/ceph-mon/tasks/deploy_monitors.yml

index d792db1b46d3f67469a081e539eab4ad35834d85..11facb3de049a53045975a8dab08578291861645 100644 (file)
@@ -53,7 +53,7 @@
     client_admin_ceph_authtool_cap:
       mon: allow *
       osd: allow *
-      mds: allow
+      mds: allow *
       mgr: allow *
   when:
     - cephx