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

gnss does not sync with ptp-operator.v4.15.0-202403281339

XMLWordPrintable

    • Important
    • No
    • CNF RAN Sprint 251
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      ocp 4.15.6
      ptp-operator.v4.15.0-202403281339
      2 GM config
      
      gnss will not sync
      
      [kni@registry.kni-qe-61 ~]$ oc exec -it ds/linuxptp-daemon  -n openshift-ptp -c linuxptp-daemon-container -- curl -s localhost:9091/metrics | grep clock_state
      # HELP openshift_ptp_clock_state 0 = FREERUN, 1 = LOCKED, 2 = HOLDOVER
      # TYPE openshift_ptp_clock_state gauge
      openshift_ptp_clock_state{iface="CLOCK_REALTIME",node="helix60.lab.eng.rdu2.redhat.com",process="phc2sys"} 0
      openshift_ptp_clock_state{iface="eno1239x",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 0
      openshift_ptp_clock_state{iface="ens3f1npx",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 0
      openshift_ptp_clock_state{iface="ens5fx",node="helix60.lab.eng.rdu2.redhat.com",process="dpll"} 1
      openshift_ptp_clock_state{iface="ens5fx",node="helix60.lab.eng.rdu2.redhat.com",process="ts2phc"} 1
      openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="GM"} 0
      openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="dpll"} 1
      openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="gnss"} 0
      openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="ts2phc"} 1
      
      [kni@registry.kni-qe-61 ~]$ oc exec -it ds/linuxptp-daemon  -n openshift-ptp -c linuxptp-daemon-container -- curl -s localhost:9091/metrics | grep role
      # HELP openshift_ptp_interface_role 0 = PASSIVE, 1 = SLAVE, 2 = MASTER, 3 = FAULTY, 4 = UNKNOWN, 5 = LISTENING
      # TYPE openshift_ptp_interface_role gauge
      openshift_ptp_interface_role{iface="eno12399",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 5
      openshift_ptp_interface_role{iface="ens3f1np1",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 5
      openshift_ptp_interface_role{iface="ens5f0",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 2
      openshift_ptp_interface_role{iface="ens5f1",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 2
      openshift_ptp_interface_role{iface="ens5f2",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 2
      openshift_ptp_interface_role{iface="ens5f3",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 2
      openshift_ptp_interface_role{iface="ens7f0",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 3
      openshift_ptp_interface_role{iface="ens7f1",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 3
      openshift_ptp_interface_role{iface="ens7f2",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 3
      openshift_ptp_interface_role{iface="ens7f3",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 2

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

      ocp 4.15.6
      ptp-operator.v4.15.0-202403281339
      2 GM config

      How reproducible:

          100%

      Steps to Reproduce:

          1. Deploy 4.15 spoke with 2 GM config
          2. Check metrics for clock state
          
          

      Actual results:

          clocks are not synced

      Expected results:

      clocks are synced

      Additional info:

          

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

              Created:
              Updated:
              Resolved: