For early clusters, if there isn't an active manager, we eventually want
to trigger a health warning by rolling over the mgrmap epoch. We don't
want to do that if we have no active/available manager after that. Fix
by checking ever_had_active_mgr here.
Signed-off-by: Sage Weil <sage@redhat.com>
}
if (!pending_map.available &&
+ !ever_had_active_mgr &&
should_warn_about_mgr_down() != HEALTH_OK) {
dout(10) << " exceeded mon_mgr_mkfs_grace " << g_conf->mon_mgr_mkfs_grace
<< " seconds" << dendl;