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

ptp all sync-state event should be FREERUN. Instead sends event as LOCKED

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • 4/24: PR merged.
    • None
    • CNF RAN Sprint 268, CNF RAN Sprint 269, CNF RAN Sprint 270, CNF RAN Sprint 271
    • 4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Linux ptp daemon is advertising T-GM state s FREERUN 
      GM[1743434905]:[ts2phc.0.config] ens7f0 T-GM-STATUS s0
      But  cloud  event proxy  is generating Event as  LOCKED for sync-state.
      Also ResourceAddress field is different for Push and GetCurrentState event
      which is over all ptp status of the system .
      This could be affecting OC/BC/Dual BC/PTP HA/T-GM

      TIME                           SOURCE                                   TYPE                                RESOURCE                                                          VALUE     
      ------------------------------ ---------------------------------------- ----------------------------------- ----------------------------------------------------------------- ----------
      2025-03-28T19:23:03.128911932Z /sync/gnss-status/gnss-sync-status       event.sync.gnss-status.gnss-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/ens7fx/master    SYNCHRONIZED
      2025-03-28T19:23:03.128911932Z /sync/gnss-status/gnss-sync-status       event.sync.gnss-status.gnss-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/ens7fx/master    4         
      2025-03-28T19:23:03.128911932Z /sync/gnss-status/gnss-sync-status       event.sync.gnss-status.gnss-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/ens7fx/master/gpsFix 5         
      2025-03-28T19:24:02.138515959Z /sync/ptp-status/clock-class             event.sync.ptp-status.ptp-clock-class-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/ens7fx/master    248       
      2025-03-28T19:24:03.129533207Z /sync/ptp-status/lock-state              event.sync.ptp-status.ptp-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/ens7fx/master    FREERUN   
      2025-03-28T19:24:03.129533207Z /sync/ptp-status/lock-state              event.sync.ptp-status.ptp-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/ens7fx/master    0         
      2025-03-31T15:25:12.197614376Z /sync/sync-status/os-clock-sync-state    event.sync.sync-status.os-clock-sync-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/CLOCK_REALTIME   LOCKED    
      2025-03-31T15:25:12.197614376Z /sync/sync-status/os-clock-sync-state    event.sync.sync-status.os-clock-sync-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/CLOCK_REALTIME   94        
      2025-03-31T15:25:12.197814029Z /sync/sync-status/sync-state             event.sync.sync-status.synchronization-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/CLOCK_REALTIME   LOCKED  
      
      

      *Expected Behavior *

      2025-03-31T15:25:12.197814029Z /sync/sync-status/sync-state             event.sync.sync-status.synchronization-state-change /cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/ens7fx/master FREERUN
      

      sync-state should not have CLOCK_REALTIME for resource address , instead should have master interface

              aputtur@redhat.com Aneesh Puttur
              aputtur@redhat.com Aneesh Puttur
              None
              None
              Bonnie Block Bonnie Block
              None
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: