]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Use clock by default (instead of clock.check)
authorDan Mick <dan.mick@redhat.com>
Fri, 13 Jan 2017 22:49:05 +0000 (14:49 -0800)
committerDan Mick <dan.mick@redhat.com>
Tue, 17 Jan 2017 00:25:26 +0000 (16:25 -0800)
We're seeing clocks desynchronized.  My theory is that this might
be because ntp can take five minutes or more to actually sync the
clocks, and clock.check doesn't do any setting of the clocks, just
reporting.  clock, OTOH, stops ntpd and does an ntpdate, and then
restarts ntpd, which should kickstart it with a much-closer-to-correct
time.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/run.py

index 35070182b6a011a0a0898485b1081e4735e0d242..4782efda2c16aac7350f787e5e664bf6fde4fe4c 100644 (file)
@@ -234,7 +234,7 @@ def get_initial_tasks(lock, config, machine_type):
             {'pcp': None},
             {'selinux': None},
             {'ansible.cephlab': None},
-            {'clock.check': None}
+            {'clock': None}
         ])
 
     return init_tasks