AgentBaker icon indicating copy to clipboard operation
AgentBaker copied to clipboard

Wrong chrony stratum (doc has updated, AgentBaker has not)

Open Artoria2e5 opened this issue 10 months ago • 1 comments

What happened: A lot of files have

refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0

What you expected to happen:

refclock PHC /dev/ptp_hyperv poll 3 dpoll -2 offset 0 stratum 2

like in current version of https://learn.microsoft.com/en-us/azure/virtual-machines/linux/time-sync should be instead present. Or if you don't want ptp_hyperv, ptp0 is okay; what matters is stratum 2

How to reproduce it: Use grep on the existing source files.

Anything else we need to know?: Wrong stratum leads to user confusion in https://www.mail-archive.com/[email protected]/msg03770.html.

Environment:

  • AgentBaker version: HEAD
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Artoria2e5 avatar Mar 05 '25 04:03 Artoria2e5

This doesn't make any difference for our default configuration due to the lack of any other time source, as discussed in this reply. However, it would be worthwhile to pull in the udev rule and update the configuration in the event that someone does add servers without realizing that they would need to adjust stratum.

phealy avatar Mar 19 '25 17:03 phealy