From: Sage Weil Date: Fri, 31 May 2019 14:50:44 +0000 (-0500) Subject: qa/suites/rados/multimon: skew clocks 2s (< paxos lease) X-Git-Tag: v15.1.0~2546^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F28353%2Fhead;p=ceph.git qa/suites/rados/multimon: skew clocks 2s (< paxos lease) If the leader is the one with the accurate clock, it can still form quorum, but if the leader has the skewed clock, all other mons appear skewed from its perspective and no quorum is formed. This leads to intermittent failures, depending on the non-deterministic teuthology deployment order and how the mon IPs sort. Fix by reducing the skew. This is enough skew to trigger a warning, but not enough that it will break quorum. This ensures that the parts of the teuthology test that issue random mon commands won't fail (e.g., 'ceph osd dump'). Fixes: http://tracker.ceph.com/issues/40112 Signed-off-by: Sage Weil --- diff --git a/qa/suites/rados/multimon/tasks/mon_clock_with_skews.yaml b/qa/suites/rados/multimon/tasks/mon_clock_with_skews.yaml index 7567cd6a93ad..b834f9deff35 100644 --- a/qa/suites/rados/multimon/tasks/mon_clock_with_skews.yaml +++ b/qa/suites/rados/multimon/tasks/mon_clock_with_skews.yaml @@ -2,7 +2,7 @@ tasks: - install: - exec: mon.b: - - date -u -s @$(expr $(date -u +%s) + 10) + - date -u -s @$(expr $(date -u +%s) + 2) - ceph: wait-for-healthy: false log-whitelist: