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

Integration reconciler error after operator re-install #5836

Closed
squakez opened this issue Sep 10, 2024 · 0 comments · Fixed by #5843
Closed

Integration reconciler error after operator re-install #5836

squakez opened this issue Sep 10, 2024 · 0 comments · Fixed by #5843
Labels
kind/bug Something isn't working
Milestone

Comments

@squakez
Copy link
Contributor

squakez commented Sep 10, 2024

It's a minor issue, but it deserves some attention to clear the log traces. When an old operator is removed (still CRDs are kept) and a new one is installed, at startup, the new operator complains about some reconciliation:

camel-k-operator-5b686db99f-qbcwz camel-k-operator {"level":"info","ts":"2024-09-10T08:42:29Z","msg":"Starting workers","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","worker count":1}
camel-k-operator-5b686db99f-qbcwz camel-k-operator {"level":"error","ts":"2024-09-10T08:42:29Z","msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"timer-source-to-log-sink","namespace":"default"},"namespace":"default","name":"timer-source-to-log-sink","reconcileID":"5085056b-d811-425d-9a81-2b50865002fa","error":"type assertion failed, not a Deployment: <nil>","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}

This is about an existing Integration which was running and it is eventually taken by the operator and reconciled correctly.

@squakez squakez added the kind/bug Something isn't working label Sep 10, 2024
squakez added a commit to squakez/camel-k that referenced this issue Sep 11, 2024
During an IntegrationPlatform recreation, there is now way to properly set the traits, resulting in monitoring errors.

Closes apache#5836
squakez added a commit to squakez/camel-k that referenced this issue Sep 11, 2024
During an IntegrationPlatform recreation, there is now way to properly set the traits, resulting in monitoring errors.

Closes apache#5836
@squakez squakez added this to the 2.5.0 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant