From: Sage Weil Date: Thu, 15 Jul 2021 20:17:23 +0000 (-0500) Subject: mon: allow a MON_DOWN grace period after cluster mkfs X-Git-Tag: v16.2.11~119^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b40a33d208ffb1b053588cea93aa965566acb086;p=ceph.git 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`. --- diff --git a/src/common/options.cc b/src/common/options.cc index 89731a5bbd7..b0239e24aa4 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5634,6 +5634,11 @@ std::vector