vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.48k stars 2.09k forks source link

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 #15543

Open Aditya1523 opened 6 months ago

Aditya1523 commented 6 months ago

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?

mattlord commented 6 months ago

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/

frouioui commented 6 months ago

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