hasura / graphql-engine

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
https://hasura.io
Apache License 2.0
31.11k stars 2.77k forks source link

v3 engine-1 fails with 400 / Unexpected / OCI runtime #10539

Open ggadwa opened 3 weeks ago

ggadwa commented 3 weeks ago

Component

engine-1

What is the current behaviour?

With the docker compose, all the components compile and install and are running except:

dev-setup-1 : exited -- you can run this and it exits without error, so if it was meant to run once then it worked right engine-1: error -- "(HTTP code 400) unexpected - failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./bin/engine": stat ./bin/engine: no such file or directory: unknown"

What is the expected behaviour?

That I have a functioning h3 environment in docker.

How to reproduce the issue?

Setup:

Windows, docker desktop / WSL 2. Pull the hasura / graphql-engine (this is the complete repository, with v3 as a sub directory) Rust already installed (1.81)

Run:

Go to the repository /v3 directory set the required variables (as described in the v3 readme) note I am following the postgresql setup docs docker compose up

Note:

For some reason the high external port set for postgres (64001:5432) flakes on my box; as I don't need to reach it externally I just removed the 64001. As it's external I doubt this is the cause but need to note the single change I made to the compose yaml.

Screenshots or Screencast

n/a

Please provide any traces or logs that could help here.

Docker desktop and the console returns this notification:

(HTTP code 400) unexpected - failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./bin/engine": stat ./bin/engine: no such file or directory: unknown

There seems to be no other logs of any use; running it in a console just shows everything is ok and started messages until this ultimately fails. More than willing to help out with a debug version!

Any possible solutions/workarounds you're aware of?

None that I know of.

Keywords

v3 OCI engine-1

Odex64 commented 1 week ago

Same error here.