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

cloud-event-proxy and ptp metrics show gnss-sync-status on a non-GM config

XMLWordPrintable

    • Moderate
    • Yes
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      SNO with boundary clock ptpconfig was deployed with ocp 4.15.5 and ptp-operator.v4.15.0-202405281337 is showing events for gnss-sync.
      Note: this does not appear in a BC/OC environment that has ptp-operator 4.15.0-202405222235 installed.

      cloud-event-proxy log:

      time="2024-05-29T15:40:08Z" level=info msg="setting return address to /cluster/node/cnfdg19.ptp.eng.rdu2.dc.redhat.com/sync/gnss-status/gnss-sync-status"
      time="2024-05-29T15:40:08Z" level=info msg="got status check call,send events for subscriber 89cf9237-5a94-384b-bbb0-67739967f256 => /cluster/node/cnfdg19.ptp.eng.rdu2.dc.redhat.com/sync/gnss-status/gnss-sync-status"
      time="2024-05-29T15:40:08Z" level=error msg="could not find any events for requested resource type /cluster/node/cnfdg19.ptp.eng.rdu2.dc.redhat.com/sync/gnss-status/gnss-sync-status"
      

      metrics:

      [kni@registry.kni-qe-71 ~]$ oc exec -it ds/linuxptp-daemon  -n openshift-ptp -c linuxptp-daemon-container -- curl -s localhost:9091/metrics | grep -i gnss
      cne_transport_events_published{address="/cluster/node/cnfdg19.ptp.eng.rdu2.dc.redhat.com/sync/gnss-status/gnss-sync-status",status="success"} 74
      

      linuxptp-daemon log shows no gnss events:

      [kni@registry.kni-qe-71 ~]$ oc logs -n openshift-ptp linuxptp-daemon-j88gb linuxptp-daemon-container | grep -i gnss
      [kni@registry.kni-qe-71 ~]$ 
      

      ubxtool does not return gnss info:

      [root@cnfdg19 /]# ubxtool -p CFG-GNSS
      ubxtool: failed to connect to gpsd [Errno 111] Connection refused
      

      Configuration details:

      ptpconfig:

      [kni@registry.kni-qe-71 ~]$ oc get ptpconfigs.ptp.openshift.io -A -o yaml | grep clock
              clockClass 248
              clockAccuracy 0xFE
              clock_class_threshold 135
              clock_servo pi
              clock_type BC
              boundary_clock_jbod 0
      

      Hardware:

      [core@cnfdg19 ~]$ sudo lspci -v -s 70:00.0
      70:00.0 Ethernet controller: Intel Corporation Ethernet Controller E810-C for SFP (rev 02)
      	Subsystem: Intel Corporation Ethernet 25G 4P E810-XXV Adapter
      
      [core@cnfdg19 ~]$ sudo lspci -v -s ca:00.0
      ca:00.0 Ethernet controller: Intel Corporation Ethernet Controller E810-C for SFP (rev 02)
      	Subsystem: Intel Corporation Ethernet 25G 4P E810-XXV Adapter
      

      No gnss devices in /dev:

      [core@cnfdg19 ~]$ sudo ls /dev/ | grep -i gnss
      [core@cnfdg19 ~]$
      

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

      ptp-operator.v4.15.0-202405281337

      How reproducible:

          

      Steps to Reproduce:

          1.  Deploy SNO with ocp 4.15.5, ptp-operator.v4.15.0-202405281337 and boundary clock ptpconfig
          2.  Check metrics and cloud-event-proxy log for gnss-sync messages
          

      Actual results:

          gnss-sync events in log and gnss-sync-status in metrics

      Expected results:

         no gnss events in a non-gnss environment 

      Additional info:

      ptp must-gather:
      https://drive.google.com/file/d/1qZrBWsF7WoBacCHW1HZLtRpnRjRC7VD7/view?usp=drive_link
      
      spoke must-gather:
      https://drive.google.com/file/d/1akqmMQFz9aaV9Wee928m2GgFW8bsHuqu/view?usp=drive_link

       

       

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

              Created:
              Updated:
              Resolved: