From 256e6a2bbc5b1b07e196253f57216d4da23a214a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 22 Jun 2011 14:14:49 -0700 Subject: [PATCH] tasks/clock: tolerate ntp daemon --- teuthology/task/clock.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/teuthology/task/clock.py b/teuthology/task/clock.py index e7df8b6e34077..e9e3e2e27f102 100644 --- a/teuthology/task/clock.py +++ b/teuthology/task/clock.py @@ -34,11 +34,19 @@ def task(ctx, config): ctx.cluster.run( args=[ + 'sudo', + 'service', 'ntp', 'stop', + run.Raw(';'), 'sudo', 'ntpdate', 'clock1.dreamhost.com', 'clock2.dreamhost.com', 'clock3.dreamhost.com', + run.Raw(';'), + 'sudo', + 'service', 'ntp', 'start', + run.Raw('||'), + 'true' ], ) -- 2.39.5