-
Notifications
You must be signed in to change notification settings - Fork 86
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
🐛 : Status PLAN_FAILED #705
Comments
I'm having a very similar problem and I'm running locally. [gaia] using image hashicorp/terraform:1.0.8
[gaia] installing curl
[gaia] cloning https://github.com/jbrardport/terraform-modules.git
Cloning into 'module'...
[gaia] generating backend configuration
[gaia] generating tfvars variable file And then it shows plan failed. |
There's an issue in the chart, similar that the one @jbrardport encountered. |
Hi @juwit, Initializing the backend... Successfully configured the backend "http"! Terraform will automatically
The state file should saved in Mongo? or PVC? something else? |
Hi @juwit I think I am having the same issue or similar. I'm trying to get this up and running locally using docker desktop WSL2 (Ubuntu 20.04). Versions: docker-compose.yml
When I run a
When I navigate to localhost:8080, I can log in as administrator and perform the following steps.
As you can see I hit a similar looking issue to that described above. For completion here is my settings page. Logs attached. runner-logs.txt Apologies if there is too much detail or I have missed something important, I've only had limited time using Gaia (and as you can see I am not doing well at the first hurdle) |
Hi, The docker-compose in the quickstart guide in the docs is correct. |
Hi @juwit , May i know the version name or link of version. |
Hi, |
Hi @juwit , Thanks for your response. As i am using the latest version of helm chart only, Pasting the screenshot for your reference. But still i am getting the similar error while building the code, may i know what could be alternative to fix this issue. |
I have a similar problem running with docker-compose in Ubuntu 22.04. I notice that the problem is in the terraform container deployed by the runner: It requests a .tfvars file to URL: However, I think the best solution is to make the I would provide a PR but I have not experience with Java nor the gaia-app code. For now I make it work setting the external_url to the IP of my host. |
Describe the bug
Gaia installed on k8s in EKS by helm(https://github.com/gaia-app/chart):
gaia-6bccfbc9f5-tz4xh 1/1 Running 0 4d20h
gaia-mongo-57d4548858-lr7ch 1/1 Running 0 4d20h
gaia-runner-869cb5f4b5-hf7fz 1/1 Running 0 4d20h
Versions
helm chart:
version: 0.1.0
appVersion: "2.3.0"
pods:
gaiaapp/gaia: "latest"
gaiaapp/runner: "v2.3.0"
mongo: latest
I got the output from job:
[gaia] using image hashicorp/terraform:latest
[gaia] installing curl
[gaia] cloning http://sample/TEST/test
Cloning into 'module'...
[gaia] generating backend configuration
[gaia] generating tfvars variable file
then Status PLAN_FAILED
In addition I got an error log from the gaia-runner pod:
2022-05-01 08:36:55.597 INFO 1 --- [ scheduling-1] io.gaia_app.runner.StepPoller : Polling for pending steps
2022-05-01 08:36:55.700 INFO 1 --- [ scheduling-1] io.gaia_app.runner.StepPoller : Step found bca9253a-1f4e-4836-beba-2753e47986db. Running.
2022-05-01 08:36:55.814 INFO 1 --- [ gaia-runner-1] io.gaia_app.runner.StepRunner : Starting step bca9253a-1f4e-4836-beba-2753e47986db execution.
2022-05-01 08:36:55.815 INFO 1 --- [ gaia-runner-1] K8SExecutor : Creating pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db
2022-05-01 08:36:55.912 INFO 1 --- [ gaia-runner-1] K8SExecutor : Wait for the pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db to be running
2022-05-01 08:36:58.920 INFO 1 --- [ gaia-runner-1] K8SExecutor : Executing script in pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db
2022-05-01 08:36:59.117 INFO 1 --- [ gaia-runner-1] K8SExecutor : Getting pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db logs
2022-05-01 08:37:00.700 INFO 1 --- [ scheduling-1] io.gaia_app.runner.StepPoller : Polling for pending steps
2022-05-01 08:37:00.732 INFO 1 --- [ gaia-runner-1] K8SExecutor : Wait for the pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db to be completed
2022-05-01 08:37:00.798 INFO 1 --- [ scheduling-1] io.gaia_app.runner.StepPoller : No steps to run
2022-05-01 08:37:01.745 INFO 1 --- [ gaia-runner-1] K8SExecutor : Getting exit code of pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db
2022-05-01 08:37:01.756 INFO 1 --- [ gaia-runner-1] K8SExecutor : Pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db exited with status code 7
2022-05-01 08:37:01.756 INFO 1 --- [ gaia-runner-1] K8SExecutor : Deleting the pod gaia-job-bca9253a-1f4e-4836-beba-2753e47986db
2022-05-01 08:37:01.773 INFO 1 --- [ gaia-runner-1] io.gaia_app.runner.StepRunner : Finished step bca9253a-1f4e-4836-beba-2753e47986db execution with result code 7.
2022-05-01 08:37:01.773 INFO 1 --- [ gaia-runner-1] io.gaia_app.runner.StepRunner : Sending result.
2022-05-01 08:37:05.798 INFO 1 --- [ scheduling-1] io.gaia_app.runner.StepPoller : Polling for pending steps
2022-05-01 08:38:59.017 ERROR 1 --- [/10.100.0.1/...] i.k.client.util.WebSocketStreamHandler : Error on flush
java.io.IOException: Socket is closed!
at io.kubernetes.client.util.WebSocketStreamHandler$WebSocketOutputStream.flush(WebSocketStreamHandler.java:221) ~[client-java-14.0.0.jar!/:na]
at io.kubernetes.client.util.WebSocketStreamHandler.close(WebSocketStreamHandler.java:136) ~[client-java-14.0.0.jar!/:na]
at io.kubernetes.client.util.WebSockets$Listener.onFailure(WebSockets.java:158) ~[client-java-14.0.0.jar!/:na]
at okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570) ~[okhttp-3.14.9.jar!/:na]
at okhttp3.internal.ws.RealWebSocket.writePingFrame(RealWebSocket.java:545) ~[okhttp-3.14.9.jar!/:na]
at okhttp3.internal.ws.RealWebSocket$PingRunnable.run(RealWebSocket.java:529) ~[okhttp-3.14.9.jar!/:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[na:na]
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
2022-05-01 08:39:03.214 INFO 1 --- [ scheduling-1] io.gaia_app.runner.StepPoller : Polling for pending steps
2022-05-01 08:39:03.317 INFO 1 --- [ scheduling-1] io.gaia_app.runner.StepPoller : No steps to run
What should I do?
Where's my mistake?
Screenshots
![image](https://user-images.githubusercontent.com/41533452/166138915-eaabc844-5212-40df-8add-cdd8f3c95159.png)
Thanks.
The text was updated successfully, but these errors were encountered: