From 4c4977f42b7b298649f3c6917ef86f87f18c4182 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 7 Mar 2017 15:35:17 -0500 Subject: [PATCH] vstart.sh: give osd mgr = 'allow profile osd' Signed-off-by: Sage Weil --- src/vstart.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vstart.sh b/src/vstart.sh index c029cda5602..93b192529cf 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -574,7 +574,7 @@ EOF local key_fn=$CEPH_DEV_DIR/osd$osd/keyring echo adding osd$osd key to auth repository - ceph_adm -i "$key_fn" auth add osd.$osd osd "allow *" mon "allow profile osd" mgr "allow" + ceph_adm -i "$key_fn" auth add osd.$osd osd "allow *" mon "allow profile osd" mgr "allow profile osd" fi echo start osd$osd run 'osd' $SUDO $CEPH_BIN/ceph-osd -i $osd $ARGS $COSD_ARGS @@ -651,7 +651,7 @@ EOF prun $SUDO "$CEPH_BIN/ceph-authtool" --create-keyring --gen-key --name="mds.${name}s" \ "$CEPH_DEV_DIR/mds.${name}s/keyring" ceph_adm -i "$CEPH_DEV_DIR/mds.${name}s/keyring" auth add "mds.${name}s" \ - mon 'allow *' osd 'allow *' mds 'allow' mgr 'allow' + mon 'allow *' osd 'allow *' mds 'allow' mgr 'allow profile mds' fi fi -- 2.39.5