Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-51311

T-GM jumps to free-run after a long holdover

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.18.0
    • Networking / ptp
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • CNF RAN Sprint 268
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Recently default PTP plugin settings for operation in the holdover mode have been adjusted to the upper range of the ITU time error budget:

      plugins:
            e810:
              settings:
                LocalHoldoverTimeout: 14400
                LocalMaxHoldoverOffSet: 1500
                MaxInSpecOffset: 1500
      

      However, the global threshold for operating in all other states have remained unchanged

          ptpClockThreshold:
            holdOverTimeout: 5
            maxOffsetThreshold: 100
            minOffsetThreshold: -100
      

      This mismatch leads to the following situation after a long holdover, where the offset is below `MaxInSpecOffset`, but above `maxOffsetThreshold`:

      2025-02-25T15:05:31.000301828+00:00 stdout F GM[1740495931]:[ts2phc.0.config] ens4f0 T-GM-STATUS s2
      2025-02-25T15:05:31.011663884+00:00 stdout F phc2sys[538575.949]: [ptp4l.0.config:6] CLOCK_REALTIME phc offset         0 s2 freq   +3274 delay    583
      2025-02-25T15:05:31.024030411+00:00 stdout F ts2phc[538575.962]: [ts2phc.0.config:6] /dev/ptp6 offset        163 s2 freq    +163
      2025-02-25T15:05:31.024106311+00:00 stderr F I0225 15:05:31.024086 1513847 stats.go:61] state updated for ts2phc =s0
      2025-02-25T15:05:31.024127719+00:00 stdout F GM (Grand Master Clock) (State:FreeRun)
      2025-02-25T15:05:31.024127719+00:00 stdout F *├── GNSS (State:Locked)
      2025-02-25T15:05:31.024127719+00:00 stdout F *├── ClockClass (State:6)
      2025-02-25T15:05:31.024135385+00:00 stdout F *├── OVER-ALL-TS2PHC (State:FreeRun)
      2025-02-25T15:05:31.024135385+00:00 stdout F *    ├── ts2phc (State:Locked)
      2025-02-25T15:05:31.024135385+00:00 stdout F *        └── State: Locked Iface: ens8f0  Offset 0
      2025-02-25T15:05:31.024135385+00:00 stdout F *    ├── ts2phc (State:FreeRun)
      2025-02-25T15:05:31.024135385+00:00 stdout F *        └── State: FreeRun Iface: ens5f0  Offset 163
      2025-02-25T15:05:31.024143184+00:00 stdout F *    └── ts2phc (State:Locked)
      2025-02-25T15:05:31.024143184+00:00 stdout F *        └── State: Locked Iface: ens4f0  Offset -6
      2025-02-25T15:05:31.024143184+00:00 stdout F *└── OVER-ALL-DPLL (State:Locked)
      2025-02-25T15:05:31.024143184+00:00 stdout F *    ├── dpll (State:Locked)
      2025-02-25T15:05:31.024143184+00:00 stdout F *        └── State: Locked Iface: ens4f0  Offset 97
      2025-02-25T15:05:31.024143184+00:00 stdout F *    ├── dpll (State:Locked)
      2025-02-25T15:05:31.024143184+00:00 stdout F *        └── State: Locked Iface: ens5f0  Offset -1
      2025-02-25T15:05:31.024150152+00:00 stdout F *    └── dpll (State:Locked)
      2025-02-25T15:05:31.024150152+00:00 stdout F *        └── State: Locked Iface: ens8f0  Offset 0
      2025-02-25T15:05:31.024164427+00:00 stderr F I0225 15:05:31.024149 1513847 event.go:676] clock class change request from 6 to 248
      
      

              aputtur@redhat.com Aneesh Puttur
              vgrinber@redhat.com Vitaly Grinberg
              None
              None
              Yang Liu Yang Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: