From 6a2e9622db6b043d0bdc629ddec8d83f98d920e8 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Fri, 2 Oct 2020 10:55:45 -0700 Subject: [PATCH] mgr: log reason for respawn Signed-off-by: Patrick Donnelly (cherry picked from commit b835b07bc3c2936169dc3e6a212a2e29885246f7) --- src/mgr/MgrStandby.cc | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.39.5