]> git.apps.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)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 2 Oct 2020 17:55:45 +0000 (10:55 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mgr/MgrStandby.cc

index e72edd72d979d24a3ad2ba3f2f95cfe9713413cb..4c8334e4163444c4da002a558ddac68c9c3069ec 100644 (file)
@@ -386,6 +386,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();
   }