Ceph:检测到HEALTH_WARN时钟歪斜

我在Ceph节点上configuration了ntp,时间是同步的! 但是ceph状态总是显示时钟歪斜。

ceph health detail shows: mon.node2 aadr 192.168.56.102:6789/0 clock skew 7192.45s > max 0.05s (latency 0.0129368s) mon.node3 aadr 192.168.56.103:6789/0 clock skew 7192.46s > max 0.05s (latency 0.00915873s) 

如何强制Ceph更新状态? 在节点上的所有时间是相等的! 如果我在所有节点上执行date命令,那么它显示正确和相同的时间。 但是Ceph认为时间在7192.45s上是偏斜的!

这是我在/etc/ntp.conf节点上的configuration:

 driftfile /vat/lib/ntp/drift restrict 0.0.0.0 mask 0.0.0.0 server 0.ua.pool.ntp.org iburst server 1.ua.pool.ntp.org iburst server 2.ua.pool.ntp.org iburst server 3.ua.pool.ntp.org iburst includefile /etc/ntp/crypto/pw keys /etc/ntp/keys disable monitor 

这是我的/etc/rc.local节点上:

 touch /var/lock/subsys/local /sbin/iptables-restore < /etc/sysconfig/iptables /sbin/ntpd -gq /sbin/hwclock --systohc systemctl enable ntpd.service systemctl start ntpd.service 

systemctl status ntpd.service显示服务处于活动状态并正在运行。

另外一些奇怪的事情发生在ceph中,如果我把同行放在/etc/ntp.conf中。 Ceph变得不负责任, ceph -s什么也没有显示(冻结)。

请帮帮我。

我不知道为什么,但是这是因为ntpd-gq的命令而发生的。 这个命令从你在ntp.conf中写入的服务器更新你的数据时间,然后停止。
我不明白为什么ceph在这个命令后失败,但是当我改变它:

 ntpdate 0.ua.pool.ntp.org 

Ceph开始工作了。