]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: log reason for respawn
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 2 Oct 2020 17:55:45 +0000 (10:55 -0700)
committerNathan Cutler <ncutler@suse.com>
Thu, 3 Dec 2020 11:41:15 +0000 (12:41 +0100)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit b835b07bc3c2936169dc3e6a212a2e29885246f7)

src/mgr/MgrStandby.cc

index 770a75d4dc21379865a1c8c2770b5343914cc1f7..8a665376f2ff89fdfd1be368842c7695161b8f13 100644 (file)
@@ -384,6 +384,7 @@ void MgrStandby::handle_mgr_map(ref_t<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();
   }