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

ptp plugin fails to load on OCP 4.14 spoke

XMLWordPrintable

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

      None

      Show
      None
    • 7/11: totally blocks PTP testing - new fix posted to address issue

      Description of problem:

      When deploying 4.14 spoke with ptp-operator, cloud-event-proxy logs this error:
      
      error msg="cannot open ptp plugin plugin.Open(\"./plugins/ptp_operator_plugin\"): plugin was built with a different version of package k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json"
      
      

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

      ptp-operator.v4.13.0 (operator installed from ose-ptp-operator-metadata-container-v4.14.0.202306131257.p0.g8119163.assembly.stream-1)

      How reproducible:

      100%

      Steps to Reproduce:

      1. Deploy RAN DU spoke cluster via gitops ZTP with grandmaster ptpconfig configured to use plugin:
      
          apiVersion: ptp.openshift.io/v1
          kind: PtpConfig
          metadata:
            name: grandmaster1
            namespace: openshift-ptp
          spec:
            profile:
            - name: grandmaster1
              plugins:
                e810:
                  enableDefaultConfig: true
      
      2. Check ptp cloud-event-proxy log:
      
          $ oc logs -n openshift-ptp linuxptp-daemon-qqpbt cloud-event-proxy
      
      

      Actual results:

      Error logged in cloud-event proxy:
      
       $ oc logs -n openshift-ptp linuxptp-daemon-qqpbt cloud-event-proxy
      time="2023-06-14T23:42:22Z" level=error msg="cannot open ptp plugin plugin.Open(\"./plugins/ptp_operator_plugin\"): plugin was built with a different version of package k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json" time="2023-06-14T23:42:22Z" level=fatal msg="error loading ptp plugin <nil>"

      Expected results:

      No plugin error in cloud-event-proxy

      Additional info:

      Spoke must-gather:  https://drive.google.com/file/d/18t9bXGAHfoAEe3dyEqSWrVY2Wd1IBTXM/view?usp=sharing

              vgrinber@redhat.com Vitaly Grinberg
              bblock@redhat.com Bonnie Block
              Bonnie Block Bonnie Block
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: