Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
demo: stop allowing insecure reconnections
Browse files Browse the repository at this point in the history
This set auth_allow_insecure_global_id_reclaim to false otherwise the
ceph status won't be OK:

health: HEALTH_WARN
        mon is allowing insecure global_id reclaim

Signed-off-by: Dimitri Savineau <[email protected]>
(cherry picked from commit 660f399)
  • Loading branch information
dsavineau committed Apr 21, 2021
1 parent 1f45e47 commit 6725ac6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/daemon/start_mon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ function start_mon {
if ! grep -qE "mon warn on pool no redundancy = false" /etc/ceph/"${CLUSTER}".conf; then
echo "mon warn on pool no redundancy = false" >> /etc/ceph/"${CLUSTER}".conf
fi
if ! grep -qE "auth allow insecure global id reclaim = false" /etc/ceph/"${CLUSTER}".conf; then
echo "auth allow insecure global id reclaim = false" >> /etc/ceph/"${CLUSTER}".conf
fi
fi
/usr/bin/ceph-mon "${DAEMON_OPTS[@]}" -i "${MON_NAME}" --mon-data "$MON_DATA_DIR" --public-addr "${MON_IP}"

Expand Down

0 comments on commit 6725ac6

Please sign in to comment.