]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: make 'mgr fail' work with no arguments 33997/head
authorSage Weil <sage@redhat.com>
Tue, 17 Mar 2020 02:05:21 +0000 (21:05 -0500)
committerSage Weil <sage@redhat.com>
Tue, 17 Mar 2020 02:05:21 +0000 (21:05 -0500)
commite86360ed5e2e5cabf5b33fe47fb2a31a683b6464
treeecfebb98163e8210f31e2af4bbb2c18ddb7c05b2
parent513f1c56d52c6c9671365ba11e8160b5647aa34c
mon/MgrMonitor: make 'mgr fail' work with no arguments

Fail the active mgr so you don't have to check ceph -s and cut&paste it or
do some jq shenanigans with 'mgr dump'.

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