You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/11/13 11:42:11 UTC
[GitHub] [camel-k] abouchama opened a new issue #1057: Camel K Operator
don't ignore commented endpoint in the JAVA DSL source
abouchama opened a new issue #1057: Camel K Operator don't ignore commented endpoint in the JAVA DSL source
URL: https://github.com/apache/camel-k/issues/1057
Camel K Operator don't ignore commented endpoint in the JAVA DSL source
If we comment the [line](https://github.com/astefanutti/camel-knative/blob/master/RestServing.java#L21):
`// .to("knative:endpoint/telegram-serving")`
and we run the following:
Kamel run [RestServing.java](https://github.com/astefanutti/camel-knative/blob/master/RestServing.java)
We see the following error in the camelk operator:
```
{"level":"info","ts":1573641928.1801512,"logger":"camel-k.trait","msg":"Apply trait: camel"}
{"level":"info","ts":1573641928.1809523,"logger":"camel-k.trait","msg":"Apply trait: gc"}
{"level":"info","ts":1573641928.1849155,"logger":"camel-k.trait","msg":"Apply trait: knative"}
{"level":"error","ts":1573641928.2057805,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"integration-controller","request":"knativetutorial/rest-serving","error":"error during trait customization: cannot find endpoint telegram-serving","errorVerbose":"cannot find endpoint telegram-serving\ngithub.com/apache/camel-k/pkg/trait.(*knativeTrait).withServiceDo\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/trait/knative.go:377\ngithub.com/apache/camel-k/pkg/trait.(*knativeTrait).ifServiceMissingDo\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/trait/knative.go:353\ngithub.com/apache/camel-k/pkg/trait.(*knativeTrait).configureEndpoints\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/trait/knative.go:268\ngithub.com/apache/camel-k/pkg/trait.(*knativeTrait).Apply\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/trait/knative.go:167\ngithub.com/apache/camel-k/pkg/trait.(*Catalog).apply\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/trait/trait_catalog.go:214\ngithub.com/apache/camel-k/pkg/trait.Apply\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/trait/trait.go:46\ngithub.com/apache/camel-k/pkg/controller/integration.(*deployAction).Handle\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/controller/integration/deploy.go:56\ngithub.com/apache/camel-k/pkg/controller/integration.(*ReconcileIntegration).Reconcile\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/controller/integration/integration_controller.go:281\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:216\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:192\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:171\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:88\nruntime.goexit\n\t/opt/go-1.12.2/src/runtime/asm_amd64.s:1337\nerror during trait customization\ngithub.com/apache/camel-k/pkg/trait.Apply\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/trait/trait.go:47\ngithub.com/apache/camel-k/pkg/controller/integration.(*deployAction).Handle\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/controller/integration/deploy.go:56\ngithub.com/apache/camel-k/pkg/controller/integration.(*ReconcileIntegration).Reconcile\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/controller/integration/integration_controller.go:281\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:216\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:192\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:171\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:88\nruntime.goexit\n\t/opt/go-1.12.2/src/runtime/asm_amd64.s:1337","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/nferraro/gopaths/camel-k/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:218\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:192\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/nferraro/gopaths/camel-k/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:171\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/nferraro/gopaths/camel-k/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:88"}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services