vitess icon indicating copy to clipboard operation
vitess copied to clipboard

Question: Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/docker-entrypoint.sh": stat /docker-entrypoint.sh: no such file or directory: unknown

Open Aditya1523 opened this issue 1 year ago • 2 comments

Question

When I am deploying vitess from Kubernetes, I am getting this error 'Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/docker-entrypoint.sh": stat /docker-entrypoint.sh: no such file or directory: unknown' I am using version:18.0.2 What should be wrong in this any suggestion?

Aditya1523 avatar Mar 21 '24 16:03 Aditya1523

I have no idea what you did, what version of the vitess-operator you're using (should be v2.11 with Vitess v18), and what your vitess cluster spec was so I cannot say what the problems may be. Every k8s cluster is a bit of a snowflake and it's not possible to answer your question with the info provided.

That entrypoint script name is not used within Vitess but it is used in the operator for VTAdmin: https://github.com/planetscale/vitess-operator/blob/release-2.11/pkg/operator/vtadmin/deployment.go

And the MySQL images use it as well: https://github.com/mysql/mysql-docker/tree/main/mysql-server/8.0

This is the kind of thing that often requires a lot of back and forth so should really be brought up on the Vitess Slack: https://vitess.io/community/

mattlord avatar Mar 21 '24 17:03 mattlord

It would be useful to share the commands you ran step by step.

frouioui avatar Mar 26 '24 21:03 frouioui