yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71176
[Bug 1749722] [NEW] NTP: take into account systemd-timesyncd where present
Public bug reported:
Currently, the NTP module configures ntpd during cloud-init install by
installing and configuring ntpd.
ntpd competes with systemd-timesyncd on systemd distros like Ubuntu
Xenial.
Ideally the NTP module should configure systemd-timesyncd where present,
falling back to ntpd where not present.
This stops two separate daemons (ntpd and systemd-timesyncd) competing
with each other to set the time, where systemd-timesyncd (on Ubuntu at
least) has an internal hardcoded compiled in timeserver to fall back on
if no timeserver is configured (which is bad, but what can you do).
The competing timeserver behaviour is invisible when the machine can see
the net, but logs this error constantly when the machine cannot see the
net:
systemd-timesyncd[527]: Timed out waiting for reply from 91.189.94.4:123
(ntp.ubuntu.com).
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1749722
Title:
NTP: take into account systemd-timesyncd where present
Status in cloud-init:
New
Bug description:
Currently, the NTP module configures ntpd during cloud-init install by
installing and configuring ntpd.
ntpd competes with systemd-timesyncd on systemd distros like Ubuntu
Xenial.
Ideally the NTP module should configure systemd-timesyncd where
present, falling back to ntpd where not present.
This stops two separate daemons (ntpd and systemd-timesyncd) competing
with each other to set the time, where systemd-timesyncd (on Ubuntu at
least) has an internal hardcoded compiled in timeserver to fall back
on if no timeserver is configured (which is bad, but what can you do).
The competing timeserver behaviour is invisible when the machine can
see the net, but logs this error constantly when the machine cannot
see the net:
systemd-timesyncd[527]: Timed out waiting for reply from
91.189.94.4:123 (ntp.ubuntu.com).
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1749722/+subscriptions
Follow ups