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

Linuxptp doesn't seem considering all unitcast server list?

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • CNF RAN Sprint 275, CNF RAN Sprint 276
    • 2
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

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

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

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

      Configuration applied via ocp [0],

      However in ptp dynamic configuration file, it appears to be considering just one server?  [1]

      Restarting pods doesn't change this behaviour. 

      This was first reported by the customer  [2] 

      [0]

       

      - name: ordinary6
            phc2sysOpts: '-a -r -n 24'
            ptp4lConf: |
              [global]
              [unicast_master_table]
              table_id 1
              time_stamping software
              logQueryInterval 2
              UDPv4 10.74.209.153 <------1
              UDPv4 10.0.88.57 <--------2 
              UDPv4 10.74.212.39 <–-----3  
              [enp3s0]
              unicast_master_table 1
            ptp4lOpts: '-4 -s -H -l 1'
            ptpSchedulingPolicy: SCHED_FIFO
            ptpSchedulingPriority: 10
            ptpSettings:
              logReduce: 'true'
       
      

      [1]

       

      $ oc rsh -c linuxptp-daemon-container linuxptp-daemon-5dqdd cat /run/ptp4l.0.config
      #profile: ordinary6
      [global]
      message_tag [ptp4l.0.config:{level}]
      uds_address /var/run/ptp4l.0.socket
      summary_interval 1
      [unicast_master_table]
      table_id  1
      time_stamping  software
      logQueryInterval  2
      UDPv4  10.74.212.39 <----- 
      [enp3s0] 
      unicast_master_table  1
      

       [2] 

       

      I provide the below configuration in PtpConfig kind (full config in ptpconfig.yaml)

              

      [global]
      
      [unicast_master_table]
      table_id 1
      
      logQueryInterval 2
      UDPv4 10.4.32.39
      UDPv4 10.4.32.21
      UDPv4 10.192.88.196
      UDPv4 10.5.145.21
      
      [eno1]
      unicast_master_table 1

      Compiled file for ptp process should contain all provided UDPv4 server. Unfortunately, it keeps only one:

       

      [vm]$ oc rsh -c linuxptp-daemon-container linuxptp-daemon-lb6j7 cat /var/run/ptp4l.0.config ; echo
      #profile: ordinary6
      [global]
      uds_address /var/run/ptp4l.0.socket
      summary_interval 1
      message_tag [ptp4l.0.config]
      [unicast_master_table]
      logQueryInterval 2
      UDPv4 10.5.145.21
      table_id 1
      [eno1]
      unicast_master_table 1
      

       

              josricha@redhat.com Joseph Richard
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Bonnie Block Bonnie Block
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: