question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Camel-K Operator Error

See original GitHub issue

This is a…


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  
[ ] Documentation issue or request

Steps to reproduce

  1. syndesis install --setup --grant admin --cluster --camel-k
  2. syndesis login -u admin
  3. syndesis install --app-options " --addons dv,camelk" --tag 1.9.0-20200325 --camel-k -w -o
  4. Create simple integration and publish it

I get this error in the Camel operator after I submit the integration:

[INFO] Scanning for projects...
--
  | [ERROR] [ERROR] Some problems were encountered while processing the POMs:
  | [ERROR] Non-resolvable import POM: Failure to find io.syndesis.integration:integration-bom-camel-k:pom:1.9.0-20200325 in https://repo.maven.apache.org/maven2/  was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 16, column 19
  | [ERROR] 'dependencies.dependency.version' for io.syndesis.connector:connector-google-sheets:jar is missing. @ line 37, column 17
  | [ERROR] 'dependencies.dependency.version' for io.syndesis.connector:connector-sql:jar is missing. @ line 41, column 17
  | [ERROR] 'dependencies.dependency.version' for io.syndesis.integration:integration-runtime-camelk:jar is missing. @ line 45, column 17
  | @
  | [ERROR] The build could not read 1 project -> [Help 1]
  | [ERROR]
  | [ERROR]   The project org.apache.camel.k.integration:camel-k-integration:0.3.4 (/tmp/builder-884481992/maven/pom.xml) has 4 errors
  | [ERROR]     Non-resolvable import POM: Failure to find io.syndesis.integration:integration-bom-camel-k:pom:1.9.0-20200325 in https://repo.maven.apache.org/maven2/  was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 16, column 19 -> [Help 2]
  | [ERROR]     'dependencies.dependency.version' for io.syndesis.connector:connector-google-sheets:jar is missing. @ line 37, column 17
  | [ERROR]     'dependencies.dependency.version' for io.syndesis.connector:connector-sql:jar is missing. @ line 41, column 17
  | [ERROR]     'dependencies.dependency.version' for io.syndesis.integration:integration-runtime-camelk:jar is missing. @ line 45, column 17
  | [ERROR]
  | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  | [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  | [ERROR]
  | [ERROR] For more information about the errors and possible solutions, please read the following articles:
  | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
  | [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
  | {"level":"info","ts":1585127672.5948963,"logger":"camel-k.builder","msg":"step failed with error: failure while determining classpath: exit status 1","step":"github.com/apache/camel-k/pkg/builder/ComputeDependencies","phase":20,"context":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.5949392,"logger":"camel-k.builder","msg":"build request ctx-bpti0q27l26nm086ctlg executed in 1.837756141s"}
  | {"level":"info","ts":1585127672.5949585,"logger":"camel-k.builder","msg":"dependencies: [bom:io.syndesis.integration/integration-bom-camel-k/pom/1.9.0-20200325 camel:core mvn:io.syndesis.connector/connector-google-sheets mvn:io.syndesis.connector/connector-sql mvn:io.syndesis.integration/integration-runtime-camelk runtime:jvm]"}
  | {"level":"info","ts":1585127672.5949702,"logger":"camel-k.builder","msg":"artifacts: []"}
  | {"level":"info","ts":1585127672.5949757,"logger":"camel-k.builder","msg":"artifacts selected: []"}
  | {"level":"info","ts":1585127672.5949802,"logger":"camel-k.builder","msg":"requested image: "}
  | {"level":"info","ts":1585127672.594985,"logger":"camel-k.builder","msg":"base image: fabric8/s2i-java:3.0-java8"}
  | {"level":"info","ts":1585127672.5949922,"logger":"camel-k.builder","msg":"resolved image: fabric8/s2i-java:3.0-java8"}
  | {"level":"info","ts":1585127672.5949967,"logger":"camel-k.builder","msg":"resolved public image: "}
  | {"level":"info","ts":1585127672.6120322,"logger":"camel-k.controller.integrationcontext","msg":"Reconciling IntegrationContext","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.6125057,"logger":"camel-k.controller.integrationcontext","msg":"Invoking action build-submitted","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg","api-version":"camel.apache.org/v1alpha1","kind":"IntegrationContext","ns":"syndesis","name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.6126122,"logger":"camel-k.controller.build","msg":"Reconciling Build","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.6126523,"logger":"camel-k.controller.build","msg":"Invoking action error-recovery","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg","api-version":"camel.apache.org/v1alpha1","kind":"Build","ns":"syndesis","name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.6157053,"logger":"camel-k.controller.build","msg":"Max recovery attempt reached, transition to error phase","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg","api-version":"camel.apache.org/v1alpha1","kind":"Build","ns":"syndesis","name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.620783,"logger":"camel-k.controller.integrationcontext","msg":"Reconciling IntegrationContext","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.620921,"logger":"camel-k.controller.integrationcontext","msg":"Invoking action build-submitted","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg","api-version":"camel.apache.org/v1alpha1","kind":"IntegrationContext","ns":"syndesis","name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"error","ts":1585127672.6209471,"logger":"camel-k.controller.integrationcontext","msg":"IntegrationContext state transition","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg","api-version":"camel.apache.org/v1alpha1","kind":"IntegrationContext","ns":"syndesis","name":"ctx-bpti0q27l26nm086ctlg","phase":"Error","error":"failure while determining classpath: exit status 1","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/apache/camel-k/pkg/util/log.Logger.Error\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/util/log/log.go:70\ngithub.com/apache/camel-k/pkg/controller/integrationcontext.(*buildAction).handleBuildRunning\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/controller/integrationcontext/build.go:204\ngithub.com/apache/camel-k/pkg/controller/integrationcontext.(*buildAction).Handle\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/controller/integrationcontext/build.go:60\ngithub.com/apache/camel-k/pkg/controller/integrationcontext.(*ReconcileIntegrationContext).Reconcile\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/controller/integrationcontext/integrationcontext_controller.go:154\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
  | {"level":"info","ts":1585127672.6208656,"logger":"camel-k.controller.build","msg":"Reconciling Build","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.625111,"logger":"camel-k.controller.integrationcontext","msg":"Reconciling IntegrationContext","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127672.6251922,"logger":"camel-k.controller.integrationcontext","msg":"Invoking action monitor","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg","api-version":"camel.apache.org/v1alpha1","kind":"IntegrationContext","ns":"syndesis","name":"ctx-bpti0q27l26nm086ctlg"}
  | {"level":"info","ts":1585127675.7385733,"logger":"camel-k.controller.build","msg":"Reconciling Build","request-namespace":"syndesis","request-name":"ctx-bpti0q27l26nm086ctlg"}

I think this might be the error:

"level":"info","ts":1585127672.5948963,"logger":"camel-k.builder","msg":"step failed with error: failure while determining classpath: exit status 1","step":"github.com/apache/camel-k/pkg/builder/ComputeDependencies","phase":20,"context":"ctx-bpti0q27l26nm086ctlg"}

Description

Are there any additional steps do define?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zregvartcommented, Mar 26, 2020

Thank you for the clarification! So in this release 1.8 (release) Camel-K should be working out of the box, right?

I certainly hope so 😃

0reactions
SvenC56commented, Mar 25, 2020

Thank you for the clarification! So in this release https://github.com/syndesisio/syndesis/releases/tag/1.8 Camel-K should be working out of the box, right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warnings on getting operator versions · Issue #1930 - GitHub
Most likely yes. The way it works, every "online" command try to get the cluster operator version. It matches against the client, and...
Read more >
Kamelet Bindings Error Handler - Apache Camel
Kamelet Binding`s offer a mechanism to specify an error policy to adopt in case an event produced by a source or consumed by...
Read more >
Camel-K Operator v1.6.8 Can Not Pull Image and Gets Stuck ...
Issue. The camel-k-operator pod is stuck in a ImagePullBackOff or CrashLoopBackoff state; The camel-k-operator is generating alerts for ...
Read more >
apache/camel-k - Gitter
Hello All, I am trying to get camel-k working on OKD-11 but it throws me following error. Not sure how to fix it....
Read more >
`camel-k-operator` pod in `CrashLoopBackOff` - Stack Overflow
It's probably a bug with the docker driver. A workaround is to use the hyperv driver instead: minikube start --addons registry --driver ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found