Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

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

@Mossaka

Description

@Mossaka

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:

  • Utilize docker exec to enter your workload container.
  • Once inside, navigate to /var/lib/rancher/k3s/agent/containerd/containerd.log. This file contains the Containerd logs.
  • You might encounter log entries similar to ">>> running spin trigger".

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions