]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: skip shutdown and exit
authorSage Weil <sage@redhat.com>
Thu, 7 Mar 2019 17:22:27 +0000 (11:22 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Mar 2019 17:23:31 +0000 (11:23 -0600)
commit6146c85bb2bda46d9a9e99f3682ede78b1e06347
treef2c88f4b8ececd72468ac5f60bd6634d1f478997
parente030ba465def5b6d3a0d820b0de42e39caa6a983
mgr: skip shutdown and exit

The python subinterpreter teardown is broken; see
https://tracker.ceph.com/issues/38621

Instead, just exit with the appropriate error code.  That way we don't
crash and leave a core and ugly stack trace behind.

Users won't care, although our leak checking will.

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