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

Deployment on K3s failing with Spectrum build strategy #2160

Closed
orpiske opened this issue Mar 23, 2021 · 2 comments
Closed

Deployment on K3s failing with Spectrum build strategy #2160

orpiske opened this issue Mar 23, 2021 · 2 comments
Assignees
Labels
area/build-operator Related to the internal image build operator kind/bug Something isn't working

Comments

@orpiske
Copy link
Contributor

orpiske commented Mar 23, 2021

Hello,

this is based on a discussion I had with @astefanutti. The deployment / build on K3s is currently broken on master. After running a bisect, I identified the problem with the following commit: 0a21ad0

Unfortunately the log is not very helpful for this one and this is the only thing it prints (right after the successful maven build):

    [INFO] Finished at: 2021-03-23T11:25:07Z                                                                                                                                                                                             [20/1918]
    [INFO] ------------------------------------------------------------------------                                                                                                                                                              
    {"level":"info","ts":1616498707.4079368,"logger":"camel-k.builder","msg":"step done in 14.497658 seconds","step":"github.com/apache/camel-k/pkg/builder/BuildQuarkusRunner","phase":20,"task":"builder"}                                      {"level":"info","ts":1616498707.4081702,"logger":"camel-k.builder","msg":"executing step","step":"github.com/apache/camel-k/pkg/builder/ComputeQuarkusDependencies","phase":21,"task":"builder"}
    {"level":"info","ts":1616498707.437278,"logger":"camel-k.builder","msg":"step done in 0.028991 seconds","step":"github.com/apache/camel-k/pkg/builder/ComputeQuarkusDependencies","phase":21,"task":"builder"}                                {"level":"info","ts":1616498707.437353,"logger":"camel-k.builder","msg":"executing step","step":"github.com/apache/camel-k/pkg/builder/IncrementalImageContext","phase":30,"task":"builder"}
    {"level":"info","ts":1616498707.4589062,"logger":"camel-k.builder","msg":"step done in 0.021523 seconds","step":"github.com/apache/camel-k/pkg/builder/IncrementalImageContext","phase":30,"task":"builder"}
    {"level":"info","ts":1616498707.4590774,"logger":"camel-k.builder","msg":"dependencies: [camel-quarkus:log camel-quarkus:timer mvn:org.apache.camel.k:camel-k-loader-java mvn:org.apache.camel.k:camel-k-runtime]"}                           {"level":"info","ts":1616498707.4591792,"logger":"camel-k.builder","msg":"artifacts: [camel-k-integration-1.4.0-SNAPSHOT.jar io.quarkus.quarkus-bootstrap-runner-1.12.0.Final.jar io.quarkus.quarkus-development-mode-spi-1.12.0.Final.jar io.
    smallrye.common.smallrye-common-io-1.5.0.jar org.jboss.logging.jboss-logging-3.4.1.Final.jar org.jboss.logmanager.jboss-logmanager-embedded-1.0.6.jar org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar io.quarkus.arc.arc-1.12.0.F
    inal.jar io.quarkus.quarkus-arc-1.12.0.Final.jar io.quarkus.quarkus-core-1.12.0.Final.jar io.smallrye.common.smallrye-common-annotation-1.5.0.jar io.smallrye.common.smallrye-common-classloader-1.5.0.jar io.smallrye.common.smallrye-common-
    constraint-1.5.0.jar io.smallrye.common.smallrye-common-expression-1.5.0.jar io.smallrye.common.smallrye-common-function-1.5.0.jar io.smallrye.config.smallrye-config-1.10.2.jar io.smallrye.config.smallrye-config-common-1.10.2.jar jakarta.annotation.jakarta.annotation-api-1.3.5.jar jakarta.el.jakarta.el-api-3.0.3.jar jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar jakarta.inject.jakarta.inject-api-1.0.jar jakarta.interceptor.jakarta.interceptor-api-1.2.5.jar jakart
    a.transaction.jakarta.transaction-api-1.3.3.jar org.apache.camel.camel-api-3.8.0.jar org.apache.camel.camel-base-3.8.0.jar org.apache.camel.camel-base-engine-3.8.0.jar org.apache.camel.camel-bean-3.8.0.jar org.apache.camel.camel-component
    dsl-3.8.0.jar org.apache.camel.camel-core-catalog-3.8.0.jar org.apache.camel.camel-core-engine-3.8.0.jar org.apache.camel.camel-core-languages-3.8.0.jar org.apache.camel.camel-core-model-3.8.0.jar org.apache.camel.camel-core-processor-3.8
    .0.jar org.apache.camel.camel-core-reifier-3.8.0.jar org.apache.camel.camel-endpointdsl-3.8.0.jar org.apache.camel.camel-log-3.8.0.jar org.apache.camel.camel-main-3.8.0.jar org.apache.camel.camel-management-api-3.8.0.jar org.apache.camel.
    camel-microprofile-config-3.8.0.jar org.apache.camel.camel-support-3.8.0.jar org.apache.camel.camel-timer-3.8.0.jar org.apache.camel.camel-tooling-model-3.8.0.jar org.apache.camel.camel-util-3.8.0.jar org.apache.camel.camel-util-json-3.8.
    0.jar org.apache.camel.k.camel-k-core-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-core-api-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-core-support-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-loader-java-1.7.0-SNAPSHOT.jar org.apach
    e.camel.k.camel-k-loader-java-impl-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-runtime-1.7.0-SNAPSHOT.jar org.apache.camel.quarkus.camel-quarkus-bean-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-core-1.7.0.jar org.apache.camel.quark
    us.camel-quarkus-endpointdsl-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-log-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-main-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-support-common-1.7.0.jar org.apache.camel.quarkus.cam
    el-quarkus-timer-1.7.0.jar org.eclipse.microprofile.config.microprofile-config-api-1.4.jar org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar org.graalvm.sdk.graal-sdk-21.0.0.jar org.jboss.logging.jboss-logging-annotations-2.2.0.Final.jar org.jboss.slf4j.slf4j-jboss-logmanager-1.1.0.Final.jar org.jboss.threads.jboss-threads-3.2.0.Final.jar org.jooq.joor-0.9.13.jar org.slf4j.slf4j-api-1.7.30.jar generated-bytecode.jar quarkus-applic
    ation.dat quarkus-run.jar]"}
    {"level":"info","ts":1616498707.4593155,"logger":"camel-k.builder","msg":"artifacts selected: [camel-k-integration-1.4.0-SNAPSHOT.jar io.quarkus.quarkus-bootstrap-runner-1.12.0.Final.jar io.quarkus.quarkus-development-mode-spi-1.12.0.Fina
    l.jar io.smallrye.common.smallrye-common-io-1.5.0.jar org.jboss.logging.jboss-logging-3.4.1.Final.jar org.jboss.logmanager.jboss-logmanager-embedded-1.0.6.jar org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar io.quarkus.arc.arc
    -1.12.0.Final.jar io.quarkus.quarkus-arc-1.12.0.Final.jar io.quarkus.quarkus-core-1.12.0.Final.jar io.smallrye.common.smallrye-common-annotation-1.5.0.jar io.smallrye.common.smallrye-common-classloader-1.5.0.jar io.smallrye.common.smallry
    e-common-constraint-1.5.0.jar io.smallrye.common.smallrye-common-expression-1.5.0.jar io.smallrye.common.smallrye-common-function-1.5.0.jar io.smallrye.config.smallrye-config-1.10.2.jar io.smallrye.config.smallrye-config-common-1.10.2.jar
     jakarta.annotation.jakarta.annotation-api-1.3.5.jar jakarta.el.jakarta.el-api-3.0.3.jar jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar jakarta.inject.jakarta.inject-api-1.0.jar jakarta.interceptor.jakarta.interceptor-api-1.2.5.j
    ar jakarta.transaction.jakarta.transaction-api-1.3.3.jar org.apache.camel.camel-api-3.8.0.jar org.apache.camel.camel-base-3.8.0.jar org.apache.camel.camel-base-engine-3.8.0.jar org.apache.camel.camel-bean-3.8.0.jar org.apache.camel.camel-
    componentdsl-3.8.0.jar org.apache.camel.camel-core-catalog-3.8.0.jar org.apache.camel.camel-core-engine-3.8.0.jar org.apache.camel.camel-core-languages-3.8.0.jar org.apache.camel.camel-core-model-3.8.0.jar org.apache.camel.camel-core-proc
    essor-3.8.0.jar org.apache.camel.camel-core-reifier-3.8.0.jar org.apache.camel.camel-endpointdsl-3.8.0.jar org.apache.camel.camel-log-3.8.0.jar org.apache.camel.camel-main-3.8.0.jar org.apache.camel.camel-management-api-3.8.0.jar org.apac
    he.camel.camel-microprofile-config-3.8.0.jar org.apache.camel.camel-support-3.8.0.jar org.apache.camel.camel-timer-3.8.0.jar org.apache.camel.camel-tooling-model-3.8.0.jar org.apache.camel.camel-util-3.8.0.jar org.apache.camel.camel-util-
    json-3.8.0.jar org.apache.camel.k.camel-k-core-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-core-api-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-core-support-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-loader-java-1.7.0-SNAPSHOT.jar
    org.apache.camel.k.camel-k-loader-java-impl-1.7.0-SNAPSHOT.jar org.apache.camel.k.camel-k-runtime-1.7.0-SNAPSHOT.jar org.apache.camel.quarkus.camel-quarkus-bean-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-core-1.7.0.jar org.apache.ca
    mel.quarkus.camel-quarkus-endpointdsl-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-log-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-main-1.7.0.jar org.apache.camel.quarkus.camel-quarkus-support-common-1.7.0.jar org.apache.camel.qu
    arkus.camel-quarkus-timer-1.7.0.jar org.eclipse.microprofile.config.microprofile-config-api-1.4.jar org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar org.graalvm.sdk.graal-sdk-21.0.0.jar org.jboss
    .logging.jboss-logging-annotations-2.2.0.Final.jar org.jboss.slf4j.slf4j-jboss-logmanager-1.1.0.Final.jar org.jboss.threads.jboss-threads-3.2.0.Final.jar org.jooq.joor-0.9.13.jar org.slf4j.slf4j-api-1.7.30.jar generated-bytecode.jar quark
    us-application.dat quarkus-run.jar]"}
    {"level":"info","ts":1616498707.459356,"logger":"camel-k.builder","msg":"base image: "}
    {"level":"info","ts":1616498707.459362,"logger":"camel-k.builder","msg":"resolved base image: k3s-node-master.usersys.redhat.com/opiske/openjdk11:slim"}
    {"level":"info","ts":1616498707.494592,"logger":"camel-k.controller.build","msg":"Build state transition","request-namespace":"camel-basic","request-name":"kit-c1ct017kvs2mntf3b5ug","api-version":"camel.apache.org/v1","kind":"Build","ns":
    "camel-basic","name":"kit-c1ct017kvs2mntf3b5ug","phase":"Error"}
    {"level":"info","ts":1616498707.496507,"logger":"camel-k.controller.build","msg":"Reconciling Build","request-namespace":"camel-basic","request-name":"kit-c1ct017kvs2mntf3b5ug"}
    {"level":"info","ts":1616498707.4966183,"logger":"camel-k.controller.build","msg":"Invoking action error","request-namespace":"camel-basic","request-name":"kit-c1ct017kvs2mntf3b5ug","api-version":"camel.apache.org/v1","kind":"Build","ns":
    "camel-basic","name":"kit-c1ct017kvs2mntf3b5ug"}
@orpiske
Copy link
Contributor Author

orpiske commented Mar 23, 2021

@astefanutti @nicolaferraro I am assigning this one to myself, but I'll be a bit busy for the next couple of days ... so feel free to take it over from me if you want so.

@orpiske orpiske self-assigned this Mar 23, 2021
@orpiske orpiske added the kind/bug Something isn't working label Mar 23, 2021
@astefanutti astefanutti added the area/build-operator Related to the internal image build operator label Mar 24, 2021
@orpiske
Copy link
Contributor Author

orpiske commented Mar 24, 2021

This is a red herring and is actually caused by items being left being left behind after uninstall. Therefore closing and referring to #2168 as the actual issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build-operator Related to the internal image build operator kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants