All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Mick <dmick@redhat.com>
To: John Spray <jspray@redhat.com>, Nathan Cutler <ncutler@suse.cz>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Would it make sense to require ntp
Date: Wed, 20 Jan 2016 18:45:01 -0800	[thread overview]
Message-ID: <56A0462D.4040101@redhat.com> (raw)
In-Reply-To: <CALe9h7eP-vabaMCYuLuEUO2pME-cRfUHVrOFgkzRcZNqxL2ZbA@mail.gmail.com>

On 11/06/2015 04:26 AM, John Spray wrote:
>> If the answer is "no", would it make sense to make NTP a runtime
>> > dependency and tell the ceph-mon systemd service to wait for
>> > ntpd.service before it starts?
> Just waiting for the service is quick, but it doesn't achieve any
> effect on the clock other than promising that it will be synced at
> some point in the future.  Wouldn't we have to wait for time sync
> rather than just waiting for the service?  That could take a while.

For teuthology we have an optional task to stop ntpd, run ntpdate to
slam-sync the clocks, and restart ntpd; by default ntpd can take a
minimum of five minutes to adjust the clock, assuming it's got good sync
data from its servers.  I've wondered whether we ought to try to
distribute that technique for users, but it's pretty half-baked in
teuthology right now (the code exists but we're not running it as a
matter of course).

One wonders if there is a service that could be a sync point for "actual
time update from ntpd/chronyd".

      parent reply	other threads:[~2016-01-21  2:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06 10:06 Would it make sense to require ntp Nathan Cutler
2015-11-06 11:36 ` Wido den Hollander
2015-11-06 12:26 ` John Spray
2015-11-06 15:08   ` Gregory Farnum
2015-11-06 15:19     ` Vasiliy Angapov
2015-11-06 17:44   ` Jeremy Hanmer
2016-01-21  2:45   ` Dan Mick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56A0462D.4040101@redhat.com \
    --to=dmick@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=jspray@redhat.com \
    --cc=ncutler@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.