Comments (4)
Hi @jbrardport and thank you for the detailed issue.
I believe you got the error because the property GAIA_EXTERNAL_URL
is 127.0.0.1:8080
To explain:
- this property is used by Gaia to generate the script to be run in the Terraform containers.
- when running in the terraform container,
127.0.0.1
redirects to the container itself, hence the error at the generating tfvars phase
To solve this, you can try to use this values for GAIA_EXTERNAL_URL
:
- the real IP of your machine, eg
192.168.1.12:8080
- the IP of your machine in the docker bridge network, defaults to
172.17.0.1:8080
from gaia.
Hello @juwit
So I ran the following commands (outputs shortened):
$ docker network list
...
NETWORK ID NAME DRIVER SCOPE
...
e4677189d853 test_default bridge local
...
$ docker network inspect test_default
[
{
"Name": "test_default",
...
"IPAM": {
...
"Config": [
{
"Subnet": "172.20.0.0/16",
"Gateway": "172.20.0.1"
}
]
...
I have updated the docker-compose.yml
to have GAIA_EXTERNAL_URL=172.20.0.1:8080
and the plan has progressed further than before.
I am now seeing a terraform docker container spun up.
Problem is, I'm now seeing exit code 28 in the runner.
Runner logs as followed:
test-runner-1 | 2022-05-21 18:02:10.172 INFO 1 --- [ gaia-runner-1] io.gaia_app.runner.StepRunner : Finished step a70f7d65-43ea-4a76-956b-2df4f44c0d63 execution with result code 28.
test-runner-1 | 2022-05-21 18:02:10.173 INFO 1 --- [ gaia-runner-1] io.gaia_app.runner.StepRunner : Sending result.
Looks like it is some kind of timeout?
Let me know, I appreciate your help.
from gaia.
UPDATE:
So I tried using colima instead of normal Docker Desktop and the plan was created successfully!
I will keep this issue a little longer to see if anyone has information to add to my previous comment.
from gaia.
Closing this
from gaia.
Related Issues (20)
- π : Gitlab CE on Docker - Refresh Module Variables Problem
- β¨ : Stacks view HOT 1
- Enhanced Roles and RBAC HOT 2
- β¨ : delete modules
- Any page Link New tab enter has Error
- π : Refresh Module Variables Not Work
- π : Custom Image - Repository URL with Port Number HOT 4
- Add documentation β¨ : issue title
- Unable to login to Gaia portal with default credentials HOT 1
- Terraform plan/apply output window going up again and againπ : bug title
- Support For Bitbucket repositories HOT 1
- docker-compose failing HOT 7
- π : java out of memory HOT 1
- β¨ : Another platform
- β¨ : Create custom provider
- π : Readme and modules only read from root git
- β¨ : Pulling module from private Git instance
- Export tf configs to files?
- Bitbucket integraton
- β¨ : Support for OpenTofu HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaia.