-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "<exec_name>": stat <exec_name>: no such file or directory: unknown #4741
Comments
After chmod 777 on /mnt/<nfs_mount>, some of the pods start to work normally. Idk how this fixed some of them. There is some pod that is still error: |
Hello, Hm, I'm seeing some other errors in your containerd logs as well, which are interesting:
That binary should be from the Can you try spawning a simple container? Try the following (note that
What about:
|
Architecture is x86_64, using rhel 8.7 (ootpa) Running This cluster previously encounter multiple error and fixed by other people. I'm currently fixing this error, so i don't really know what the other are doing to fix previous error. Also, the /var folder got chmod to 777 on every server restart. I also have tried to chmod -R 777 /var/snap/microk8s/common/var/lib/containerd and /var/snap/microk8s/common/run/ folder, but still same error. pause is using version 3.7 originally, i changed it to 3.9 to fix some error. |
Everything works fine now after some possible fix that might be fixing this:
|
The error is back with similar message:
edit: currently this happen due to image not rebuilding after one of the fix specified above. Will post more update after solving this issue. |
Summary
Microk8s was running fine yesterday, until suddenly every pod either crashedloopbackiff or runcontainer error with similar error log in title:
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "<exec_name>": stat <exec_name>: no such file or directory: unknown
,with exec_name value according to pods application.
One of the pod events is:
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/coredns": stat /coredns: no such file or directory: unknown
containerd-template.toml:
microk8s v1.31.1 revision 7229 (edit: upgrading to v1.31.2 rev7394 still not solving it)
containerd v1.6.28 (client and server)
calico v3.25.1
What Should Happen Instead?
Everything works normally
Reproduction Steps
microk8s stop
microk8s start
Introspection Report
inspection-report-20241107_162205.tar.gz
Can you suggest a fix?
Are you interested in contributing with a fix?
The text was updated successfully, but these errors were encountered: