Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.Status().Update() returns object not found during UT from both operator and agent controllers #9

Closed
msherif1234 opened this issue May 28, 2024 · 0 comments · Fixed by #10

Comments

@msherif1234
Copy link
Contributor

msherif1234 commented May 28, 2024

after recent dependa-bot packages update #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"}
@msherif1234 msherif1234 changed the title r.Status().Update() returns object not found from both operator and agent controllers r.Status().Update() returns object not found during UT from both operator and agent controllers May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant