mirror of
https://github.com/ceph/ceph
synced 2025-02-19 00:47:49 +00:00
nuke: ignore ntpdate errors
We keep seeing a race between ntpd startup and our stop + ntpdate + start sequence. Ignore errors here.
This commit is contained in:
parent
6cf876733a
commit
a11b69fd4c
@ -218,6 +218,8 @@ def synch_clocks(remotes, log):
|
||||
'sudo', 'hwclock', '--systohc', '--utc',
|
||||
run.Raw('&&'),
|
||||
'sudo', 'service', 'ntp', 'start',
|
||||
run.Raw('||'),
|
||||
'true', # ignore errors; we may be racing with ntpd startup
|
||||
],
|
||||
wait=False,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user