Skip to content

Java Operator crashing on startup after upgrading to Quarkus 1.12.1 #357

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

Closed
jeratora opened this issue Mar 5, 2021 · 19 comments · Fixed by #359
Closed

Java Operator crashing on startup after upgrading to Quarkus 1.12.1 #357

jeratora opened this issue Mar 5, 2021 · 19 comments · Fixed by #359

Comments

@jeratora
Copy link

jeratora commented Mar 5, 2021

Version of the Operator SDK : 1.7.2

Platform :

  • Debian Buster
  • openjdk version "11.0.9" 2020-10-20
  • OpenJDK Runtime Environment GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06

The steps taken to cause the bug :

  1. Upgrade from Quarkus 1.10.1 to 1.12.1
  2. mvn quarkus:dev

2021-03-05 10:54:05,544 ERROR [io.qua.run.boo.StartupActionImpl] (Quarkus Main Thread) Error running Quarkus: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.runner.bootstrap.StartupActionImpl$3.run(StartupActionImpl.java:134) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.client.dsl.MixedOperation io.fabric8.kubernetes.client.V1ApiextensionAPIGroupDSL.customResourceDefinitions()' at io.javaoperatorsdk.operator.Operator.register(Operator.java:106) at io.javaoperatorsdk.operator.Operator.register(Operator.java:63) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at io.javaoperatorsdk.quarkus.extension.OperatorProducer.operator(OperatorProducer.java:24) at io.javaoperatorsdk.quarkus.extension.OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.create(OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.zig:334) at io.javaoperatorsdk.quarkus.extension.OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.create(OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.zig:349) at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:96) at io.quarkus.arc.impl.AbstractSharedContext.access$000(AbstractSharedContext.java:14) at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:29) at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:26) at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:26) at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69) at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:26) at io.javaoperatorsdk.quarkus.extension.OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.get(OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.zig:381) at io.javaoperatorsdk.quarkus.extension.OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.get(OperatorProducer_ProducerMethod_operator_a8440c868181d0f10deca15fb7a236e1362600c2_Bean.zig:397) at com.fruit.QuarkusOperator_Bean.create(QuarkusOperator_Bean.zig:304) at com.fruit.QuarkusOperator_Bean.create(QuarkusOperator_Bean.zig:344) at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:96) at io.quarkus.arc.impl.AbstractSharedContext.access$000(AbstractSharedContext.java:14) at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:29) at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:26) at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:26) at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69) at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:26) at io.quarkus.arc.impl.ClientProxies.getApplicationScopedDelegate(ClientProxies.java:17) at com.fruit.QuarkusOperator_ClientProxy.arc$delegate(QuarkusOperator_ClientProxy.zig:67) at com.fruit.QuarkusOperator_ClientProxy.run(QuarkusOperator_ClientProxy.zig:126) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:122) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at com.fruit.QuarkusOperator.main(QuarkusOperator.java:26)

Quarkus libs : 1.12.1.Final
Kubernetes Client and Model libs : 5.1.1
Java Operator libs : 1.7.2

Thank you in advance for any hint.

@metacosm
Copy link
Collaborator

metacosm commented Mar 5, 2021

Can you provide the output of mvn dependency:tree on your project, please?

@jeratora
Copy link
Author

jeratora commented Mar 5, 2021

(sorry attachment didn't work for me).

[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ entitlement-operator ---
[INFO] com.fruit:entitlement-operator:jar:1.0.0-SNAPSHOT
[INFO] +- com.fruit:oda-security:jar:1.2.0-SNAPSHOT:compile
[INFO] | +- io.quarkus:quarkus-rest-client:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-resteasy-common:jar:1.12.1.Final:compile
[INFO] | | | +- org.jboss.resteasy:resteasy-core:jar:4.5.9.Final:compile
[INFO] | | | | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final:compile
[INFO] | | | | +- org.jboss.resteasy:resteasy-core-spi:jar:4.5.9.Final:compile
[INFO] | | | | +- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] | | | | +- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] | | | | - com.ibm.async:asyncutil:jar:0.1.0:compile
[INFO] | | | - com.sun.activation:jakarta.activation:jar:1.2.1:compile
[INFO] | | +- org.jboss.resteasy:resteasy-client-microprofile:jar:4.5.9.Final:compile
[INFO] | | | +- org.jboss.resteasy:resteasy-client:jar:4.5.9.Final:compile
[INFO] | | | | +- org.jboss.resteasy:resteasy-client-api:jar:4.5.9.Final:compile
[INFO] | | | | +- commons-codec:commons-codec:jar:1.14:compile
[INFO] | | | | - commons-io:commons-io:jar:2.8.0:compile
[INFO] | | | - org.eclipse.microprofile.rest.client:microprofile-rest-client-api:jar:1.4.1:compile
[INFO] | | +- jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5:compile
[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore-nio:jar:4.4.14:compile
[INFO] | | | - org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | | - org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final:compile
[INFO] | +- io.quarkus:quarkus-resteasy-jackson:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-resteasy:jar:1.12.1.Final:compile
[INFO] | | | - io.quarkus:quarkus-resteasy-server-common:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-jackson:jar:1.12.1.Final:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.1:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.1:compile
[INFO] | | | - com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.1:compile
[INFO] | | +- org.jboss.resteasy:resteasy-jackson2-provider:jar:4.5.9.Final:compile
[INFO] | | | +- org.jboss.resteasy:resteasy-jaxb-provider:jar:4.5.9.Final:compile
[INFO] | | | | - org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
[INFO] | | | | +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
[INFO] | | | | - com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
[INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.1:compile
[INFO] | | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.1:compile
[INFO] | | | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.1:compile
[INFO] | | | | - com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.1:compile
[INFO] | | | | - jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] | | | - com.github.java-json-tools:json-patch:jar:1.13:compile
[INFO] | | | +- com.github.java-json-tools:msg-simple:jar:1.2:compile
[INFO] | | | | - com.github.java-json-tools:btf:jar:1.3:compile
[INFO] | | | - com.github.java-json-tools:jackson-coreutils:jar:2.0:compile
[INFO] | | - org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final:compile
[INFO] | +- io.quarkus:quarkus-smallrye-jwt:jar:1.12.1.Final:compile
[INFO] | | +- io.smallrye:smallrye-jwt:jar:2.4.3:compile
[INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | | +- io.quarkus:quarkus-vertx-web:jar:1.12.1.Final:compile
[INFO] | | | +- io.quarkus:quarkus-vertx:jar:1.12.1.Final:compile
[INFO] | | | | +- io.quarkus:quarkus-mutiny:jar:1.12.1.Final:compile
[INFO] | | | | | +- io.quarkus:quarkus-smallrye-context-propagation:jar:1.12.1.Final:compile
[INFO] | | | | | | - io.smallrye:smallrye-context-propagation:jar:1.1.0:compile
[INFO] | | | | | | +- io.smallrye:smallrye-context-propagation-api:jar:1.1.0:compile
[INFO] | | | | | | - io.smallrye:smallrye-context-propagation-storage:jar:1.1.0:compile
[INFO] | | | | | - io.smallrye.reactive:mutiny-context-propagation:jar:0.13.0:compile
[INFO] | | | | - io.smallrye.reactive:smallrye-mutiny-vertx-core:jar:1.4.0:compile
[INFO] | | | | +- io.smallrye.reactive:smallrye-mutiny-vertx-runtime:jar:1.4.0:compile
[INFO] | | | | - io.smallrye.reactive:vertx-mutiny-generator:jar:1.4.0:compile
[INFO] | | | | - io.vertx:vertx-codegen:jar:3.9.5:compile
[INFO] | | | | - org.mvel:mvel2:jar:2.4.12.Final:compile
[INFO] | | | - io.smallrye.common:smallrye-common-annotation:jar:1.5.0:compile
[INFO] | | - io.quarkus:quarkus-security:jar:1.12.1.Final:compile
[INFO] | - io.quarkus:quarkus-cache:jar:1.12.1.Final:compile
[INFO] | - io.quarkus:quarkus-caffeine:jar:1.12.1.Final:compile
[INFO] | - com.github.ben-manes.caffeine:caffeine:jar:2.8.8:compile
[INFO] | - com.google.errorprone:error_prone_annotations:jar:2.2.0:compile
[INFO] +- io.quarkus:quarkus-junit5:jar:1.12.1.Final:test
[INFO] | +- io.quarkus:quarkus-bootstrap-core:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-app-model:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-maven-resolver:jar:1.12.1.Final:test
[INFO] | | | +- org.apache.maven:maven-embedder:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-settings:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-core:jar:3.6.3:test
[INFO] | | | | | +- org.apache.maven:maven-artifact:jar:3.6.3:test
[INFO] | | | | | - org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:test
[INFO] | | | | +- org.apache.maven:maven-plugin-api:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-model:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-model-builder:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-builder-support:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:test
[INFO] | | | | +- org.apache.maven.shared:maven-shared-utils:jar:3.2.1:test
[INFO] | | | | +- com.google.inject:guice:jar:no_aop:4.2.1:test
[INFO] | | | | | - com.google.guava:guava:jar:30.1-jre:test
[INFO] | | | | | +- com.google.guava:failureaccess:jar:1.0.1:test
[INFO] | | | | | - com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test
[INFO] | | | | +- org.codehaus.plexus:plexus-utils:jar:3.2.1:test
[INFO] | | | | +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test
[INFO] | | | | +- commons-cli:commons-cli:jar:1.4:test
[INFO] | | | | - org.apache.commons:commons-lang3:jar:3.11:test
[INFO] | | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:test
[INFO] | | | +- org.apache.maven:maven-settings-builder:jar:3.6.3:test
[INFO] | | | | +- org.codehaus.plexus:plexus-interpolation:jar:1.25:test
[INFO] | | | | - org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:test
[INFO] | | | | - org.sonatype.plexus:plexus-cipher:jar:1.4:test
[INFO] | | | +- org.apache.maven:maven-resolver-provider:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-repository-metadata:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.4.1:test
[INFO] | | | | - org.apache.maven.resolver:maven-resolver-impl:jar:1.4.1:test
[INFO] | | | +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.4.1:test
[INFO] | | | +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.4.1:test
[INFO] | | | +- org.apache.maven.wagon:wagon-http:jar:3.3.4:test
[INFO] | | | | +- org.apache.maven.wagon:wagon-http-shared:jar:3.3.4:test
[INFO] | | | | | - org.jsoup:jsoup:jar:1.12.1:test
[INFO] | | | | - org.apache.maven.wagon:wagon-provider-api:jar:3.3.4:test
[INFO] | | | - org.apache.maven.wagon:wagon-file:jar:3.3.4:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:1.12.1.Final:test
[INFO] | | - io.smallrye.common:smallrye-common-io:jar:1.5.0:compile
[INFO] | +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:test
[INFO] | +- io.quarkus:quarkus-test-common:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-core-deployment:jar:1.12.1.Final:test
[INFO] | | | +- io.quarkus.gizmo:gizmo:jar:1.0.6.Final:test
[INFO] | | | | - org.ow2.asm:asm-util:jar:9.0:test
[INFO] | | | | +- org.ow2.asm:asm-tree:jar:9.0:test
[INFO] | | | | - org.ow2.asm:asm-analysis:jar:9.0:test
[INFO] | | | +- org.ow2.asm:asm:jar:9.0:test
[INFO] | | | +- io.quarkus:quarkus-class-change-agent:jar:1.12.1.Final:test
[INFO] | | | +- io.quarkus:quarkus-devtools-utilities:jar:1.12.1.Final:test
[INFO] | | | - io.quarkus:quarkus-builder:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-jsonp-deployment:jar:1.12.1.Final:test
[INFO] | | - org.jboss:jandex:jar:2.2.3.Final:compile
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
[INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test
[INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
[INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test
[INFO] | +- io.quarkus:quarkus-core:jar:1.12.1.Final:compile
[INFO] | | +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile
[INFO] | | | - jakarta.el:jakarta.el-api:jar:3.0.3:compile
[INFO] | | +- jakarta.inject:jakarta.inject-api:jar:1.0:compile
[INFO] | | +- io.quarkus:quarkus-ide-launcher:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-development-mode-spi:jar:1.12.1.Final:compile
[INFO] | | +- io.smallrye.config:smallrye-config:jar:1.10.2:compile
[INFO] | | | +- io.smallrye.config:smallrye-config-common:jar:1.10.2:compile
[INFO] | | | +- io.smallrye.common:smallrye-common-expression:jar:1.5.0:compile
[INFO] | | | | - io.smallrye.common:smallrye-common-function:jar:1.5.0:compile
[INFO] | | | +- io.smallrye.common:smallrye-common-constraint:jar:1.5.0:compile
[INFO] | | | - io.smallrye.common:smallrye-common-classloader:jar:1.5.0:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] | | +- org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.6:compile
[INFO] | | +- org.jboss.logging:jboss-logging-annotations:jar:2.2.0.Final:compile
[INFO] | | +- org.jboss.threads:jboss-threads:jar:3.2.0.Final:compile
[INFO] | | +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] | | +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.1.0.Final:compile
[INFO] | | +- org.graalvm.sdk:graal-sdk:jar:21.0.0:compile
[INFO] | | +- org.wildfly.common:wildfly-common:jar:1.5.4.Final-format-001:compile
[INFO] | | - io.quarkus:quarkus-bootstrap-runner:jar:1.12.1.Final:compile
[INFO] | - com.thoughtworks.xstream:xstream:jar:1.4.15:test
[INFO] | +- xmlpull:xmlpull:jar:1.1.3.1:test
[INFO] | - xpp3:xpp3_min:jar:1.1.4c:test
[INFO] +- io.javaoperatorsdk:operator-framework-quarkus-extension:jar:1.7.2:compile
[INFO] | +- io.javaoperatorsdk:operator-framework-core:jar:1.7.2:compile
[INFO] | | - io.fabric8:openshift-client:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model:jar:5.1.1:compile
[INFO] | | | - io.fabric8:kubernetes-model-common:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model-operator:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model-operatorhub:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model-monitoring:jar:5.1.1:compile
[INFO] | | - io.fabric8:openshift-model-console:jar:5.1.1:compile
[INFO] | +- io.quarkus.arc:arc:jar:1.12.1.Final:compile
[INFO] | | - jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] | +- io.quarkus:quarkus-kubernetes-client:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-kubernetes-client-internal:jar:1.12.1.Final:compile
[INFO] | | +- io.fabric8:kubernetes-client:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-core:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-rbac:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-admissionregistration:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-apps:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-autoscaling:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-apiextensions:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-batch:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-certificates:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-coordination:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-discovery:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-events:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-extensions:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-networking:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-metrics:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-policy:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-scheduling:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-storageclass:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-node:jar:5.1.1:compile
[INFO] | | | +- com.squareup.okhttp3:okhttp:jar:3.14.9:compile
[INFO] | | | | - com.squareup.okio:okio:jar:1.17.2:compile
[INFO] | | | +- com.squareup.okhttp3:logging-interceptor:jar:3.14.9:compile
[INFO] | | | +- io.fabric8:zjsonpatch:jar:0.3.0:compile
[INFO] | | | - com.github.mifmif:generex:jar:1.0.2:compile
[INFO] | | | - dk.brics.automaton:automaton:jar:1.11-8:compile
[INFO] | | +- org.apache.commons:commons-compress:jar:1.20:compile
[INFO] | | - io.smallrye.config:smallrye-config-source-yaml:jar:1.10.2:compile
[INFO] | | - org.yaml:snakeyaml:jar:1.27:compile
[INFO] | +- io.quarkus:quarkus-kubernetes:jar:1.12.1.Final:compile
[INFO] | +- io.quarkus:quarkus-container-image-jib:jar:1.12.1.Final:compile
[INFO] | - io.quarkus:quarkus-smallrye-health:jar:1.12.1.Final:compile
[INFO] | +- io.smallrye:smallrye-health:jar:2.2.6:compile
[INFO] | | +- org.eclipse.microprofile.health:microprofile-health-api:jar:2.2:compile
[INFO] | | - io.smallrye:smallrye-health-api:jar:2.2.6:compile
[INFO] | - io.smallrye:smallrye-health-provided-checks:jar:2.2.6:compile
[INFO] +- io.quarkus:quarkus-smallrye-openapi:jar:1.12.1.Final:compile
[INFO] | +- io.smallrye:smallrye-open-api-core:jar:2.0.22:compile
[INFO] | | +- org.eclipse.microprofile.openapi:microprofile-openapi-api:jar:1.1.2:compile
[INFO] | | +- org.eclipse.microprofile.config:microprofile-config-api:jar:1.4:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.1:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.1:compile
[INFO] | | - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.1:compile
[INFO] | +- io.quarkus:quarkus-vertx-http:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-security-runtime-spi:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-vertx-http-dev-console-runtime-spi:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus.security:quarkus-security:jar:1.1.3.Final:compile
[INFO] | | | - io.smallrye.reactive:mutiny:jar:0.13.0:compile
[INFO] | | +- io.quarkus:quarkus-vertx-core:jar:1.12.1.Final:compile
[INFO] | | | +- io.quarkus:quarkus-netty:jar:1.12.1.Final:compile
[INFO] | | | | +- io.netty:netty-codec:jar:4.1.49.Final:compile
[INFO] | | | | - io.netty:netty-handler:jar:4.1.49.Final:compile
[INFO] | | | - io.vertx:vertx-core:jar:3.9.5:compile
[INFO] | | | +- io.netty:netty-common:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-buffer:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-transport:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-handler-proxy:jar:4.1.49.Final:compile
[INFO] | | | | - io.netty:netty-codec-socks:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-codec-http:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-codec-http2:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-resolver:jar:4.1.49.Final:compile
[INFO] | | | - io.netty:netty-resolver-dns:jar:4.1.49.Final:compile
[INFO] | | | - io.netty:netty-codec-dns:jar:4.1.49.Final:compile
[INFO] | | - io.vertx:vertx-web:jar:3.9.5:compile
[INFO] | | +- io.vertx:vertx-web-common:jar:3.9.5:compile
[INFO] | | +- io.vertx:vertx-auth-common:jar:3.9.5:compile
[INFO] | | - io.vertx:vertx-bridge-common:jar:3.9.5:compile
[INFO] | +- io.quarkus:quarkus-arc:jar:1.12.1.Final:compile
[INFO] | | - org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.0.1:compile
[INFO] | - io.quarkus:quarkus-swagger-ui:jar:1.12.1.Final:compile
[INFO] - io.quarkus:quarkus-smallrye-jwt-build:jar:1.12.1.Final:compile
[INFO] +- io.smallrye:smallrye-jwt-build:jar:2.4.3:compile
[INFO] | +- org.eclipse.microprofile.jwt:microprofile-jwt-auth-api:jar:1.1.1:compile
[INFO] | +- org.bitbucket.b_c:jose4j:jar:0.7.6:compile
[INFO] | - io.smallrye:smallrye-jwt-common:jar:2.4.3:compile
[INFO] - io.quarkus:quarkus-jsonp:jar:1.12.1.Final:compile
[INFO] - org.glassfish:jakarta.json:jar:1.1.6:compile

@metacosm
Copy link
Collaborator

metacosm commented Mar 5, 2021

I don't see anything obvious in the dependencies… I was thinking that maybe an older version of the client had somehow snuck in but this doesn't appear to be the case.
Try a full build, running mvn clean compile quarkus:dev? If that doesn't work, I think we'd need a way to reproduce the issue because I haven't seen this so far.

@jeratora
Copy link
Author

jeratora commented Mar 5, 2021

For now, the only way I managed to make it work in a hackish way is

  1. to exclude kubernetes-client / kubernetes-model / openshift-model from the dependencies
  2. add them again with a lower version : 5.0.0.

Seems like the signature of the method has changed :

Before :
public interface V1ApiextensionAPIGroupDSL extends Client { MixedOperation<CustomResourceDefinition, CustomResourceDefinitionList, Resource<CustomResourceDefinition>> customResourceDefinitions(); }

After:
public interface V1ApiextensionAPIGroupDSL extends Client { NonNamespaceOperation<CustomResourceDefinition, CustomResourceDefinitionList, Resource<CustomResourceDefinition>> customResourceDefinitions(); }

@metacosm
Copy link
Collaborator

metacosm commented Mar 5, 2021

Yes, the signature has changed but I don't understand why that's causing an issue if there are no conflicting versions of the lib in your dependencies…
So I take that a clean build didn't help?

@jeratora
Copy link
Author

jeratora commented Mar 5, 2021

No, unfortunately it did not.

@metacosm
Copy link
Collaborator

metacosm commented Mar 5, 2021

🤔 Now that I take another look, it looks like your mvn dependency:tree output might be truncated, is this really the full one?

@jeratora
Copy link
Author

jeratora commented Mar 5, 2021

Yes, just missing the finally status line.

[INFO]
[INFO] ------------------< com.fruit:entitlement-operator >-------------------
[INFO] Building entitlement-operator 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ entitlement-operator ---
[INFO] com.fruit:entitlement-operator:jar:1.0.0-SNAPSHOT
[INFO] +- com.fruit:oda-security:jar:1.2.0-SNAPSHOT:compile
[INFO] | +- io.quarkus:quarkus-rest-client:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-resteasy-common:jar:1.12.1.Final:compile
[INFO] | | | +- org.jboss.resteasy:resteasy-core:jar:4.5.9.Final:compile
[INFO] | | | | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final:compile
[INFO] | | | | +- org.jboss.resteasy:resteasy-core-spi:jar:4.5.9.Final:compile
[INFO] | | | | +- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] | | | | +- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] | | | | - com.ibm.async:asyncutil:jar:0.1.0:compile
[INFO] | | | - com.sun.activation:jakarta.activation:jar:1.2.1:compile
[INFO] | | +- org.jboss.resteasy:resteasy-client-microprofile:jar:4.5.9.Final:compile
[INFO] | | | +- org.jboss.resteasy:resteasy-client:jar:4.5.9.Final:compile
[INFO] | | | | +- org.jboss.resteasy:resteasy-client-api:jar:4.5.9.Final:compile
[INFO] | | | | +- commons-codec:commons-codec:jar:1.14:compile
[INFO] | | | | - commons-io:commons-io:jar:2.8.0:compile
[INFO] | | | - org.eclipse.microprofile.rest.client:microprofile-rest-client-api:jar:1.4.1:compile
[INFO] | | +- jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5:compile
[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore-nio:jar:4.4.14:compile
[INFO] | | | - org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | | - org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final:compile
[INFO] | +- io.quarkus:quarkus-resteasy-jackson:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-resteasy:jar:1.12.1.Final:compile
[INFO] | | | - io.quarkus:quarkus-resteasy-server-common:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-jackson:jar:1.12.1.Final:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.1:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.1:compile
[INFO] | | | - com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.1:compile
[INFO] | | +- org.jboss.resteasy:resteasy-jackson2-provider:jar:4.5.9.Final:compile
[INFO] | | | +- org.jboss.resteasy:resteasy-jaxb-provider:jar:4.5.9.Final:compile
[INFO] | | | | - org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
[INFO] | | | | +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
[INFO] | | | | - com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
[INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.1:compile
[INFO] | | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.1:compile
[INFO] | | | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.1:compile
[INFO] | | | | - com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.1:compile
[INFO] | | | | - jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] | | | - com.github.java-json-tools:json-patch:jar:1.13:compile
[INFO] | | | +- com.github.java-json-tools:msg-simple:jar:1.2:compile
[INFO] | | | | - com.github.java-json-tools:btf:jar:1.3:compile
[INFO] | | | - com.github.java-json-tools:jackson-coreutils:jar:2.0:compile
[INFO] | | - org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final:compile
[INFO] | +- io.quarkus:quarkus-smallrye-jwt:jar:1.12.1.Final:compile
[INFO] | | +- io.smallrye:smallrye-jwt:jar:2.4.3:compile
[INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | | +- io.quarkus:quarkus-vertx-web:jar:1.12.1.Final:compile
[INFO] | | | +- io.quarkus:quarkus-vertx:jar:1.12.1.Final:compile
[INFO] | | | | +- io.quarkus:quarkus-mutiny:jar:1.12.1.Final:compile
[INFO] | | | | | +- io.quarkus:quarkus-smallrye-context-propagation:jar:1.12.1.Final:compile
[INFO] | | | | | | - io.smallrye:smallrye-context-propagation:jar:1.1.0:compile
[INFO] | | | | | | +- io.smallrye:smallrye-context-propagation-api:jar:1.1.0:compile
[INFO] | | | | | | - io.smallrye:smallrye-context-propagation-storage:jar:1.1.0:compile
[INFO] | | | | | - io.smallrye.reactive:mutiny-context-propagation:jar:0.13.0:compile
[INFO] | | | | - io.smallrye.reactive:smallrye-mutiny-vertx-core:jar:1.4.0:compile
[INFO] | | | | +- io.smallrye.reactive:smallrye-mutiny-vertx-runtime:jar:1.4.0:compile
[INFO] | | | | - io.smallrye.reactive:vertx-mutiny-generator:jar:1.4.0:compile
[INFO] | | | | - io.vertx:vertx-codegen:jar:3.9.5:compile
[INFO] | | | | - org.mvel:mvel2:jar:2.4.12.Final:compile
[INFO] | | | - io.smallrye.common:smallrye-common-annotation:jar:1.5.0:compile
[INFO] | | - io.quarkus:quarkus-security:jar:1.12.1.Final:compile
[INFO] | - io.quarkus:quarkus-cache:jar:1.12.1.Final:compile
[INFO] | - io.quarkus:quarkus-caffeine:jar:1.12.1.Final:compile
[INFO] | - com.github.ben-manes.caffeine:caffeine:jar:2.8.8:compile
[INFO] | - com.google.errorprone:error_prone_annotations:jar:2.2.0:compile
[INFO] +- io.quarkus:quarkus-junit5:jar:1.12.1.Final:test
[INFO] | +- io.quarkus:quarkus-bootstrap-core:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-app-model:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-maven-resolver:jar:1.12.1.Final:test
[INFO] | | | +- org.apache.maven:maven-embedder:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-settings:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-core:jar:3.6.3:test
[INFO] | | | | | +- org.apache.maven:maven-artifact:jar:3.6.3:test
[INFO] | | | | | - org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:test
[INFO] | | | | +- org.apache.maven:maven-plugin-api:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-model:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-model-builder:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-builder-support:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:test
[INFO] | | | | +- org.apache.maven.shared:maven-shared-utils:jar:3.2.1:test
[INFO] | | | | +- com.google.inject:guice:jar:no_aop:4.2.1:test
[INFO] | | | | | - com.google.guava:guava:jar:30.1-jre:test
[INFO] | | | | | +- com.google.guava:failureaccess:jar:1.0.1:test
[INFO] | | | | | - com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test
[INFO] | | | | +- org.codehaus.plexus:plexus-utils:jar:3.2.1:test
[INFO] | | | | +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test
[INFO] | | | | +- commons-cli:commons-cli:jar:1.4:test
[INFO] | | | | - org.apache.commons:commons-lang3:jar:3.11:test
[INFO] | | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:test
[INFO] | | | +- org.apache.maven:maven-settings-builder:jar:3.6.3:test
[INFO] | | | | +- org.codehaus.plexus:plexus-interpolation:jar:1.25:test
[INFO] | | | | - org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:test
[INFO] | | | | - org.sonatype.plexus:plexus-cipher:jar:1.4:test
[INFO] | | | +- org.apache.maven:maven-resolver-provider:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven:maven-repository-metadata:jar:3.6.3:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.4.1:test
[INFO] | | | | - org.apache.maven.resolver:maven-resolver-impl:jar:1.4.1:test
[INFO] | | | +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.4.1:test
[INFO] | | | +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.4.1:test
[INFO] | | | +- org.apache.maven.wagon:wagon-http:jar:3.3.4:test
[INFO] | | | | +- org.apache.maven.wagon:wagon-http-shared:jar:3.3.4:test
[INFO] | | | | | - org.jsoup:jsoup:jar:1.12.1:test
[INFO] | | | | - org.apache.maven.wagon:wagon-provider-api:jar:3.3.4:test
[INFO] | | | - org.apache.maven.wagon:wagon-file:jar:3.3.4:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:1.12.1.Final:test
[INFO] | | - io.smallrye.common:smallrye-common-io:jar:1.5.0:compile
[INFO] | +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:test
[INFO] | +- io.quarkus:quarkus-test-common:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-core-deployment:jar:1.12.1.Final:test
[INFO] | | | +- io.quarkus.gizmo:gizmo:jar:1.0.6.Final:test
[INFO] | | | | - org.ow2.asm:asm-util:jar:9.0:test
[INFO] | | | | +- org.ow2.asm:asm-tree:jar:9.0:test
[INFO] | | | | - org.ow2.asm:asm-analysis:jar:9.0:test
[INFO] | | | +- org.ow2.asm:asm:jar:9.0:test
[INFO] | | | +- io.quarkus:quarkus-class-change-agent:jar:1.12.1.Final:test
[INFO] | | | +- io.quarkus:quarkus-devtools-utilities:jar:1.12.1.Final:test
[INFO] | | | - io.quarkus:quarkus-builder:jar:1.12.1.Final:test
[INFO] | | +- io.quarkus:quarkus-jsonp-deployment:jar:1.12.1.Final:test
[INFO] | | - org.jboss:jandex:jar:2.2.3.Final:compile
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
[INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test
[INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
[INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test
[INFO] | +- io.quarkus:quarkus-core:jar:1.12.1.Final:compile
[INFO] | | +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile
[INFO] | | | - jakarta.el:jakarta.el-api:jar:3.0.3:compile
[INFO] | | +- jakarta.inject:jakarta.inject-api:jar:1.0:compile
[INFO] | | +- io.quarkus:quarkus-ide-launcher:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-development-mode-spi:jar:1.12.1.Final:compile
[INFO] | | +- io.smallrye.config:smallrye-config:jar:1.10.2:compile
[INFO] | | | +- io.smallrye.config:smallrye-config-common:jar:1.10.2:compile
[INFO] | | | +- io.smallrye.common:smallrye-common-expression:jar:1.5.0:compile
[INFO] | | | | - io.smallrye.common:smallrye-common-function:jar:1.5.0:compile
[INFO] | | | +- io.smallrye.common:smallrye-common-constraint:jar:1.5.0:compile
[INFO] | | | - io.smallrye.common:smallrye-common-classloader:jar:1.5.0:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] | | +- org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.6:compile
[INFO] | | +- org.jboss.logging:jboss-logging-annotations:jar:2.2.0.Final:compile
[INFO] | | +- org.jboss.threads:jboss-threads:jar:3.2.0.Final:compile
[INFO] | | +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] | | +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.1.0.Final:compile
[INFO] | | +- org.graalvm.sdk:graal-sdk:jar:21.0.0:compile
[INFO] | | +- org.wildfly.common:wildfly-common:jar:1.5.4.Final-format-001:compile
[INFO] | | - io.quarkus:quarkus-bootstrap-runner:jar:1.12.1.Final:compile
[INFO] | - com.thoughtworks.xstream:xstream:jar:1.4.15:test
[INFO] | +- xmlpull:xmlpull:jar:1.1.3.1:test
[INFO] | - xpp3:xpp3_min:jar:1.1.4c:test
[INFO] +- io.javaoperatorsdk:operator-framework-quarkus-extension:jar:1.7.1:compile
[INFO] | +- io.javaoperatorsdk:operator-framework-core:jar:1.7.1:compile
[INFO] | | - io.fabric8:openshift-client:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model:jar:5.1.1:compile
[INFO] | | | - io.fabric8:kubernetes-model-common:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model-operator:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model-operatorhub:jar:5.1.1:compile
[INFO] | | +- io.fabric8:openshift-model-monitoring:jar:5.1.1:compile
[INFO] | | - io.fabric8:openshift-model-console:jar:5.1.1:compile
[INFO] | +- io.quarkus.arc:arc:jar:1.12.1.Final:compile
[INFO] | | - jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] | +- io.quarkus:quarkus-kubernetes-client:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-kubernetes-client-internal:jar:1.12.1.Final:compile
[INFO] | | +- io.fabric8:kubernetes-client:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-core:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-rbac:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-admissionregistration:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-apps:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-autoscaling:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-apiextensions:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-batch:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-certificates:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-coordination:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-discovery:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-events:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-extensions:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-networking:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-metrics:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-policy:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-scheduling:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-storageclass:jar:5.1.1:compile
[INFO] | | | +- io.fabric8:kubernetes-model-node:jar:5.1.1:compile
[INFO] | | | +- com.squareup.okhttp3:okhttp:jar:3.14.9:compile
[INFO] | | | | - com.squareup.okio:okio:jar:1.17.2:compile
[INFO] | | | +- com.squareup.okhttp3:logging-interceptor:jar:3.14.9:compile
[INFO] | | | +- io.fabric8:zjsonpatch:jar:0.3.0:compile
[INFO] | | | - com.github.mifmif:generex:jar:1.0.2:compile
[INFO] | | | - dk.brics.automaton:automaton:jar:1.11-8:compile
[INFO] | | +- org.apache.commons:commons-compress:jar:1.20:compile
[INFO] | | - io.smallrye.config:smallrye-config-source-yaml:jar:1.10.2:compile
[INFO] | | - org.yaml:snakeyaml:jar:1.27:compile
[INFO] | +- io.quarkus:quarkus-kubernetes:jar:1.12.1.Final:compile
[INFO] | +- io.quarkus:quarkus-container-image-jib:jar:1.12.1.Final:compile
[INFO] | - io.quarkus:quarkus-smallrye-health:jar:1.12.1.Final:compile
[INFO] | +- io.smallrye:smallrye-health:jar:2.2.6:compile
[INFO] | | +- org.eclipse.microprofile.health:microprofile-health-api:jar:2.2:compile
[INFO] | | - io.smallrye:smallrye-health-api:jar:2.2.6:compile
[INFO] | - io.smallrye:smallrye-health-provided-checks:jar:2.2.6:compile
[INFO] +- io.quarkus:quarkus-smallrye-openapi:jar:1.12.1.Final:compile
[INFO] | +- io.smallrye:smallrye-open-api-core:jar:2.0.22:compile
[INFO] | | +- org.eclipse.microprofile.openapi:microprofile-openapi-api:jar:1.1.2:compile
[INFO] | | +- org.eclipse.microprofile.config:microprofile-config-api:jar:1.4:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.1:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.1:compile
[INFO] | | - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.1:compile
[INFO] | +- io.quarkus:quarkus-vertx-http:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-security-runtime-spi:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-vertx-http-dev-console-runtime-spi:jar:1.12.1.Final:compile
[INFO] | | +- io.quarkus.security:quarkus-security:jar:1.1.3.Final:compile
[INFO] | | | - io.smallrye.reactive:mutiny:jar:0.13.0:compile
[INFO] | | +- io.quarkus:quarkus-vertx-core:jar:1.12.1.Final:compile
[INFO] | | | +- io.quarkus:quarkus-netty:jar:1.12.1.Final:compile
[INFO] | | | | +- io.netty:netty-codec:jar:4.1.49.Final:compile
[INFO] | | | | - io.netty:netty-handler:jar:4.1.49.Final:compile
[INFO] | | | - io.vertx:vertx-core:jar:3.9.5:compile
[INFO] | | | +- io.netty:netty-common:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-buffer:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-transport:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-handler-proxy:jar:4.1.49.Final:compile
[INFO] | | | | - io.netty:netty-codec-socks:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-codec-http:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-codec-http2:jar:4.1.49.Final:compile
[INFO] | | | +- io.netty:netty-resolver:jar:4.1.49.Final:compile
[INFO] | | | - io.netty:netty-resolver-dns:jar:4.1.49.Final:compile
[INFO] | | | - io.netty:netty-codec-dns:jar:4.1.49.Final:compile
[INFO] | | - io.vertx:vertx-web:jar:3.9.5:compile
[INFO] | | +- io.vertx:vertx-web-common:jar:3.9.5:compile
[INFO] | | +- io.vertx:vertx-auth-common:jar:3.9.5:compile
[INFO] | | - io.vertx:vertx-bridge-common:jar:3.9.5:compile
[INFO] | +- io.quarkus:quarkus-arc:jar:1.12.1.Final:compile
[INFO] | | - org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.0.1:compile
[INFO] | - io.quarkus:quarkus-swagger-ui:jar:1.12.1.Final:compile
[INFO] - io.quarkus:quarkus-smallrye-jwt-build:jar:1.12.1.Final:compile
[INFO] +- io.smallrye:smallrye-jwt-build:jar:2.4.3:compile
[INFO] | +- org.eclipse.microprofile.jwt:microprofile-jwt-auth-api:jar:1.1.1:compile
[INFO] | +- org.bitbucket.b_c:jose4j:jar:0.7.6:compile
[INFO] | - io.smallrye:smallrye-jwt-common:jar:2.4.3:compile
[INFO] - io.quarkus:quarkus-jsonp:jar:1.12.1.Final:compile
[INFO] - org.glassfish:jakarta.json:jar:1.1.6:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.049 s
[INFO] Finished at: 2021-03-05T16:01:01Z
[INFO] ------------------------------------------------------------------------

@maxandersen
Copy link

just to exclude all options - you have done a mvn clean before doing mvn quarkus:dev?

just be sure its not some mixup of deps/old output .

@jeratora
Copy link
Author

jeratora commented Mar 5, 2021

I've just tried using the suggested command : mvn clean compile quarkus:dev.

Besides that, another colleague of mine has the same problem (similar environment).

@metacosm
Copy link
Collaborator

metacosm commented Mar 5, 2021

Any way you could provide us with a sample repository we could use to reproduce the issue?

@cortex93
Copy link

cortex93 commented Mar 5, 2021

Any way you could provide us with a sample repository we could use to reproduce the issue?

Having the same behaviour. Checkouting 1.7.2-snapshot and upgrading fabric8-client.version to 5.1.1 resolve the issue. I'll try to isolate in a repro project

@cortex93
Copy link

cortex93 commented Mar 5, 2021

example-operator.zip

@cortex93
Copy link

cortex93 commented Mar 5, 2021

[INFO] org.mhildenb.javaoperator.tutorial:java-op-sdk-tutorial:jar:1.0.0-SNAPSHOT
[INFO] +- io.quarkus:quarkus-jsonb:jar:1.12.1.Final:compile
[INFO] |  +- org.eclipse:yasson:jar:1.0.8:compile
[INFO] |  |  \- jakarta.json.bind:jakarta.json.bind-api:jar:1.0.2:compile
[INFO] |  +- io.quarkus:quarkus-core:jar:1.12.1.Final:compile
[INFO] |  |  +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile
[INFO] |  |  |  \- jakarta.el:jakarta.el-api:jar:3.0.3:compile
[INFO] |  |  +- jakarta.inject:jakarta.inject-api:jar:1.0:compile
[INFO] |  |  +- io.quarkus:quarkus-ide-launcher:jar:1.12.1.Final:compile
[INFO] |  |  +- io.quarkus:quarkus-development-mode-spi:jar:1.12.1.Final:compile
[INFO] |  |  +- io.smallrye.config:smallrye-config:jar:1.10.2:compile
[INFO] |  |  |  +- io.smallrye.common:smallrye-common-annotation:jar:1.5.0:compile
[INFO] |  |  |  +- io.smallrye.common:smallrye-common-expression:jar:1.5.0:compile
[INFO] |  |  |  |  \- io.smallrye.common:smallrye-common-function:jar:1.5.0:compile
[INFO] |  |  |  \- io.smallrye.common:smallrye-common-classloader:jar:1.5.0:compile
[INFO] |  |  +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] |  |  +- org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.6:compile
[INFO] |  |  +- org.jboss.logging:jboss-logging-annotations:jar:2.2.0.Final:compile
[INFO] |  |  +- org.jboss.threads:jboss-threads:jar:3.2.0.Final:compile
[INFO] |  |  +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] |  |  +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.1.0.Final:compile
[INFO] |  |  +- org.graalvm.sdk:graal-sdk:jar:21.0.0:compile
[INFO] |  |  +- org.wildfly.common:wildfly-common:jar:1.5.4.Final-format-001:compile
[INFO] |  |  \- io.quarkus:quarkus-bootstrap-runner:jar:1.12.1.Final:compile
[INFO] |  \- io.quarkus:quarkus-jsonp:jar:1.12.1.Final:compile
[INFO] |     \- org.glassfish:jakarta.json:jar:1.1.6:compile
[INFO] +- io.quarkus:quarkus-rest-client:jar:1.12.1.Final:compile
[INFO] |  +- io.quarkus:quarkus-resteasy-common:jar:1.12.1.Final:compile
[INFO] |  |  +- org.jboss.resteasy:resteasy-core:jar:4.5.9.Final:compile
[INFO] |  |  |  +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final:compile
[INFO] |  |  |  +- org.jboss.resteasy:resteasy-core-spi:jar:4.5.9.Final:compile
[INFO] |  |  |  +- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] |  |  |  +- com.ibm.async:asyncutil:jar:0.1.0:compile
[INFO] |  |  |  \- org.eclipse.microprofile.config:microprofile-config-api:jar:1.4:compile
[INFO] |  |  \- com.sun.activation:jakarta.activation:jar:1.2.1:compile
[INFO] |  +- org.jboss.resteasy:resteasy-client-microprofile:jar:4.5.9.Final:compile
[INFO] |  |  +- org.jboss.resteasy:resteasy-client:jar:4.5.9.Final:compile
[INFO] |  |  |  \- org.jboss.resteasy:resteasy-client-api:jar:4.5.9.Final:compile
[INFO] |  |  \- org.eclipse.microprofile.rest.client:microprofile-rest-client-api:jar:1.4.1:compile
[INFO] |  +- jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5:compile
[INFO] |  +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
[INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] |  |  \- org.apache.httpcomponents:httpcore-nio:jar:4.4.14:compile
[INFO] |  \- org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final:compile
[INFO] +- io.quarkus:quarkus-jdbc-mssql:jar:1.12.1.Final:compile
[INFO] |  +- com.microsoft.sqlserver:mssql-jdbc:jar:7.2.2.jre8:compile
[INFO] |  \- com.microsoft.azure:adal4j:jar:1.6.6:compile
[INFO] |     \- com.nimbusds:oauth2-oidc-sdk:jar:7.4:compile
[INFO] |        \- com.nimbusds:content-type:jar:2.0:compile
[INFO] +- io.quarkus:quarkus-resteasy-jsonb:jar:1.12.1.Final:compile
[INFO] |  +- org.jboss.resteasy:resteasy-json-binding-provider:jar:4.5.9.Final:compile
[INFO] |  +- org.jboss.resteasy:resteasy-json-p-provider:jar:4.5.9.Final:compile
[INFO] |  \- commons-io:commons-io:jar:2.8.0:compile
[INFO] +- io.quarkus:quarkus-kubernetes-client:jar:1.12.1.Final:compile
[INFO] |  +- io.quarkus:quarkus-kubernetes-client-internal:jar:1.12.1.Final:compile
[INFO] |  +- io.quarkus:quarkus-jackson:jar:1.12.1.Final:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.1:compile
[INFO] |  |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.1:compile
[INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.1:compile
[INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.1:compile
[INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.1:compile
[INFO] |  +- io.fabric8:kubernetes-client:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-core:jar:5.1.1:compile
[INFO] |  |  |  \- io.fabric8:kubernetes-model-common:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-rbac:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-admissionregistration:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-apps:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-autoscaling:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-apiextensions:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-batch:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-certificates:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-coordination:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-discovery:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-events:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-extensions:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-networking:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-metrics:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-policy:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-scheduling:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-storageclass:jar:5.1.1:compile
[INFO] |  |  +- io.fabric8:kubernetes-model-node:jar:5.1.1:compile
[INFO] |  |  +- com.squareup.okhttp3:okhttp:jar:3.14.9:compile
[INFO] |  |  |  \- com.squareup.okio:okio:jar:1.17.2:compile
[INFO] |  |  +- com.squareup.okhttp3:logging-interceptor:jar:3.14.9:compile
[INFO] |  |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.1:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-core:jar:2.12.1:compile
[INFO] |  |  +- io.fabric8:zjsonpatch:jar:0.3.0:compile
[INFO] |  |  \- com.github.mifmif:generex:jar:1.0.2:compile
[INFO] |  |     \- dk.brics.automaton:automaton:jar:1.11-8:compile
[INFO] |  +- org.apache.commons:commons-compress:jar:1.20:compile
[INFO] |  +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] |  +- org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final:compile
[INFO] |  \- io.smallrye.config:smallrye-config-source-yaml:jar:1.10.2:compile
[INFO] |     +- org.yaml:snakeyaml:jar:1.27:compile
[INFO] |     +- io.smallrye.config:smallrye-config-common:jar:1.10.2:compile
[INFO] |     \- io.smallrye.common:smallrye-common-constraint:jar:1.5.0:compile
[INFO] +- io.quarkus:quarkus-smallrye-health:jar:1.12.1.Final:compile
[INFO] |  +- io.smallrye:smallrye-health:jar:2.2.6:compile
[INFO] |  |  +- org.eclipse.microprofile.health:microprofile-health-api:jar:2.2:compile
[INFO] |  |  \- io.smallrye:smallrye-health-api:jar:2.2.6:compile
[INFO] |  |     \- io.smallrye.reactive:mutiny:jar:0.13.0:compile
[INFO] |  +- io.smallrye:smallrye-health-provided-checks:jar:2.2.6:compile
[INFO] |  \- io.quarkus:quarkus-vertx-http:jar:1.12.1.Final:compile
[INFO] |     +- io.quarkus:quarkus-security-runtime-spi:jar:1.12.1.Final:compile
[INFO] |     +- io.quarkus:quarkus-vertx-http-dev-console-runtime-spi:jar:1.12.1.Final:compile
[INFO] |     +- io.quarkus.security:quarkus-security:jar:1.1.3.Final:compile
[INFO] |     +- io.quarkus:quarkus-vertx-core:jar:1.12.1.Final:compile
[INFO] |     |  +- io.quarkus:quarkus-netty:jar:1.12.1.Final:compile
[INFO] |     |  |  +- io.netty:netty-codec:jar:4.1.49.Final:compile
[INFO] |     |  |  \- io.netty:netty-handler:jar:4.1.49.Final:compile
[INFO] |     |  \- io.vertx:vertx-core:jar:3.9.5:compile
[INFO] |     |     +- io.netty:netty-common:jar:4.1.49.Final:compile
[INFO] |     |     +- io.netty:netty-buffer:jar:4.1.49.Final:compile
[INFO] |     |     +- io.netty:netty-transport:jar:4.1.49.Final:compile
[INFO] |     |     +- io.netty:netty-handler-proxy:jar:4.1.49.Final:compile
[INFO] |     |     |  \- io.netty:netty-codec-socks:jar:4.1.49.Final:compile
[INFO] |     |     +- io.netty:netty-codec-http:jar:4.1.49.Final:compile
[INFO] |     |     +- io.netty:netty-codec-http2:jar:4.1.49.Final:compile
[INFO] |     |     +- io.netty:netty-resolver:jar:4.1.49.Final:compile
[INFO] |     |     \- io.netty:netty-resolver-dns:jar:4.1.49.Final:compile
[INFO] |     |        \- io.netty:netty-codec-dns:jar:4.1.49.Final:compile
[INFO] |     \- io.vertx:vertx-web:jar:3.9.5:compile
[INFO] |        +- io.vertx:vertx-web-common:jar:3.9.5:compile
[INFO] |        +- io.vertx:vertx-auth-common:jar:3.9.5:compile
[INFO] |        \- io.vertx:vertx-bridge-common:jar:3.9.5:compile
[INFO] +- io.quarkus:quarkus-kubernetes:jar:1.12.1.Final:compile
[INFO] +- io.quarkus:quarkus-container-image-jib:jar:1.12.1.Final:compile
[INFO] +- io.quarkus:quarkus-arc:jar:1.12.1.Final:compile
[INFO] |  +- io.quarkus.arc:arc:jar:1.12.1.Final:compile
[INFO] |  |  \- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] |  \- org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.0.1:compile
[INFO] +- io.quarkus:quarkus-resteasy:jar:1.12.1.Final:compile
[INFO] |  \- io.quarkus:quarkus-resteasy-server-common:jar:1.12.1.Final:compile
[INFO] |     \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] +- io.quarkus:quarkus-junit5:jar:1.12.1.Final:test
[INFO] |  +- io.quarkus:quarkus-bootstrap-core:jar:1.12.1.Final:test
[INFO] |  |  +- io.quarkus:quarkus-bootstrap-app-model:jar:1.12.1.Final:test
[INFO] |  |  +- io.quarkus:quarkus-bootstrap-maven-resolver:jar:1.12.1.Final:test
[INFO] |  |  |  +- org.apache.maven:maven-embedder:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-settings:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-core:jar:3.6.3:test
[INFO] |  |  |  |  |  +- org.apache.maven:maven-artifact:jar:3.6.3:test
[INFO] |  |  |  |  |  \- org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:test
[INFO] |  |  |  |  +- org.apache.maven:maven-plugin-api:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-model:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-model-builder:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-builder-support:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:test
[INFO] |  |  |  |  +- org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:test
[INFO] |  |  |  |  +- org.apache.maven.shared:maven-shared-utils:jar:3.2.1:test
[INFO] |  |  |  |  +- com.google.inject:guice:jar:no_aop:4.2.1:test
[INFO] |  |  |  |  |  \- com.google.guava:guava:jar:30.1-jre:test
[INFO] |  |  |  |  |     +- com.google.guava:failureaccess:jar:1.0.1:test
[INFO] |  |  |  |  |     \- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test
[INFO] |  |  |  |  +- org.codehaus.plexus:plexus-utils:jar:3.2.1:test
[INFO] |  |  |  |  +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test
[INFO] |  |  |  |  \- commons-cli:commons-cli:jar:1.4:test
[INFO] |  |  |  +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:test
[INFO] |  |  |  +- org.apache.maven:maven-settings-builder:jar:3.6.3:test
[INFO] |  |  |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.25:test
[INFO] |  |  |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:test
[INFO] |  |  |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:test
[INFO] |  |  |  +- org.apache.maven:maven-resolver-provider:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-repository-metadata:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven.resolver:maven-resolver-spi:jar:1.4.1:test
[INFO] |  |  |  |  \- org.apache.maven.resolver:maven-resolver-impl:jar:1.4.1:test
[INFO] |  |  |  +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.4.1:test
[INFO] |  |  |  +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.4.1:test
[INFO] |  |  |  +- org.apache.maven.wagon:wagon-http:jar:3.3.4:test
[INFO] |  |  |  |  +- org.apache.maven.wagon:wagon-http-shared:jar:3.3.4:test
[INFO] |  |  |  |  |  \- org.jsoup:jsoup:jar:1.12.1:test
[INFO] |  |  |  |  \- org.apache.maven.wagon:wagon-provider-api:jar:3.3.4:test
[INFO] |  |  |  \- org.apache.maven.wagon:wagon-file:jar:3.3.4:test
[INFO] |  |  +- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:1.12.1.Final:test
[INFO] |  |  \- io.smallrye.common:smallrye-common-io:jar:1.5.0:compile
[INFO] |  +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:test
[INFO] |  +- io.quarkus:quarkus-test-common:jar:1.12.1.Final:test
[INFO] |  |  +- io.quarkus:quarkus-core-deployment:jar:1.12.1.Final:test
[INFO] |  |  |  +- io.quarkus.gizmo:gizmo:jar:1.0.6.Final:test
[INFO] |  |  |  |  \- org.ow2.asm:asm-util:jar:9.0:test
[INFO] |  |  |  |     +- org.ow2.asm:asm-tree:jar:9.0:test
[INFO] |  |  |  |     \- org.ow2.asm:asm-analysis:jar:9.0:test
[INFO] |  |  |  +- org.ow2.asm:asm:jar:9.0:test
[INFO] |  |  |  +- io.quarkus:quarkus-class-change-agent:jar:1.12.1.Final:test
[INFO] |  |  |  +- io.quarkus:quarkus-devtools-utilities:jar:1.12.1.Final:test
[INFO] |  |  |  \- io.quarkus:quarkus-builder:jar:1.12.1.Final:test
[INFO] |  |  +- io.quarkus:quarkus-jsonp-deployment:jar:1.12.1.Final:test
[INFO] |  |  \- org.jboss:jandex:jar:2.2.3.Final:test
[INFO] |  +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
[INFO] |  |  |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] |  |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] |  |  |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test
[INFO] |  |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
[INFO] |  |     \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
[INFO] |  \- com.thoughtworks.xstream:xstream:jar:1.4.15:test
[INFO] |     +- xmlpull:xmlpull:jar:1.1.3.1:test
[INFO] |     \- xpp3:xpp3_min:jar:1.1.4c:test
[INFO] +- io.rest-assured:rest-assured:jar:4.3.3:test
[INFO] |  +- org.codehaus.groovy:groovy:jar:3.0.5:test
[INFO] |  +- org.codehaus.groovy:groovy-xml:jar:3.0.7:test
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] |  |  \- commons-codec:commons-codec:jar:1.14:compile
[INFO] |  +- org.apache.httpcomponents:httpmime:jar:4.5.13:test
[INFO] |  +- org.hamcrest:hamcrest:jar:2.1:test
[INFO] |  +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test
[INFO] |  +- io.rest-assured:json-path:jar:4.3.3:test
[INFO] |  |  +- org.codehaus.groovy:groovy-json:jar:3.0.5:test
[INFO] |  |  \- io.rest-assured:rest-assured-common:jar:4.3.3:test
[INFO] |  \- io.rest-assured:xml-path:jar:4.3.3:test
[INFO] |     +- org.apache.commons:commons-lang3:jar:3.11:test
[INFO] |     +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test
[INFO] |     |  \- jakarta.activation:jakarta.activation-api:jar:1.2.1:test
[INFO] |     \- com.sun.xml.bind:jaxb-impl:jar:2.3.3:test
[INFO] \- io.javaoperatorsdk:operator-framework-quarkus-extension:jar:1.7.2:compile
[INFO]    \- io.javaoperatorsdk:operator-framework-core:jar:1.7.2:compile
[INFO]       \- io.fabric8:openshift-client:jar:5.1.1:compile
[INFO]          +- io.fabric8:openshift-model:jar:5.1.1:compile
[INFO]          +- io.fabric8:openshift-model-operator:jar:5.1.1:compile
[INFO]          +- io.fabric8:openshift-model-operatorhub:jar:5.1.1:compile
[INFO]          +- io.fabric8:openshift-model-monitoring:jar:5.1.1:compile
[INFO]          \- io.fabric8:openshift-model-console:jar:5.1.1:compile
[INFO] ------------------------------------------------------------------------

@cortex93
Copy link

cortex93 commented Mar 5, 2021

From the dependency tree, I see that

[INFO] +- io.quarkus:quarkus-kubernetes-client:jar:1.12.1.Final:compile
...
[INFO] |  +- io.fabric8:kubernetes-client:jar:5.1.1:compile

while the sdk is compiled against 5.1.0 and I think that the customResourceDefinitions is not compatible at runtime due to signature change.

The sample in the repo are compiled with 5.1.0 in the parent pom, which may force this version in the classpath.

@metacosm
Copy link
Collaborator

metacosm commented Mar 5, 2021

That's what I was thinking initially but the dependencies didn't show a conflict…
That said, if you add the kubernetes-client-bom before the quarkus bom, it should override all the versions cleanly. That's the downside of things at the moment. I'm not sure how to make it cleaner.

@cortex93
Copy link

cortex93 commented Mar 5, 2021

adding

<dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.fabric8</groupId>
        <artifactId>kubernetes-client-bom</artifactId>
        <version>5.1.0</version>
        <type>pom</type>
        <scope>import</scope>
    </dependency>

works but it downgrades kubernetes-client regarding quarkus platform latest version.

Using quarkus 1.12.0 make use of 5.1.0 but then we encounter another issue

java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.javaoperatorsdk.quarkus.extension.deployment.QuarkusExtensionProcessor#createConfigurationServiceAndOperator threw an exception: java.lang.IllegalArgumentException: Cannot instantiate 'org.mhildenb.javaoperator.tutorial.CustomService' CR class
        at io.javaoperatorsdk.quarkus.extension.deployment.QuarkusExtensionProcessor.createControllerConfiguration(QuarkusExtensionProcessor.java:129)
        at io.javaoperatorsdk.quarkus.extension.deployment.QuarkusExtensionProcessor.lambda$createConfigurationServiceAndOperator$1(QuarkusExtensionProcessor.java:80)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
        at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1603)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
        at io.javaoperatorsdk.quarkus.extension.deployment.QuarkusExtensionProcessor.createConfigurationServiceAndOperator(QuarkusExtensionProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:920)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at io.javaoperatorsdk.quarkus.extension.deployment.QuarkusExtensionProcessor.createControllerConfiguration(QuarkusExtensionProcessor.java:127)
        ... 20 more
Caused by: java.lang.IllegalArgumentException: Cannot instantiate Spec, consider overriding initSpec: org.mhildenb.javaoperator.tutorial.ServiceSpec
        at io.fabric8.kubernetes.client.CustomResource.genericInit(CustomResource.java:342)
        at io.fabric8.kubernetes.client.CustomResource.initSpec(CustomResource.java:117)
        at io.fabric8.kubernetes.client.CustomResource.<init>(CustomResource.java:108)
        at org.mhildenb.javaoperator.tutorial.CustomService.<init>(CustomService.java:10)
        ... 25 more

Would it be possible to release a 1.7.3 to align operator sdk on quarkus platform 1.12.1 and fabric.io 5.1.1 ?

@metacosm
Copy link
Collaborator

metacosm commented Mar 5, 2021

1.7.3 should now be available.

@cortex93
Copy link

cortex93 commented Mar 5, 2021

Work like a charm. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants