From fadeabe1af2eda9cbb9a9a5ed02bc7f2ec19eb46 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 16 Feb 2018 17:53:57 +0100 Subject: [PATCH] Also include mgr capabilities when bootstrapping keyring --- ceph-keyring-create-initial | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ceph-keyring-create-initial b/ceph-keyring-create-initial index c64b8f5..cf81d3d 100755 --- a/ceph-keyring-create-initial +++ b/ceph-keyring-create-initial @@ -10,4 +10,9 @@ fi fname=$1 ceph-authtool --create-keyring "$fname" --gen-key -n mon. -ceph-authtool "$fname" --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' +ceph-authtool "$fname" --gen-key -n client.admin \ + --set-uid=0 \ + --cap mon 'allow *' \ + --cap osd 'allow *' \ + --cap mgr 'allow *' \ + --cap mds 'allow'