Skip to content

Commit

Permalink
daemon/demo: update mgr caps
Browse files Browse the repository at this point in the history
The mgr caps should have also mds and osd permissions

Fixes: https://tracker.ceph.com/issues/51974

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 0b4d6ed)
  • Loading branch information
dsavineau committed Aug 3, 2021
1 parent 4be0072 commit 4df644f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon/demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function bootstrap_rbd_mirror {
#######
function bootstrap_mgr {
mkdir -p "$MGR_PATH"
ceph "${CLI_OPTS[@]}" auth get-or-create mgr."$MGR_NAME" mon 'allow *' -o "$MGR_PATH"/keyring
ceph "${CLI_OPTS[@]}" auth get-or-create mgr."$MGR_NAME" mon 'allow profile mgr' mds 'allow *' osd 'allow *' -o "$MGR_PATH"/keyring
chown --verbose -R ceph. "$MGR_PATH"

# start ceph-mgr
Expand Down

0 comments on commit 4df644f

Please sign in to comment.