Bug 1535066 - [RFE] Support for chrony NTP service
Summary: [RFE] Support for chrony NTP service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 15.0 (Stein)
Hardware: All
OS: All
high
medium
Target Milestone: Upstream M2
: 15.0 (Stein)
Assignee: Alex Schultz
QA Contact: Victor Voronkov
URL:
Whiteboard:
: 1415974 1511830 (view as bug list)
Depends On: 1647119
Blocks: 1335596 1396161 1476902
TreeView+ depends on / blocked
 
Reported: 2018-01-16 15:24 UTC by Miroslav Lichvar
Modified: 2022-08-09 11:40 UTC (History)
13 users (show)

Fixed In Version: openstack-tripleo-heat-templates-10.5.1-0.20190606110437.b9992d9.el8ost
Doc Type: Enhancement
Doc Text:
In Red Hat OpenStack Platform 15, which depends on Red Hat Enterprise Linux 8, there is a new default Time service, chrony. With this switch, Red Hat highly recommends that you use multiple Network Time Protocol (NTP) servers for both the undercloud and overcloud deployments.
Clone Of:
Environment:
Last Closed: 2019-09-21 11:15:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 586679 0 'None' MERGED Create a Timesync service declaration 2021-02-03 15:03:12 UTC
OpenStack gerrit 588111 0 'None' MERGED Add chrony time service 2021-02-03 15:03:12 UTC
OpenStack gerrit 611969 0 'None' MERGED Switch to Chrony by default 2021-02-03 15:03:12 UTC
RDO 16825 0 None None None 2018-10-06 22:21:43 UTC
Red Hat Issue Tracker OSP-8732 0 None None None 2022-08-09 11:40:23 UTC
Red Hat Product Errata RHEA-2019:2811 0 None None None 2019-09-21 11:15:50 UTC

Description Miroslav Lichvar 2018-01-16 15:24:33 UTC
Description of problem:
In RHEL7 we have switched to chrony as the default NTP implementation and there is now a possibility that ntp will be removed in RHEL8 completely [1].

Please consider adding support for configuring chrony instead of ntp. Currently, TripleO seems to be using the puppetlabs' ntp module (setting ntp::servers, ntp::iburst_enable, ntp::maxpoll, ntp::minpoll)

The syntax of the server directive using these options in chrony.conf is identical to ntp.conf. There are some chrony modules available on Puppet Forge. However, they have a different interface and their features are minimal when compared to the ntp module. I can help with writing a new module if needed.

Also, it seems the tripleo-heat-templates/validation-scripts/all-nodes.sh script uses ntpdate to check if the servers are available. The "ntpdate -qud" command can be replaced with "chronyd -Q -d 'server $SERVER iburst'".

An upstream RFE is at [2].

Additional info:

[1] https://docs.engineering.redhat.com/pages/viewpage.action?pageId=48831600
[2] https://bugs.launchpad.net/tripleo/+bug/1736349

Comment 2 Emilien Macchi 2018-01-16 16:38:00 UTC
Blueprint proposed: https://blueprints.launchpad.net/tripleo/+spec/tripleo-chrony

Comment 5 Dan Prince 2018-03-07 21:11:26 UTC
In making this switch it might also be worth switching the service over to be a container. We currently still run NTP on baremetal.

Comment 6 Miroslav Lichvar 2018-03-08 08:30:56 UTC
Please note that moving chronyd to a container may have an impact on accuracy of the clock as the network interfaces don't support SW/HW timestamping. I'm not sure if it really matters for openstack.

Comment 15 Jaromir Coufal 2018-06-14 12:56:15 UTC
Thanks Tomas, in that case I am closing this BZ as won't fix, please inform us if/when this changes.

Comment 17 Tomáš Hozza 2018-06-14 13:14:11 UTC
(In reply to Jaromir Coufal from comment #15)
> Thanks Tomas, in that case I am closing this BZ as won't fix, please inform
> us if/when this changes.

I think you misunderstood me. This means you actually MUST do the work for all the release which will be supported on top of RHEL-8... ;)

Our understanding is that OSP currently relies on ntp as the NTP implementation. This bug is about moving OSP to chrony as the NTP implementation, since chrony is the default NTP implementation in RHEL-7 and it will be the ONLY NTP implementation in RHEL-8.

Just to make sure we understand what is what:
NTP - name of the protocol
ntp - implementation of NTP
chrony - preferred implementation of NTP

Comment 20 Jaromir Coufal 2018-06-15 09:47:30 UTC
This will be a blocker RFE for OSP 15 given the change in underlying RHEL.

Comment 21 Emilien Macchi 2018-08-01 23:29:33 UTC
*** Bug 1511830 has been marked as a duplicate of this bug. ***

Comment 22 Emilien Macchi 2018-08-01 23:29:35 UTC
*** Bug 1415974 has been marked as a duplicate of this bug. ***

Comment 24 Alex Schultz 2018-10-25 23:16:18 UTC
All patches are posted but we're waiting on an upstream promotion before we can land them all.

Comment 27 Victor Voronkov 2019-08-29 16:31:35 UTC
Manual tests massed

Comment 31 errata-xmlrpc 2019-09-21 11:15:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:2811


Note You need to log in before you can comment on or make changes to this bug.