Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-60027

[linuxptp]ptp4l didn't work on bc clock with ptp_dst_ipv4/6 options

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.6
    • rhel-9.4, rhel-9.5
    • linuxptp
    • None
    • linuxptp-4.4-1.el9
    • No
    • Important
    • rhel-sst-cs-stacks
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

       BC master port(ens2f1 in this case) and OC slave port(ens7f0 in this case) use different ptp_dst_ipv4 will let synchronize didn't work.

      What is the impact of this issue to you?

      bc clock won't synchronize with oc clock.

      Please provide the package NVR for which the bug is seen:

      linuxptp-4.2-3.el9.x86_64

      How reproducible is this bug?: 100%

      Steps to reproduce

      1.
      On GM clock the configuration as below

      [root@dell-per740-51 ~]# cat gm.conf
      [global]
      clockClass 1
      dataset_comparison G.8275.x
      G.8275.defaultDS.localPriority 128
      logAnnounceInterval -3
      logSyncInterval -4
      logMinDelayReqInterval -4
      summary_interval -4
      network_transport UDPv4
      [ens2f0]
      ptp_dst_ipv4 225.150.150.196
      [root@dell-per740-51 ~]# ptp4l -E4Hmi ens2f0  --priority1=1 --domainNumber 22 -f gm.conf 

      2. On Bc site, the configuration as below

      [root@dell-per750-11 ~]# cat bc.conf
      [global]
      clockClass 128
      dataset_comparison G.8275.x
      G.8275.defaultDS.localPriority 128
      logAnnounceInterval -3
      logSyncInterval -4
      logMinDelayReqInterval -4
      summary_interval -4
      network_transport UDPv4
      [ens2f0]
      ptp_dst_ipv4 225.150.150.196
      [ens2f1]
      ptp_dst_ipv4 225.149.149.197 
      [root@dell-per750-11 ~]# ptp4l -E4Hm -i ens2f0  -i ens2f1 --priority1=128 --domainNumber 22 -f bc.conf

      3.On OC site, the configuration as below

      [root@dell-per750-62 ~]# cat oc.conf
      [global]
      clockClass 254
      dataset_comparison G.8275.x
      G.8275.defaultDS.localPriority 128
      logAnnounceInterval -3
      logSyncInterval -4
      logMinDelayReqInterval -4
      summary_interval -4
      network_transport UDPv4
      [ens7f0]
      ptp_dst_ipv4 225.149.149.197 
      [root@dell-per750-62 ~]# ptp4l -E4Hmi ens7f0  --priority1=254 --domainNumber 22  -f oc.conf 

      Expected results

      On OC site, it can sync with BC master clock.

      Actual results

      OC clock still print sync timeout

      ptp4l[25208.271]: selected local clock 507c6f.fffe.189534 as best master
      ptp4l[25208.271]: port 1 (ens7f0): assuming the grand master role
      ptp4l[25208.272]: port 1 (ens7f0): master tx announce timeout
      ptp4l[25208.334]: port 1 (ens7f0): master sync timeout
      ptp4l[25208.396]: port 1 (ens7f0): master sync timeout
      ptp4l[25208.397]: port 1 (ens7f0): master tx announce timeout
      ptp4l[25208.459]: port 1 (ens7f0): master sync timeout
      ptp4l[25208.521]: port 1 (ens7f0): master sync timeout
      ptp4l[25208.522]: port 1 (ens7f0): master tx announce timeout
      ptp4l[25208.584]: port 1 (ens7f0): master sync timeout
      ptp4l[25208.646]: port 1 (ens7f0): master sync timeout
       

       

              rhn-support-mlichvar Miroslav Lichvar
              mhou@redhat.com Minxi Hou
              Miroslav Lichvar Miroslav Lichvar
              Yalin Li Yalin Li
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: