]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: if in stretch mode, don't allow new mons to join without a location
authorGreg Farnum <gfarnum@redhat.com>
Fri, 19 Mar 2021 23:55:04 +0000 (23:55 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Mon, 3 May 2021 21:50:29 +0000 (21:50 +0000)
commit0c80ec26b8594a6304f97b1ce7c01d99656ee851
treed25db53082e2deb8ef6d1d04c962cada15023240
parent48466c2324416806cb5ebd8d57bf7e40dfd9eb1c
mon: if in stretch mode, don't allow new mons to join without a location

We blocked off the other routes to add location-less monitors, but if you
turn on a monitor with the right keys it can auto-join via the MMonJoin
functionality. Block that off!

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 6ca6c4bf94b13ea02badcc5d2ca71edc131987d9)
src/mon/MonmapMonitor.cc