From: Patrick Donnelly Date: Fri, 2 Oct 2020 17:55:45 +0000 (-0700) Subject: mgr: log reason for respawn X-Git-Tag: v14.2.17~16^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6a2e9622db6b043d0bdc629ddec8d83f98d920e8;p=ceph.git mgr: log reason for respawn Signed-off-by: Patrick Donnelly (cherry picked from commit b835b07bc3c2936169dc3e6a212a2e29885246f7) --- diff --git a/src/mgr/MgrStandby.cc b/src/mgr/MgrStandby.cc index baf7cac48919e..9da7a196d1270 100644 --- a/src/mgr/MgrStandby.cc +++ b/src/mgr/MgrStandby.cc @@ -390,6 +390,7 @@ void MgrStandby::handle_mgr_map(MMgrMap* mmap) // this MgrMap is changing its set of enabled modules bool need_respawn = py_module_registry.handle_mgr_map(map); if (need_respawn) { + dout(1) << "respawning because set of enabled modules changed!" << dendl; respawn(); }