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

fix(trait): kamelet spec in running phase #2224

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

squakez
Copy link
Contributor

@squakez squakez commented Apr 15, 2021

Fix #2218

Release Note

fix(trait): kamelet spec in running phase

@nicolaferraro
Copy link
Member

Seems to work locally, it just needs a rebase (which will happen upon merge)

@nicolaferraro nicolaferraro merged commit ea926bc into apache:master Apr 16, 2021
@ogomezdi
Copy link

I've the same issue with camel k 2.0.1
Kamelets generated configmaps are removed when scaling the integration.
operator trace during reconciliation
{"level":"error","ts":1706641282.1487498,"msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"ap-madrid-allergy-migration","namespace":"oh-iengine"},"namespace":"oh-iengine","name":"ap-madrid-allergy-migration","reconcileID":"9d1168c1-7009-44d9-9ab5-5794fd446b5a","error":"error during trait customization: ConfigMap \"ap-madrid-allergy-migration-kamelet-obtener-token-template\" not found","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234"}

@squakez
Copy link
Contributor Author

squakez commented Jan 31, 2024

I've the same issue with camel k 2.0.1 Kamelets generated configmaps are removed when scaling the integration. operator trace during reconciliation {"level":"error","ts":1706641282.1487498,"msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"ap-madrid-allergy-migration","namespace":"oh-iengine"},"namespace":"oh-iengine","name":"ap-madrid-allergy-migration","reconcileID":"9d1168c1-7009-44d9-9ab5-5794fd446b5a","error":"error during trait customization: ConfigMap \"ap-madrid-allergy-migration-kamelet-obtener-token-template\" not found","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234"}

This PR was closed 3 years ago. If there is any regression feel free to open a new issue explaining in details the problem. Mind that we're already released version 2.2.0 so, we invite to test any issue against the latest release versions.

@squakez squakez deleted the fix/2218_cm_error branch January 31, 2024 08:37
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 this pull request may close these issues.

Scaling integrations removes Kamelet ConfigMaps
4 participants