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

clockClass is missing for T-BC

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • x86_64
    • QA
    • None
    • None
    • CNF RAN Sprint 283
    • 1
    • In Progress
    • None
    • None
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-73852. The following is the description of the original issue:

      Description of problem:

      Environment: GNR-D dpll BC
      PTP Operator version: 4.21.0-202601121715 
      Cluster version is 4.21.0-ec.3
      cnfdg17 - gnrd-bc-tt & gnrd-bc-tr ptpconfigs, using cnfdg32 GM as clock source
      
      Problem detected during regression testing - validates HTTP PTP events via consumer.    

      Version-Release number of selected component (if applicable):

      clockClass is missing in linuxptp-daemon-container:
      $ oc logs -n openshift-ptp ds/linuxptp-daemon linuxptp-daemon-container | grep -i clockClass
      $
      
      linuxptp-daemon cloud-event-proxy log reports clockClass not populated yet:
      14:40:45  2026/01/14 19:40:38 Logs from last 1m0s for pod linuxptp-daemon-5x6xd container cloud-event-proxy:
      14:40:45  time="2026-01-14T19:40:10Z" level=info msg="got status check call,send events for subscriber 6d2abb81-7e50-4747-ab94-e6ae05508441 => /cluster/node/cnfdg17.ptp.eng.rdu2.dc.redhat.com/sync/ptp-status/clock-class"
      14:40:45  time="2026-01-14T19:40:10Z" level=debug msg="Skipping PTP clock class change event for enox/master - clockClass not populated yet"
      consumer cloud-event-proxy log reports 404 error for clock-class:
      14:40:45  2026/01/14 19:40:44 Logs from last 1m0s for pod cloud-consumer-deployment-d7bcffcf4-qrj6z container cloud-event-consumer:
      14:40:45  time="2026-01-14T19:40:05Z" level=info msg="health check http://ptp-event-publisher-service-cnfdg17.openshift-ptp.svc.cluster.local:9043/api/ocloudNotifications/v2/health"
      14:40:45  time="2026-01-14T19:40:05Z" level=info msg="rest service returned healthy status"
      14:40:45  time="2026-01-14T19:40:10Z" level=error msg="CurrentState: error 404 from url http://ptp-event-publisher-service-cnfdg17.openshift-ptp.svc.cluster.local:9043/api/ocloudNotifications/v2/cluster/node/cnfdg17.ptp.eng.rdu2.dc.redhat.com/sync/ptp-status/clock-class/CurrentState"
      
      
      
      

      This is the clock_class gauge in metrics:
      22:13:07 # HELP openshift_ptp_clock_class 6 = Locked, 7 = PRC unlocked in-spec, 52/187 = PRC unlocked out-of-spec, 135 = T-BC holdover in-spec, 165 = T-BC holdover out-of-spec, 248 = Default, 255 = Slave Only Clock*22:13:07* # TYPE openshift_ptp_clock_class gauge*22:13:07* openshift_ptp_clock_class{config="ptp4l.1.config",node="cnfdg17.ptp.eng.rdu2.dc.redhat.com",process="ptp4l"} 6
      Actual results:

      cloud-event-proxy is not ready

      Expected results:

      cloud-event-proxy is ready

      Additional info:

          

              jramsay1@redhat.com Jim Ramsay
              bblock@redhat.com Bonnie Block
              None
              None
              Yang Liu Yang Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: