]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: let users specify a crush location on boot, and send it in MMonJoin
authorGreg Farnum <gfarnum@redhat.com>
Mon, 29 Mar 2021 23:06:53 +0000 (23:06 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Mon, 3 May 2021 21:53:31 +0000 (21:53 +0000)
commitc3eb38a36c0c45cef90767e221fcd53eebe27be9
treeaf931f63f7773a703b86f11eaad99e9773f22366
parent1c3a8e8cbd11e46658cc63e78f77ccf34e1f3c58
mon: let users specify a crush location on boot, and send it in MMonJoin

Go to some effort to look at our location in the monmap and update it the
same way we update names or IP addresses when necessary. Let users
pass in the location on the CLI via "--set-crush-location".

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 48886aa12a351919d8165d449c2fb72a896fc589)
src/ceph_mon.cc
src/mon/Monitor.cc
src/mon/Monitor.h