You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "Jay-Chinni (via GitHub)" <gi...@apache.org> on 2023/08/16 16:05:25 UTC
[GitHub] [camel-k] Jay-Chinni opened a new issue, #4670: unable to run sample integration
Jay-Chinni opened a new issue, #4670:
URL: https://github.com/apache/camel-k/issues/4670
I am new to camelK and, I tried to run basic.java integration but its failing with below error:
2023-08-16 21:34:13 {"level":"error","ts":1692201853.3094466,"msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"test","namespace":"test"},"namespace":"test","name":"test","reconcileID":"43f12331-dd3b-47d3-a702-20ff9c0116aa","error":"error during trait customization: unable to find integration container: test","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"}
Any pointers to resolve the issue? TIA
Regards,
Jay
--
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.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] Jay-Chinni commented on issue #4670: unable to run sample integration
Posted by "Jay-Chinni (via GitHub)" <gi...@apache.org>.
Jay-Chinni commented on issue #4670:
URL: https://github.com/apache/camel-k/issues/4670#issuecomment-1681429294
camel-k version is 2.0, no other errors apart from the error mentioned initially.
PFB requested log:
C:\practice>kubectl get it/test -oyaml
apiVersion: camel.apache.org/v1
kind: Integration
metadata:
annotations:
camel.apache.org/operator.id: camel-k
creationTimestamp: "2023-08-16T16:19:12Z"
generation: 1
name: test
namespace: test
resourceVersion: "170928"
uid: 6d47c099-25a3-478d-b2b3-6726cfa8e8e9
spec:
sources:
- content: |
// camel-k: language=java
import org.apache.camel.builder.RouteBuilder;
public class test extends RouteBuilder {
@Override
public void configure() throws Exception {
// Write your routes here, for example:
from("timer:java?period=1000")
//.routeId("java")
.setBody()
.simple("Hello Camel K from")
.to("log:info");
}
}
name: test.java
traits: {}
status:
conditions:
- firstTruthyTime: "2023-08-16T16:19:12Z"
lastTransitionTime: "2023-08-16T16:19:12Z"
lastUpdateTime: "2023-08-16T16:19:12Z"
message: test/camel-k
reason: IntegrationPlatformAvailable
status: "True"
type: IntegrationPlatformAvailable
- lastTransitionTime: "2023-08-16T16:19:12Z"
lastUpdateTime: "2023-08-16T16:19:12Z"
message: integration kit test/kit-cjefe00s6nkupfa608lg is in state "Error"
reason: IntegrationKitAvailable
status: "False"
type: IntegrationKitAvailable
dependencies:
- camel:log
- camel:timer
- mvn:org.apache.camel.k:camel-k-runtime
- mvn:org.apache.camel.quarkus:camel-quarkus-java-joor-dsl
digest: v9mUZSJGdgwy9wuobhyFGlp01QNYe8hW-E9LjEpBMqSA
integrationKit:
name: kit-cjefe00s6nkupfa608lg
namespace: test
lastInitTimestamp: "2023-08-16T16:19:12Z"
observedGeneration: 1
phase: Error
platform: camel-k
profile: Kubernetes
runtimeProvider: quarkus
runtimeVersion: 2.16.0
version: 2.0.0
--
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.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] claudio4j closed issue #4670: unable to run sample integration
Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j closed issue #4670: unable to run sample integration
URL: https://github.com/apache/camel-k/issues/4670
--
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.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] claudio4j commented on issue #4670: unable to run sample integration
Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j commented on issue #4670:
URL: https://github.com/apache/camel-k/issues/4670#issuecomment-1682378091
This discussion moved to [zulip chat](https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/Unable.20to.20run.20sample.20integration/near/385564350)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] claudio4j commented on issue #4670: unable to run sample integration
Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j commented on issue #4670:
URL: https://github.com/apache/camel-k/issues/4670#issuecomment-1681175310
What is the camel-k operator version ?
Are there other errors before that message in camel-k-operator log ?
What is the `kubectl get it/<name> -oyaml` ?
I recommend to use the https://camel.zulipchat.com and post to the camel-k chat room to expect collaboration from the community.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org