ipatests: relax requirements for time server quality
When synchronizing time with windows server using chronyd I often see error "No suitable source for synchronisation". This happens because chronyd with default options refuses to use time servers with big jitter and delay. For some reasons Windows time server does have big jitter. In some test setups delay also can be rathe big. Related to https://pagure.io/freeipa/issue/7889 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
1 parent
e8955cc796
commit
03e2693a7d
1 file changed
+4
-2
@@ -801,8 +801,10 @@ def sync_time(host, server):
|
||||
|
||||
host.run_command(['systemctl', 'stop', 'chronyd'])
|
||||
host.run_command(['chronyd', '-q',
|
||||
"server {srv} iburst".format(srv=server.hostname),
|
||||
'pidfile /tmp/chronyd.pid', 'bindcmdaddress /'])
|
||||
"server {srv} iburst maxdelay 1000".format(
|
||||
srv=server.hostname),
|
||||
'pidfile /tmp/chronyd.pid', 'bindcmdaddress /',
|
||||
'maxdistance 1000', 'maxjitter 1000'])
|
||||
|
||||
|
||||
def connect_replica(master, replica, domain_level=None,
|
||||
|
||||
Reference in new issue
Block a user