Giter VIP home page Giter VIP logo

Comments (4)

juwit avatar juwit commented on August 26, 2024

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.

jbrardport avatar jbrardport commented on August 26, 2024

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.

jbrardport avatar jbrardport commented on August 26, 2024

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.

jbrardport avatar jbrardport commented on August 26, 2024

Closing this

from gaia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.