]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: give osd mgr = 'allow profile osd'
authorSage Weil <sage@redhat.com>
Tue, 7 Mar 2017 20:35:17 +0000 (15:35 -0500)
committerSage Weil <sage@redhat.com>
Wed, 29 Mar 2017 15:39:25 +0000 (11:39 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/vstart.sh

index c029cda56023db32e72031c8af4b7dcc4169111a..93b192529cf935b5251b3af66c95b300cd1c104c 100755 (executable)
@@ -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