Closed msherif1234 closed 1 month ago
after recent dependa-bot packages update https://github.com/bpfman/bpfman-operator/pull/8 the above function to update obj status not working for some reason need further investigation
024-05-28T14:23:49-04:00 DEBUG fentry reconcileBpfmanProgram() {"shouldBeLoaded": true, "isLoaded": true} 2024-05-28T14:23:49-04:00 DEBUG fentry StateMatch {"loadRequest": "bytecode:{file:\"/tmp/hello.o\"} name:\"test_fentry\" program_type:26 attach:{fentry_attach_info:{fn_name:\"do_unlinkat\"}} metadata:{key:\"bpfman.io/ProgramName\" value:\"fakeFentryProgram\"} metadata:{key:\"bpfman.io/uuid\" value:\"ef71d42c-aa21-48e8-a697-82391d801a81\"}", "loadedBpfProgram": "info:{name:\"test_fentry\" bytecode:{file:\"/tmp/hello.o\"} attach:{fentry_attach_info:{fn_name:\"do_unlinkat\"}} map_owner_id:0 metadata:{key:\"bpfman.io/ProgramName\" value:\"fakeFentryProgram\"} metadata:{key:\"bpfman.io/uuid\" value:\"ef71d42c-aa21-48e8-a697-82391d801a81\"}} kernel_info:{id:20 program_type:26}"} 2024-05-28T14:23:49-04:00 DEBUG fentry Program is in correct state. Nothing to do in bpfman 2024-05-28T14:23:49-04:00 DEBUG fentry updateStatus() {"existing conds": null, "new cond": "Loaded"} 2024-05-28T14:23:49-04:00 DEBUG fentry Updating bpfProgram condition {"bpfProgram": "fakeFentryProgram-fake-control-plane-do-unlinkat", "condition": "Loaded"} 2024-05-28T14:23:49-04:00 ERROR fentry failed to set bpfProgram object status {"error": "bpfprograms.bpfman.io \"fakeFentryProgram-fake-control-plane-do-unlinkat\" not found"}
after recent dependa-bot packages update https://github.com/bpfman/bpfman-operator/pull/8 the above function to update obj status not working for some reason need further investigation