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

oc/bc without plugin enabled in ptpconfig , tries to run e810 plugin

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      5/3: low priority for now
      11/13: Moving this to low priority bug
      Show
      5/3: low priority for now 11/13: Moving this to low priority bug

      Description of problem:

      Apply OC profile without e810 plugin (Assuming plugins are only for e810 or GM) and linux ptp daemon logs reports attempting to run e810 plugin 

       

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

       

      How reproducible:

      apply OC or BC ptpconfig without plugin section (Use any older version ptpconfig)  and watch linuxptp-daemon-container logs 

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       oc -n openshift-ptp logs ds/linuxptp-daemon -c linuxptp-daemon-container  -f  | grep plugin
      I0928 18:09:49.156431 2067549 plugin.go:21] Begin plugin registration...
      I0928 18:09:49.156455 2067549 plugin.go:36] Trying to register plugin: e810
      I0928 18:09:49.156463 2067549 e810.go:174] registering e810 plugin
      I0928 18:10:19.157958 2067549 e810.go:54] calling onPTPConfigChange for e810 plugin
      I0928 18:10:19.162612 2067549 e810.go:108] calling AfterRunPTPCommandE810 for e810 plugin
      I0928 18:10:19.162618 2067549 e810.go:108] calling AfterRunPTPCommandE810 for e810 plugin
      

      Expected results:

      There should not be any plugin registration if not configured via ptpconfig

      Additional info:

       

            josricha@redhat.com Joseph Richard
            aputtur@redhat.com Aneesh Puttur
            Hen Shay Hassid Hen Shay Hassid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: