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

Failed to load Program","error":"failed to load bpfProgram via bpfman

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • No Doc Update

      Description of problem:

      bpfman errors out in conjuction with ingress node firewall operator
      
      $ oc logs -n bpfman bpfman-daemon-h7xn5 -c bpfman-agent | grep -i error
      {"level":"error","ts":"2024-08-19T15:00:12Z","logger":"application","msg":"Failed to load Program","error":"failed to load bpfProgram via bpfman: rpc error: code = Aborted desc = missing field `io.ebpf.program_name` at line 1 column 343","stacktrace":"github.com/bpfman/bpfman-operator/controllers/bpfman-agent.(*ReconcilerCommon).reconcileBpfProgram\n\t/usr/src/bpfman-operator/controllers/bpfman-agent/common.go:268\ngithub.com/bpfman/bpfman-operator/controllers/bpfman-agent.(*ReconcilerCommon).handleProgCreateOrUpdate\n\t/usr/src/bpfman-operator/controllers/bpfman-agent/common.go:740\ngithub.com/bpfman/bpfman-operator/controllers/bpfman-agent.(*ReconcilerCommon).reconcileProgram\n\t/usr/src/bpfman-operator/controllers/bpfman-agent/common.go:857\ngithub.com/bpfman/bpfman-operator/controllers/bpfman-agent.(*ReconcilerCommon).reconcileCommon\n\t/usr/src/bpfman-operator/controllers/bpfman-agent/common.go:167\ngithub.com/bpfman/bpfman-operator/controllers/bpfman-agent.(*BpfApplicationReconciler).Reconcile\n\t/usr/src/bpfman-operator/controllers/bpfman-agent/application-program.go:247\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:114\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:311\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:261\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:222"}
      {"l

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

          4.17.0-0.nightly-2024-08-18-131731/ bpfman 0.5.0

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Install bpfman from operator hub
          2. Install ingress node firewall operator 
          3. ebpfProgramManagerNode: true under infw config
          4. and Run ingress node firewall tests     

      Actual results:

      bpfman daemons erroring out    

      Expected results:

          tests should run successfully

      Additional info:

          

              mmahmoud@redhat.com Mohamed Mahmoud
              anusaxen Anurag Saxena
              Anurag Saxena Anurag Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: