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

Runtime trait failure #3758

Closed
squakez opened this issue Oct 20, 2022 · 3 comments · Fixed by #3788
Closed

Runtime trait failure #3758

squakez opened this issue Oct 20, 2022 · 3 comments · Fixed by #3788
Assignees
Labels
area/runtime kind/bug Something isn't working

Comments

@squakez
Copy link
Contributor

squakez commented Oct 20, 2022

When we use -t camel.runtime-version property, the Integration got stuck and doesn't run.

$ kamel run /tmp/Hello.java --dev -x test -t camel.runtime-version=1.13.0
Integration "hello" created
Condition "IntegrationPlatformAvailable" is "True" for Integration hello: default/test
Progress: integration "hello" in phase Initialization
Integration "hello" in phase "Initialization"
Progress: integration "hello" in phase Building Kit
Integration "hello" in phase "Building Kit"
Condition "IntegrationKitAvailable" is "False" for Integration hello: creating a new integration kit
Integration Kit "kit-cd8h447viejc73dj81fg", created by Integration "hello", changed phase to "Build Submitted"
Build "kit-cd8h447viejc73dj81fg", created by Integration "hello", changed phase to "Scheduling"
Build "kit-cd8h447viejc73dj81fg", created by Integration "hello", changed phase to "Pending"
Build "kit-cd8h447viejc73dj81fg", created by Integration "hello", changed phase to "Running"
Integration Kit "kit-cd8h447viejc73dj81fg", created by Integration "hello", changed phase to "Build Running"
Build "kit-cd8h447viejc73dj81fg", created by Integration "hello", changed phase to "Succeeded"
Integration Kit "kit-cd8h447viejc73dj81fg", created by Integration "hello", changed phase to "Ready"
@squakez squakez added kind/bug Something isn't working area/runtime labels Oct 20, 2022
@squakez squakez self-assigned this Oct 24, 2022
@squakez
Copy link
Contributor Author

squakez commented Oct 24, 2022

Th problem seems to be the non propagation of traits to IntegrationKit and Build when they are not declared as annotations. If we use annotations, then we have another kind of error.

@tadayosi
Copy link
Member

Th problem seems to be the non propagation of traits to IntegrationKit and Build when they are not declared as annotations. If we use annotations, then we have another kind of error.

I'm curious about the issue. Probably it's because right now only Builder, Quarkus, and Registry are possible kit traits while Camel trait is not.

squakez added a commit to squakez/camel-k that referenced this issue Oct 31, 2022
@squakez
Copy link
Contributor Author

squakez commented Oct 31, 2022

Great hint @tadayosi. Indeed, the problem was related to the fact the trait was not included for the Kit.

squakez added a commit that referenced this issue Nov 2, 2022
squakez added a commit to squakez/camel-k that referenced this issue Nov 2, 2022
squakez added a commit that referenced this issue Nov 3, 2022
squakez added a commit to jboss-fuse/camel-k that referenced this issue Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/runtime kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants