]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
task: mon_clock_skew_check.py: Check for clock skews on the monitors
authorJoao Eduardo Luis <jecluis@gmail.com>
Fri, 4 Jan 2013 18:16:58 +0000 (18:16 +0000)
committerJoao Eduardo Luis <jecluis@gmail.com>
Fri, 4 Jan 2013 18:16:58 +0000 (18:16 +0000)
commit620dd5511b5be36523fadda4080c57afca292ee1
treebf9f0e8c30ffd0bda69c62dedeb9d448757b6d07
parente88b909a1dc58a9286cfc1ec520256c7312a6c28
task: mon_clock_skew_check.py: Check for clock skews on the monitors

Will run for as long as teuthology runs. By default, fails if any clock
skews higher than 0.05 seconds are detected, but will only fail when the
teuthology run finishes and after reporting a list of all the detected
skews.

Accepted options:

 interval     amount of seconds to wait in-between checks. (default: 30.0)
 max-skew     maximum skew, in seconds, that is considered tolerable
              before issuing a warning. (default: 0.05)
 expect-skew  'true' or 'false', to indicate whether to expect a skew
              during the run or not. If 'true', the test will fail if no
              skew is found, and succeed if a skew is indeed found; if
              'false', it's the other way around. (default: false)
 never-fail   Don't fail the run if a skew is detected and we weren't
              expecting it, or if no skew is detected and we were
              expecting it. (default: False)

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
teuthology/task/mon_clock_skew_check.py [new file with mode: 0644]