deislabs / containerd-wasm-shims

containerd shims for running WebAssembly workloads in Kubernetes
Apache License 2.0
303 stars 47 forks source link

How do I debug pod error `"failed to receive. \"waiting for init ready\". BrokenChannel"` in k3s? #197

Open Mossaka opened 8 months ago

Mossaka commented 8 months ago

We've observed a recurring error in pod logs that states:

"Error: failed to create containerd task: failed to create shim task: Others("failed to receive. "waiting for init ready". BrokenChannel"): unknown"

This issue is known to be linked to specific problems (e.g., Issue #173). To effectively assist in debugging, we require detailed Containerd logs from affected users.

This issue serves as a guide for users on how to access and provide Containerd logs from k3s clusters.

Steps to Access Containerd Logs

Refer to k3s Documentation: The k3s logs FAQ provides general guidance on locating various logs within k3s.

Accessing Containerd Logs:

Reporting

After locating the Containerd logs, please create a new issue and attach the relevant log excerpts. This will greatly assist in diagnosing and addressing the root cause of the error you're encountering.