]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/suites/rados/multimon: skew clocks 2s (< paxos lease) 28353/head
authorSage Weil <sage@redhat.com>
Fri, 31 May 2019 14:50:44 +0000 (09:50 -0500)
committerSage Weil <sage@redhat.com>
Mon, 3 Jun 2019 15:49:02 +0000 (10:49 -0500)
commitfd00136eb3b181ca34937fc7ea99427338ae6069
treef59002ca2c63cdb1fc74a30c8dffa1a9393b3b91
parent8d137b9345afd7e77f788e7142ff28a7f422c4f9
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 <sage@redhat.com>
qa/suites/rados/multimon/tasks/mon_clock_with_skews.yaml