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

Support ability to add update remove bpf programs for upstream clients

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20.z
    • eBPF Manager
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      ClusterBpfApplication / ClusterBpfApplicationState go into an Error condition with no clear direction to resolve it when there is an update to the loaded program.

      status:
        conditions:
        - lastTransitionTime: "2025-11-10T15:35:08Z"
          message: 'BpfApplication Reconciliation failed on the following BpfApplicationState
            objects: [netobserv-f403b008]'
          reason: Error
          status: "True"
          type: Error
      

      and

      status:
          appLoadStatus: ProgramListChangedError
          conditions:
          - lastTransitionTime: "2025-11-10T15:35:08Z"
            message: An error has occurred
            reason: Error
            status: "True"
            type: Error
          node: worker1.example.com
      

      Logs from the bpfman-daemon:

      2025-11-19T15:31:58.509790782Z {"level":"info","ts":"2025-11-19T15:31:58Z","logger":"cluster-app","msg":"Updating BpfApplicationState Status","Name":"netobserv-987c08a2","UpdateCount":5315927}
      2025-11-19T15:31:58.658289835Z {"level":"info","ts":"2025-11-19T15:31:58Z","logger":"cluster-app","msg":"Found updated BpfApplicationState Status","Attempt":2,"UpdateCount":5315927}
      2025-11-19T15:31:58.658289835Z {"level":"info","ts":"2025-11-19T15:31:58Z","logger":"cluster-app","msg":"BpfApplicationState updated","Name":"netobserv-987c08a2","Status Changed":true}
      2025-11-19T15:31:58.658345725Z {"level":"info","ts":"2025-11-19T15:31:58Z","logger":"cluster-app","msg":"Enter ClusterBpfApplication Reconcile","Name":"netobserv"}
      2025-11-19T15:31:58.658444554Z {"level":"info","ts":"2025-11-19T15:31:58Z","logger":"cluster-app","msg":"Reconciling ClusterBpfApplication","Name":"netobserv"}
      2025-11-19T15:31:58.658510021Z {"level":"info","ts":"2025-11-19T15:31:58Z","logger":"cluster-app","msg":"Calling reconcileLoad()","isBeingDeleted":false}
      2025-11-19T15:31:58.659471098Z {"level":"error","ts":"2025-11-19T15:31:58Z","logger":"cluster-app","msg":"failed to reconcileLoad","error":"programs have been added: xfrm_input_kprobe xfrm_input_kretprobe xfrm_output_kprobe xfrm_output_kretprobe ","stacktrace":"github.com/bpfman/bpfman-operator/controllers/bpfman-agent.(*ClBpfApplicationReconciler).Reconcile\n\t/usr/src/bpfman-operator/controllers/bpfman-agent/cl_application_program.go:189\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile\n\t/usr/src/bpfman-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/usr/src/bpfman-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:334\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/usr/src/bpfman-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/usr/src/bpfman-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:255"}
      

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

      v0.5.10
      

      How reproducible:

      When ever an update happens
      

      Steps to Reproduce:

          1. Update programs for already created BFP Application
          2.
          3.
      

      Actual results:

      BFP App / App Status go into an Error state
      

      Expected results:

      Updates cleanly 
      

      Additional info:

      Not easy for a user to understand the current state or what they would need to do to resolve it.
      

              amcdermo@redhat.com Andrew McDermott
              rhn-support-mrobson Matt Robson
              None
              None
              Mike Fiedler Mike Fiedler
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: