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

Error in ptplog: "ubxtool": executable file not found in $PATH

XMLWordPrintable

    • Critical
    • No
    • CNF RAN Sprint 239, CNF RAN Sprint 240
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      8/2: unblocked QE with a dev build; smoke test successful on operator build; next step is to integrate into an official build.
      7/31: testbuild create late friday; smoke testing will start today
      7/24: look to unblock QE temperarily whiole we work on the final build. Plan is to test the new package from RHEL on rhel 8 base package.
      7/18: updated fix required after meeting with RHEL team on gpsd - expected to be posted on 7/19
      7/18: blocks PTP WPC GM QE
      Show
      8/2: unblocked QE with a dev build; smoke test successful on operator build; next step is to integrate into an official build. 7/31: testbuild create late friday; smoke testing will start today 7/24: look to unblock QE temperarily whiole we work on the final build. Plan is to test the new package from RHEL on rhel 8 base package. 7/18: updated fix required after meeting with RHEL team on gpsd - expected to be posted on 7/19 7/18: blocks PTP WPC GM QE

      Description of problem:

      Installed ptp-operator from brew (containerImage: registry.redhat.io/openshift4/ose-ptp-operator@sha256:92401930f056437b1ab6b9c46bf016e703885025af6e5717d5727064d264f3f5)

      ptplogs report errorin reading gnss status exec: "ubxtool": executable file not found in $PATH:

      [kni@registry.kni-qe-28 ~]$ oc logs -n openshift-ptp linuxptp-daemon-qvfqk linuxptp-daemon-container --tail=25
      phc2sys[11746.482]: [ptp4l.2.config] CLOCK_REALTIME phc offset         7 s2 freq   -1246 delay    509
      ptp4l[11746.489]: [ptp4l.1.config] master offset          7 s2 freq  -10677 path delay       302
      ptp4l[11746.490]: [ptp4l.0.config] master offset        -31 s2 freq  -96019 path delay       319
      ts2phc[11746.540]: [ts2phc.2.config] nmea: no valid rmc fix
      ts2phc[11746.540]: [ts2phc.2.config] ens7f3 extts index 0 at 1687540998.782925920 corr 0 src 10661.4096 diff 1687530337782925920
      ts2phc[11746.540]: [ts2phc.2.config] ens7f3 ignoring invalid master time stamp
      phc2sys[11746.545]: [ptp4l.2.config] CLOCK_REALTIME phc offset         0 s2 freq   -1251 delay    509
      ptp4l[11746.553]: [ptp4l.0.config] master offset        -30 s2 freq  -96021 path delay       314
      ptp4l[11746.567]: [ptp4l.1.config] master offset          6 s2 freq  -10678 path delay       302
      phc2sys[11746.607]: [ptp4l.2.config] CLOCK_REALTIME phc offset        -4 s2 freq   -1255 delay    509
      ptp4l[11746.615]: [ptp4l.0.config] master offset         18 s2 freq  -95942 path delay       309
      ptp4l[11746.617]: [ptp4l.1.config] master offset         -5 s2 freq  -10696 path delay       302
      I0623 17:22:41.906600  490496 ublox.go:170] Fetching GNSS status -P 29.20  -t -p NAV-STATUS
      E0623 17:22:41.906850  490496 ublox.go:193] error executing cmd ubxtool -P 29.20  -t -p NAV-STATUS
      I0623 17:22:41.906951  490496 ublox.go:172] queried ublox output 
      E0623 17:22:41.907006  490496 ublox.go:174] errorin reading gnss status exec: "ubxtool": executable file not found in $PATH
      E0623 17:22:41.907020  490496 gnss.go:53] failed to monitor nav status exec: "ubxtool": executable file not found in $PATH
      phc2sys[11746.670]: [ptp4l.2.config] CLOCK_REALTIME phc offset        11 s2 freq   -1241 delay    509
      ptp4l[11746.678]: [ptp4l.0.config] master offset         56 s2 freq  -95875 path delay       311
      ts2phc[11746.679]: [ts2phc.2.config] nmea sentence: GNRMC,,V,,,,,,,,,,N,V
      ts2phc[11746.679]: [ts2phc.2.config] nmea sentence: GNGGA,,,,,,0,00,99.99,,,,,,
      ptp4l[11746.691]: [ptp4l.1.config] master offset         -2 s2 freq  -10692 path delay       302
      phc2sys[11746.733]: [ptp4l.2.config] CLOCK_REALTIME phc offset        -3 s2 freq   -1252 delay    507
      ptp4l[11746.740]: [ptp4l.0.config] master offset         52 s2 freq  -95876 path delay       314
      ptp4l[11746.748]: [ptp4l.1.config] master offset          5 s2 freq  -10680 path delay       302
      

      Note: there are 3 ptpconfigs in this environment.  The error is occurring on grandmaster1.

      [kni@registry.kni-qe-28 ~]$ oc get ptpconfigs.ptp.openshift.io -A
      NAMESPACE       NAME               AGE
      openshift-ptp   du-ptp-slave-gm    3h10m
      openshift-ptp   du-ptp-slave-gm2   3h10m
      openshift-ptp   grandmaster1       3h10m
      

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

      4.14

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install ptp-operator from brew
      2. Check ptplog 
      oc logs -n openshift-ptp linuxptp-daemon-qvfqk linuxptp-daemon-container  
      

      Actual results:

      error message "ubxtool": executable file not found in $PATH

      Expected results:

      Three master offsets recorded in log

      Additional info:

       

            nparekh@redhat.com Nishant Parekh
            bblock@redhat.com Bonnie Block
            Bonnie Block Bonnie Block
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: