Support for chrony service

Registered by Emilien Macchi on 2018-01-16

Taken from https://bugzilla.redhat.com/show_bug.cgi?id=1535066

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 future RHEL versions.

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 [1].

Additional info:

[1] https://bugs.launchpad.net/tripleo/+bug/1736349

Blueprint information

Status:
Complete
Approver:
Alex Schultz
Priority:
Medium
Drafter:
Emilien Macchi
Direction:
Approved
Assignee:
Emilien Macchi
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
milestone icon stein-2
Started by
Alex Schultz on 2018-08-15
Completed by
Alex Schultz on 2018-11-06

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/tripleo-chrony,n,z

Addressed by: https://review.openstack.org/586679
    Create a Timesync service declaration

Addressed by: https://review.openstack.org/588111
    WIP: Add chrony time service

Addressed by: https://review.openstack.org/599825
    Add chrony support to validations

Addressed by: https://review.openstack.org/611969
    Switch to Chrony by default

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.