mgr: log reason for respawn

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2020-10-02 10:55:45 -07:00
parent 3314844fb3
commit b835b07bc3
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View 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();
}