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

PTP - When GM and downstream slaves are configured on same server, ptp metrics show slaves as FREERUN

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

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

      Description of problem:

      When configure GM and downstream slaves on the same server, the ptp metrics report the slave ports as FREERUN even though they are actually synced/locked.

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

      4.13

      How reproducible:

      100%

      Steps to Reproduce:

      1. Configure at least 2 ptp profiles - one with GM config, one with slave config
      2. Check ptp daemon logs to ensure everything is synced and working as expected.
      3. Check ptp metrics 
      

      Actual results:

      slave ports are in FREE RUN
      
      # 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="helix48.ptp.lab.eng.bos.redhat.com",process="phc2sys"} 1
      openshift_ptp_clock_state{iface="eno1242x",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 0
      openshift_ptp_clock_state{iface="ens5f1npx",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 0
      openshift_ptp_clock_state{iface="ens7fx",node="helix48.ptp.lab.eng.bos.redhat.com",process="ts2phc"} 1
      
      # HELP openshift_ptp_interface_role 0 = PASSIVE, 1 = SLAVE, 2 = MASTER, 3 = FAULTY, 4 =  UNKNOWN, 5 = LISTENING# TYPE openshift_ptp_interface_role gaugeopenshift_ptp_interface_role{iface="eno12429",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 1
      openshift_ptp_interface_role{iface="ens5f1np1",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 1
      openshift_ptp_interface_role{iface="ens7f0",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 3
      openshift_ptp_interface_role{iface="ens7f1",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 3
      openshift_ptp_interface_role{iface="ens7f2",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 2
      openshift_ptp_interface_role{iface="ens7f3",node="helix48.ptp.lab.eng.bos.redhat.com",process="ptp4l"} 2 

      Expected results:

      slave ports clock stete should be Locked

      Additional info:

       

       

              aputtur@redhat.com Aneesh Puttur
              openshift-crt-jira-prow OpenShift Prow Bot
              Hen Shay Hassid Hen Shay Hassid
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: