Skip to content

Commit ff13f0f

Browse files
Merge pull request #471 from rackerlabs/chrony-fix-ntp-pool
fix: chrony NTP settings
2 parents 0dca337 + ee0240b commit ff13f0f

File tree

3 files changed

+43
-1
lines changed

3 files changed

+43
-1
lines changed

components/chrony/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ spec:
1818
image: dockurr/chrony@sha256:7dc19aa12f5e5da7aaa3640c6700012087d0eedd5bd4ece2a25cf42088637d62
1919
env:
2020
- name: NTP_SERVERS
21-
value: time.rackspace.net
21+
value: time.iad.rackspace.net,0.pool.ntp.org,1.pool.ntp.org
2222
restartPolicy: Always
2323
dnsPolicy: ClusterFirst

ironic-images/ipa-debian-bookworm.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
- journal-to-console
77
- package-installs
88
- undercloud-ipa
9+
- install-static
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Include configuration files found in /etc/chrony/conf.d.
2+
confdir /etc/chrony/conf.d
3+
4+
# Do not Use Debian vendor zone.
5+
# This was commented out to make sure that we only use NTP sources
6+
# configured through DHCP.
7+
# pool 2.debian.pool.ntp.org iburst
8+
9+
# Use time sources from DHCP.
10+
sourcedir /run/chrony-dhcp
11+
12+
# Use NTP sources found in /etc/chrony/sources.d.
13+
sourcedir /etc/chrony/sources.d
14+
15+
# This directive specify the location of the file containing ID/key pairs for
16+
# NTP authentication.
17+
keyfile /etc/chrony/chrony.keys
18+
19+
# This directive specify the file into which chronyd will store the rate
20+
# information.
21+
driftfile /var/lib/chrony/chrony.drift
22+
23+
# Save NTS keys and cookies.
24+
ntsdumpdir /var/lib/chrony
25+
26+
# Uncomment the following line to turn logging on.
27+
#log tracking measurements statistics
28+
29+
# Log files location.
30+
logdir /var/log/chrony
31+
32+
# Stop bad estimates upsetting machine clock.
33+
maxupdateskew 100.0
34+
35+
# This directive enables kernel synchronisation (every 11 minutes) of the
36+
# real-time clock. Note that it can't be used along with the 'rtcfile' directive.
37+
rtcsync
38+
39+
# Step the system clock instead of slewing it if the adjustment is larger than
40+
# one second, but only in the first three clock updates.
41+
makestep 1 3

0 commit comments

Comments
 (0)