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

PTP: Absence 'Profile Name' in linuxptp-daemon log

XMLWordPrintable

    • Low
    • No
    • CNF RAN Sprint 241
    • 1
    • False
    • Hide

      None

      Show
      None
    • 7/31: needs QE verification

      Description of problem:

      linuxptp-daemon log misses "Profile Name:"

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

      Server Version: 4.14.0-0.nightly-2023-07-05-191022
      ptp-operator.v4.13.0

      How reproducible:

      100%

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      I0711 16:56:19.367214 2459611 main.go:48] resync period set to: 30 [s]
      I0711 16:56:19.367836 2459611 main.go:49] linuxptp profile path set to: /etc/linuxptp
      I0711 16:56:19.367851 2459611 main.go:50] pmc poll interval set to: 5 [s]
      I0711 16:56:19.368284 2459611 main.go:57] successfully get kubeconfig
      I0711 16:56:19.408595 2459611 main.go:198] Pod linuxptp-daemon-vntlb labelled successfully.
      I0711 16:56:19.408940 2459611 plugin.go:21] Begin plugin registration...
      I0711 16:56:19.408953 2459611 plugin.go:36] Trying to register plugin: e810
      I0711 16:56:19.408963 2459611 e810.go:138] registering e810 plugin
      I0711 16:56:19.409094 2459611 event.go:189] Starting event monitoring...
      I0711 16:56:49.409676 2459611 main.go:138] ticker pull
      I0711 16:56:49.409798 2459611 ptpdev.go:74] run device status update function
      I0711 16:56:49.410053 2459611 config.go:62] load profiles
      I0711 16:56:49.410092 2459611 daemon.go:200] in applyNodePTPProfiles
      I0711 16:56:49.410106 2459611 daemon.go:233] updating NodePTPProfiles to:
      I0711 16:56:49.410120 2459611 e810.go:47] calling onPTPConfigChange for e810 plugin
      I0711 16:56:49.410139 2459611 daemon.go:365] configOpts empty, skipping: ts2phc
      I0711 16:56:49.410161 2459611 metrics.go:491] adding -m to print messages to stdout for ptp4l to use prometheus exporter
      I0711 16:56:49.410215 2459611 metrics.go:500] adding summary_interval 1 to print summary messages to stdout for ptp4l to use prometheus exporter
      I0711 16:56:49.410343 2459611 metrics.go:512] adding -m to print messages to stdout for phc2sys to use prometheus exporter
      I0711 16:56:49.410357 2459611 metrics.go:520] adding -u 1 to print summary messages to stdout for phc2sys to use prometheus exporter
      I0711 16:56:49.410445 2459611 e810.go:47] calling onPTPConfigChange for e810 plugin
      I0711 16:56:49.410460 2459611 daemon.go:365] configOpts empty, skipping: ts2phc
      I0711 16:56:49.410472 2459611 metrics.go:491] adding -m to print messages to stdout for ptp4l to use prometheus exporter
      I0711 16:56:49.410486 2459611 metrics.go:500] adding summary_interval 1 to print summary messages to stdout for ptp4l to use prometheus exporter
      I0711 16:56:49.410550 2459611 metrics.go:512] adding -m to print messages to stdout for phc2sys to use prometheus exporter
      I0711 16:56:49.410562 2459611 metrics.go:520] adding -u 1 to print summary messages to stdout for phc2sys to use prometheus exporter
      I0711 16:56:49.547703 2459611 utils.go:65] grabbing NIC timestamp capability for 28b02260c3d1e6b
      I0711 16:56:49.549729 2459611 utils.go:31] cmd output for Time stamping parameters for 28b02260c3d1e6b:

      Expected results:

      I0711 19:52:40.097541 3829829 daemon.go:296] configOpts empty, skipping: ts2phc
      I0711 19:52:40.097564 3829829 metrics.go:486] adding -m to print messages to stdout for ptp4l to use prometheus exporter
      I0711 19:52:40.097577 3829829 metrics.go:495] adding summary_interval 1 to print summary messages to stdout for ptp4l to use prometheus exporter
      I0711 19:52:40.097692 3829829 metrics.go:507] adding -m to print messages to stdout for phc2sys to use prometheus exporter
      I0711 19:52:40.097704 3829829 metrics.go:515] adding -u 1 to print summary messages to stdout for phc2sys to use prometheus exporter
      I0711 19:52:40.097771 3829829 daemon.go:227] ------------------------------------
      I0711 19:52:40.097781 3829829 daemon.go:156] Profile Name: test-grandmaster
      I0711 19:52:40.097788 3829829 daemon.go:156] Interface: ens1f0
      I0711 19:52:40.097795 3829829 daemon.go:156] Ptp4lOpts: -2 -m
      I0711 19:52:40.097802 3829829 daemon.go:156] Phc2sysOpts: -a -r -r -m -u 1
      I0711 19:52:40.097808 3829829 daemon.go:163] PtpSettings: map[]
      I0711 19:52:40.097865 3829829 daemon.go:239] ------------------------------------
      I0711 19:52:40.097872 3829829 e810.go:35] calling onPTPConfigChange for e810 plugin
      I0711 19:52:40.097881 3829829 daemon.go:296] configOpts empty, skipping: ts2phc
      I0711 19:52:40.097893 3829829 metrics.go:486] adding -m to print messages to stdout for ptp4l to use prometheus exporter
      I0711 19:52:40.097903 3829829 metrics.go:495] adding summary_interval 1 to print summary messages to stdout for ptp4l to use prometheus exporter
      I0711 19:52:40.097960 3829829 metrics.go:507] adding -m to print messages to stdout for phc2sys to use prometheus exporter
      I0711 19:52:40.097971 3829829 metrics.go:515] adding -u 1 to print summary messages to stdout for phc2sys to use prometheus exporter
      I0711 19:52:40.098015 3829829 daemon.go:227] ------------------------------------
      I0711 19:52:40.098023 3829829 daemon.go:156] Profile Name: test-grandmaster1
      I0711 19:52:40.098032 3829829 daemon.go:156] Interface: ens1f1
      I0711 19:52:40.098038 3829829 daemon.go:156] Ptp4lOpts: -2 -m
      I0711 19:52:40.098044 3829829 daemon.go:156] Phc2sysOpts: -a -r -r -m -u 1
      I0711 19:52:40.098051 3829829 daemon.go:163] PtpSettings: map[]
      

      Additional info:

       

              aputtur@redhat.com Aneesh Puttur
              rhn-cnf-elevin Evgeny Levin
              Hen Shay Hassid Hen Shay Hassid
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: