mirror of
https://github.com/ceph/ceph
synced 2025-01-11 13:41:02 +00:00
Fixed 'clock:' on Centos
ntpdc commands were formerly returning -127 on CentOS Signed-off-by: Warren Usui <warren.usui@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
fa1faa1f95
commit
4300f42689
@ -45,6 +45,7 @@ def task(ctx, config):
|
||||
'sudo',
|
||||
'service', 'ntp', 'start',
|
||||
run.Raw(';'),
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
@ -58,6 +59,7 @@ def task(ctx, config):
|
||||
for rem in ctx.cluster.remotes.iterkeys():
|
||||
rem.run(
|
||||
args=[
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
@ -70,6 +72,7 @@ def check(ctx, config):
|
||||
for rem in ctx.cluster.remotes.iterkeys():
|
||||
rem.run(
|
||||
args=[
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
@ -83,6 +86,7 @@ def check(ctx, config):
|
||||
for rem in ctx.cluster.remotes.iterkeys():
|
||||
rem.run(
|
||||
args=[
|
||||
'PATH=/usr/bin:/usr/sbin',
|
||||
'ntpdc', '-p',
|
||||
],
|
||||
logger=log.getChild(rem.name),
|
||||
|
Loading…
Reference in New Issue
Block a user