seapath / ansible

This repo contains all the ansible playbooks used to deploy or manage a cluster, as well as inventories examples
https://lfenergy.org/projects/seapath/
Apache License 2.0
6 stars 16 forks source link

timemaster: limit PTP->NTP fallback time #582

Closed eroussy closed 1 month ago

eroussy commented 1 month ago

After PTP becomes unavaillable, chrony still selects it for a time period :

Reachability is not a requirement for selection. An unreachable source can still be selected if its newest sample is not older than the oldest sample from reachable sources.

This period is defined by the number of samples and the polling period and is, by default, highly variable (up to 10*1024s=~3h).

Set min/max for poll and sample for make this period more predictable:

So, the PTP->NTP fallback time around 11 minutes (10*64s)

Backported from debiancentos branch