Hi Dominique,

The clock skew warning shows up when your NTP daemon is not synced.

You can see the sync in the output of ntpq -p

This is a synced NTP

# ntpq -p
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
 ntp.unimelb.edu 210.9.192.50     2 u   24   64   17    0.496   -6.421
 0.181
*ntp2.unimelb.ed 202.6.131.118    2 u   26   64   17    0.613  -11.998
 0.250
 ntp41.frosteri. .INIT.          16 u    -   64    0    0.000    0.000
 0.000
 dns01.ntl02.pri .INIT.          16 u    -   64    0    0.000    0.000
 0.000
 cosima.470n.act .INIT.          16 u    -   64    0    0.000    0.000
 0.000
 x.ns.gin.ntt.ne .INIT.          16 u    -   64    0    0.000    0.000
 0.000

The *'s show that there is a sync with a NTP server. When you start or
restart ntp, it takes a while for a sync to occur

Here's immediately after restarting the ntp daemon

# ntpq -p
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
 ntp.unimelb.edu 210.9.192.50     2 u    -   64    1    0.496   -6.421
 0.000
 ntp2.unimelb.ed 202.6.131.118    2 u    -   64    1    0.474  -11.678
 0.000
 ntp41.frosteri. .INIT.          16 u    -   64    0    0.000    0.000
 0.000
 dns01.ntl02.pri .INIT.          16 u    -   64    0    0.000    0.000
 0.000
 cosima.470n.act .INIT.          16 u    -   64    0    0.000    0.000
 0.000
 x.ns.gin.ntt.ne .INIT.          16 u    -   64    0    0.000    0.000
 0.000

Make sure that nothing is regularly restarting ntpd. For us, we had puppet
and dhcp regularly fight over the contents of ntp.conf, and it caused a
restart of ntpd.

Sean


On Wed, 15 Aug 2018 at 19:37, Dominque Roux <[email protected]>
wrote:

> Hi all,
>
> We recently facing clock skews from time to time.
> This means that sometimes everything is fine but hours later the warning
> appears again.
>
> NTPD is running and configured with the same pool.
>
> Did someone else already had the same issue and could probably help us
> to fix this?
>
> Thanks a lot!
>
> Dominique
> --
>
> Your Swiss, Open Source and IPv6 Virtual Machine. Now on
> www.datacenterlight.ch
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to