]> 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>
Thu, 25 Feb 2021 20:08:34 +0000 (12:08 -0800)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit b835b07bc3c2936169dc3e6a212a2e29885246f7)

src/mgr/MgrStandby.cc

index baf7cac48919ec1ff5cd8d2cfe75f8e947d9f77f..9da7a196d12703be86442dbbcc8f703c1ab3e904 100644 (file)
@@ -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();
   }