]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: fix mgr caps for MDS daemons
authorJohn Spray <john.spray@redhat.com>
Wed, 5 Apr 2017 23:58:02 +0000 (19:58 -0400)
committerKefu Chai <kchai@redhat.com>
Sun, 30 Apr 2017 02:21:30 +0000 (10:21 +0800)
Signed-off-by: John Spray <john.spray@redhat.com>
src/vstart.sh

index 0a8c7620f5e411c87df781eba6b709d21afdedb9..442d96975d3ea4c68f73b447e1864cc772da5f04 100755 (executable)
@@ -657,7 +657,7 @@ EOF
 EOF
                fi
                prun $SUDO "$CEPH_BIN/ceph-authtool" --create-keyring --gen-key --name="mds.$name" "$key_fn"
-               ceph_adm -i "$key_fn" auth add "mds.$name" mon 'allow profile mds' osd 'allow *' mds 'allow' mgr 'allow'
+               ceph_adm -i "$key_fn" auth add "mds.$name" mon 'allow profile mds' osd 'allow *' mds 'allow' mgr 'allow profile mds'
                if [ "$standby" -eq 1 ]; then
                            prun $SUDO "$CEPH_BIN/ceph-authtool" --create-keyring --gen-key --name="mds.${name}s" \
                                     "$CEPH_DEV_DIR/mds.${name}s/keyring"