]> git-server-git.apps.pok.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, 22 Mar 2021 21:40:26 +0000 (21:40 +0000)
commit6ca6c4bf94b13ea02badcc5d2ca71edc131987d9
tree4fcf553841c693c47fe1d9401fecbc7dcf4235ad
parent1d5f4e879e50a537ef6db51f7e519a03ab586cd5
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>
src/mon/MonmapMonitor.cc