]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: simply exit on SIGINT or SIGTERM 32051/head
authorSage Weil <sage@redhat.com>
Thu, 5 Dec 2019 23:18:07 +0000 (17:18 -0600)
committerSage Weil <sage@redhat.com>
Thu, 5 Dec 2019 23:18:07 +0000 (17:18 -0600)
commit3363a1001c7bb95763cdb7d8a9c2ebaff35a2cdd
tree809297a53ce524c97757edb11e433e27644690fc
parente8368d61bee26bbbc4fb5ee5b823885ad37dd494
mgr: simply exit on SIGINT or SIGTERM

The python modules don't reliable shut down.  We've fixed a few shutdown
bugs chasing https://tracker.ceph.com/issues/42744.

This was compounded by https://tracker.ceph.com/issues/42981, which seems
to suggest something in the python module teardown is screwing with the
signal handlers.

Now that df507cde8d71063d5873a42f668156e4c32e86f9 is there, the mgr will
blacklist all rados clients the mgr instantiates, which means we can just
exit immediately and let the blacklisting clean things up.

Works-around: https://tracker.ceph.com/issues/42981
Fixes: https://tracker.ceph.com/issues/42744
Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/Mgr.cc