snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Quarkus 1.9.2: quarkus-openshift extension does not generate openshift.yml for infinispan-client non-REST application #207

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 4 years ago

Describe the bug I generated an infinispan-client to deploy the openshift (CRC on my laptop) from https://code.quarkus.io/. When i try to build and deploy using

./mvnw clean package -Dquarkus.container-image.build=true -DskipTests

I see the following error: [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.9.2.Final:build (default) on project code-with-quarkus: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [ERROR] [error]: Build step io.quarkus.kubernetes.deployment.KubernetesDeployer#deploy threw an exception: java.lang.IllegalStateException: Can't find generated kubernetes manifest: /home/vbalasub/Downloads/code-with-quarkus/target/kubernetes/openshift.yml [ERROR] at io.quarkus.kubernetes.deployment.KubernetesDeployer.deploy(KubernetesDeployer.java:193) [ERROR] at io.quarkus.kubernetes.deployment.KubernetesDeployer.deploy(KubernetesDeployer.java:102) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ERROR] at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:936) [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:277) [ERROR] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) [ERROR] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046) [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578) [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452) [ERROR] at java.base/java.lang.Thread.run(Thread.java:834) [ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:479)

Expected behavior Application should be successfullly deployed to CRC

Actual behavior Build error shown above

To Reproduce Reproducer here...https://github.com/vbalasub/quarkus-infinispan-client https://github.com/vbalasub/quarkus-infinispan-client

Pre-req: Have a OCP cluster running or have a CRC running on your laptop

Build and deploy your application using ./mvnw clean package -Dquarkus.container-image.build=true -DskipTests

Configuration


# Add your application.properties here, if applicable.

In GitHub repo

**Screenshots**
(If applicable, add screenshots to help explain your problem.)

**Environment (please complete the following information):**
 - Output of `uname -a` or `ver`: Linux localhost.localdomain 5.7.9-200.fc32.x86_64 #1 SMP Fri Jul 17 16:23:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
 - Output of `java -version`:
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment 18.9 (build 11.0.8+10)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.8+10, mixed mode, sharing)

 - GraalVM version (if different from Java): 
 - Quarkus version or git rev:  1.9.2

 - Build tool (ie. output of `mvnw --version` or `gradlew --version`): 
apache-maven-3.6.3

---

https://github.com/quarkusio/quarkus/issues/13149

---

$upstream:13149$