From: John Spray Date: Mon, 31 Jul 2017 10:58:29 +0000 (+0100) Subject: doc: update client.admin key refs to "mds 'allow'" X-Git-Tag: v12.1.3~24^2~17^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16691%2Fhead;p=ceph.git doc: update client.admin key refs to "mds 'allow'" This is more correctly "mds 'allow *'". In the RADOS user management page, refer the user to the cephfs client auth docs, rather than attempting to explain MDS cap syntax inline. Signed-off-by: John Spray --- diff --git a/doc/install/manual-deployment.rst b/doc/install/manual-deployment.rst index bf5b77f58015a..2e8bb86729cd6 100644 --- a/doc/install/manual-deployment.rst +++ b/doc/install/manual-deployment.rst @@ -162,7 +162,7 @@ The procedure is as follows: #. Generate an administrator keyring, generate a ``client.admin`` user and add the user to the keyring. :: - sudo ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' --cap mgr 'allow *' + sudo ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *' #. Add the ``client.admin`` key to the ``ceph.mon.keyring``. :: diff --git a/doc/install/manual-freebsd-deployment.rst b/doc/install/manual-freebsd-deployment.rst index bb323e23aa03b..99386aef5db86 100644 --- a/doc/install/manual-freebsd-deployment.rst +++ b/doc/install/manual-freebsd-deployment.rst @@ -211,7 +211,7 @@ The procedure is as follows: #. Generate an administrator keyring, generate a ``client.admin`` user and add the user to the keyring. :: - sudo ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' --cap mgr 'allow *' + sudo ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *' #. Add the ``client.admin`` key to the ``ceph.mon.keyring``. :: diff --git a/doc/rados/operations/user-management.rst b/doc/rados/operations/user-management.rst index b224717d05788..d5f669711ed4c 100644 --- a/doc/rados/operations/user-management.rst +++ b/doc/rados/operations/user-management.rst @@ -113,10 +113,8 @@ Capability syntax follows the form:: osd 'allow {access} [pool={pool-name} [namespace={namespace-name}]]' osd 'profile {name} [pool={pool-name} [namespace={namespace-name}]]' -- **Metadata Server Caps:** Metadata server capability simply requires ``allow``, - or blank and does not parse anything further. :: - - mds 'allow' +- **Metadata Server Caps:** For administrators, use ``allow *``. For all + other users, such as CephFS clients, consult :doc:`/cephfs/client-auth` .. note:: The Ceph Object Gateway daemon (``radosgw``) is a client of the