You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "nuhyurduseven (via GitHub)" <gi...@apache.org> on 2023/08/16 06:46:57 UTC

[GitHub] [camel-k] nuhyurduseven opened a new issue, #4669: error: component not found for URI

nuhyurduseven opened a new issue, #4669:
URL: https://github.com/apache/camel-k/issues/4669

   Hi, 
   I want to use camel components in integrations but I an getting errors from operator logs : `error during traits customization: component not found error` and  `errorVerbose: component not found for uri`. I can use any kamelets without problem. However, when I use a component, it throws an error and doesn't work. When I use "--dependency" tag and giving component dependency manually, It doesn't work. I used three components and this situation is not changed. mongodb, graphql and timer components are throws the same error to camel-k operator logs.
   
   when I run the integration yaml file with `jbang` , I can use all components and kamelets together.All components run flawlessly.  I'm using `camel karavan`, you can check my integration and logs below. 
   ![image](https://github.com/apache/camel-k/assets/138458266/fd4e0b6b-c295-4b2b-ab00-34cfa2b5e71c)
   jbang logs:
   ![image](https://github.com/apache/camel-k/assets/138458266/07344d01-6138-482e-9c4a-68f53fad4bde)
   ![image](https://github.com/apache/camel-k/assets/138458266/44f2f8d6-f886-4545-8bb4-f961279b52ff)
   
   
    
   **Camel k operator running on minikube.** 
   
   came-k operator logs for mongodb:
   
   ![image](https://github.com/apache/camel-k/assets/138458266/b7d9c47a-517c-4afe-972b-6e00a46327b2)
   kamel logs:
   
   ![image](https://github.com/apache/camel-k/assets/138458266/9ca57d92-ca17-4361-9ad8-bfcf643d9fa8)
   


-- 
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] nuhyurduseven commented on issue #4669: error: component not found for URI

Posted by "nuhyurduseven (via GitHub)" <gi...@apache.org>.
nuhyurduseven commented on issue #4669:
URL: https://github.com/apache/camel-k/issues/4669#issuecomment-1680298180

   thank you @christophd . 
   
   camel k client 1.12.1
   it's the output of `kamel version`. camel k operator version is same.
   
   I think so. Camel K use quarkus runtime. Actually It's find all kamelets in camel katalog but cannot find components dependencies itself. I gave the dependency as explicit way such as `mvn:org.apache.camel.camel-mongodb` or `-d camel-mongodb` or `-d camel-quarkus:camel-quarkus-mongodb`. All them be failed. I think it still try to fetch dependency itself, it doesn't get my explicit dependency.
   Btw, I gave the `-d github:camel-quarkus/extensions/mongodb` to `kamel run`  command as an explicit dependency but it doesn't work. 
   
   how can control the extension?  
   


-- 
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] christophd commented on issue #4669: error: component not found for URI

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #4669:
URL: https://github.com/apache/camel-k/issues/4669#issuecomment-1680238250

   Which Camel K version are you using?
   
   Camel K uses Camel Extensions for Quarkus (https://github.com/apache/camel-quarkus) as a runtime so first of all we need to make sure that all components from your sample do have an CEQ extension available.


-- 
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] nuhyurduseven commented on issue #4669: error: component not found for URI

Posted by "nuhyurduseven (via GitHub)" <gi...@apache.org>.
nuhyurduseven commented on issue #4669:
URL: https://github.com/apache/camel-k/issues/4669#issuecomment-1681880817

   I noticed that this error is thrown used with yaml route file in camel karavan. When I use a groovy or java file, build is ok but mongodb extension cannot read my "hosts" parameter. It's getting localhost:27017 as address. it's not read my hosts parameter.  
   
   solved partially. in yaml file created from camel karavan is wrong.  I fixed for mongodb and it works. This error is related with the wrong expressions in components uri. I solved this issue for graphql component in yaml. it already works for java or groovy. 
   Thanks. 


-- 
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] nuhyurduseven commented on issue #4669: error: component not found for URI

Posted by "nuhyurduseven (via GitHub)" <gi...@apache.org>.
nuhyurduseven commented on issue #4669:
URL: https://github.com/apache/camel-k/issues/4669#issuecomment-1680389538

   I believe, we will solve the issue. 


-- 
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 #4669: error: component not found for URI

Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j closed issue #4669: error: component not found for URI
URL: https://github.com/apache/camel-k/issues/4669


-- 
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] nuhyurduseven commented on issue #4669: error: component not found for URI

Posted by "nuhyurduseven (via GitHub)" <gi...@apache.org>.
nuhyurduseven commented on issue #4669:
URL: https://github.com/apache/camel-k/issues/4669#issuecomment-1680386913

   
   I upgraded camel client 2.0.0, delete the operator via `kamel remove --all` and re-install the operator to minikube. The error message same but it's different from previous state. 
   
   `{"level":"error","ts":1692182962.8674302,"msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"test","namespace":"default"},"namespace":"default","name":"test","reconcileID":"a01cfca7-14b1-4510-b46a-a8acb0cba070","error":"error during trait customization: component not found for uri \"mongodb?collection=graphql_history&connectionBean=myDb&database=history&hosts=192.168.56.2%3A30005&operation=insert\" in camel catalog runtime version 2.16.0","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 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] nuhyurduseven commented on issue #4669: error: component not found for URI

Posted by "nuhyurduseven (via GitHub)" <gi...@apache.org>.
nuhyurduseven commented on issue #4669:
URL: https://github.com/apache/camel-k/issues/4669#issuecomment-1680361686

   this is full error message from camel-k-operator logs: 
   
   `{"level":"error","ts":1692178936.1908836,"msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"test","namespace":"default"},"namespace":"default","name":"test","reconcileID":"d21effc2-3860-4d07-8447-5bbf8c5eae35","error":"error during trait customization: component not found for uri \"mongodb?collection=graphql_history&connectionBean=myDb&database=history&hosts=192.168.56.2%3A30005&operation=insert\" in camel catalog runtime version 1.17.1","errorVerbose":"component not found for uri \"mongodb?collection=graphql_history&connectionBean=myDb&database=history&hosts=192.168.56.2%3A30005&operation=insert\" in camel catalog runtime version 1.17.1\nerror during trait customization\ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k/pkg/trait/trait.go:59\ngithub.com/apache/camel-k/pkg/controller/integration.(*initializeAction).Handle\n\tgithub.com/apache/camel-k/pkg/con
 troller/integration/initialize.go:54\ngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile\n\tgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:361\ngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile\n\tgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320\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/pk
 g/internal/controller/controller.go:234\nruntime.goexit\n\truntime/asm_amd64.s:1594","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 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 #4669: error: component not found for URI

Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j commented on issue #4669:
URL: https://github.com/apache/camel-k/issues/4669#issuecomment-1682352836

   Can we continue the conversation in https://camel.zulipchat.com ? As this GH issue is intended for bug report and new features discussion.
   Also in zulip chat more people can collaborate.
   It would help if you could post the yaml route in a formatted plain text.


-- 
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