From b40a33d208ffb1b053588cea93aa965566acb086 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 15 Jul 2021 15:17:23 -0500 Subject: [PATCH] mon: allow a MON_DOWN grace period after cluster mkfs During teuthology tests, the initial cluster bootstrap often starts up the mon sbut doesn't include all mons in the initial quorum, due to mon startup misalignment and random delays. Provide a short grace period where we will not raise a MON_DOWN alert even though the quorum is not complete. Fixes: https://tracker.ceph.com/issues/43584 Signed-off-by: Sage Weil (cherry picked from commit eee041f2f070b88b01d45c04624872681dd158be) Conflicts: src/common/options/mon.yaml.in In Pacific, options are in `src/common/options.cc`. --- src/common/options.cc | 5 +++++ src/mon/HealthMonitor.cc | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index 89731a5bbd779..b0239e24aa4d3 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5634,6 +5634,11 @@ std::vector