From 79b49e2f5895323bc589ca5ef42de01204012c18 Mon Sep 17 00:00:00 2001
From: zhubingbing <zhu.bingbing@99cloud.net>
Date: Tue, 6 Jun 2017 14:53:34 +0800
Subject: [PATCH] Add makestep in chrony.conf

Normally chronyd will cause the system to gradually correct any time offset, by slowing down or speeding up the clock as required.
In certain situations, the system clock might be so far adrift
that this slewing process would take a very long time to correct the system clock

Change-Id: I939b6aae1dbeb133203085ec68bdb9f7936ee9ef
Closes-Bug: #1696056
---
 ansible/roles/chrony/templates/chrony.conf.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ansible/roles/chrony/templates/chrony.conf.j2 b/ansible/roles/chrony/templates/chrony.conf.j2
index 62cb01d844..ece9a40190 100644
--- a/ansible/roles/chrony/templates/chrony.conf.j2
+++ b/ansible/roles/chrony/templates/chrony.conf.j2
@@ -16,6 +16,8 @@ driftfile /var/lib/chrony/chrony.drift
 log tracking measurements statistics
 logdir /var/log/kolla/chrony
 
+makestep 3 3
+
 maxupdateskew 100.0
 
 dumponexit