]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: define static mgr_commands at mkfs time
authorSage Weil <sage@redhat.com>
Tue, 18 Jul 2017 19:49:31 +0000 (15:49 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 19 Jul 2017 12:58:41 +0000 (08:58 -0400)
commitf4d50c8f1461ddd0104e41c53e447ff5adbf722f
tree9952cf1376425438908aaa60ebbe79d278f50ab8
parentc86c8b717e1850410c59f7c6c708b20619c60a6c
mon: define static mgr_commands at mkfs time

This closes a window between mkfs and when the first mgr goes active
where *no* mgr commands are defined, and things like 'pg dump' fail.  We
do not get the default set of commands defined by modules, but we get
everything else.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/CMakeLists.txt
src/mon/MgrMonitor.cc