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

Failure to boot in kubernetes in dev mode #12858

Closed
aloubyansky opened this issue Oct 21, 2020 · 2 comments · Fixed by #12865
Closed

Failure to boot in kubernetes in dev mode #12858

aloubyansky opened this issue Oct 21, 2020 · 2 comments · Fixed by #12865
Assignees
Labels
Milestone

Comments

@aloubyansky
Copy link
Member

This is a regression compared to 1.9.0.Final.

  1. Generate a the default REST app
  2. add the jib and the minikube extensions
  3. add the following properties to the application.properties
quarkus.package.type=mutable-jar
quarkus.live-reload.password=changeit 
quarkus.jib.environment-variables.QUARKUS_LAUNCH_DEVMODE=true
  1. execute mvn clean package -DskipTests -Dquarkus.kubernetes.deploy=true

Pointing the browser to the hello endpoint results in

java.lang.IllegalStateException: Could not find matching project info read
	at io.dekorate.project.FileProjectFactory.lambda$createInternal$0(FileProjectFactory.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:408)
	at io.dekorate.project.FileProjectFactory.createInternal(FileProjectFactory.java:60)
	at io.dekorate.project.FileProjectFactory.create(FileProjectFactory.java:41)
	at io.quarkus.kubernetes.deployment.KubernetesCommonHelper.createProject(KubernetesCommonHelper.java:77)
	at io.quarkus.kubernetes.deployment.KubernetesCommonHelper.createProject(KubernetesCommonHelper.java:71)
	at io.quarkus.minikube.deployment.MinikubeProcessor.createDecorators(MinikubeProcessor.java:114)
	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:936)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
	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:479)
@iocanel iocanel self-assigned this Oct 21, 2020
@quarkusbot
Copy link

/cc @geoand

@geoand
Copy link
Contributor

geoand commented Oct 21, 2020

Thanks for picking up this issue (as well as the others) @iocanel !

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

Successfully merging a pull request may close this issue.

5 participants