Skip to content

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

@Artoria2e5

Description

@Artoria2e5

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions