ttrpc: received message for unknown channel

Open
#117 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
go, grpc

Research direction

Start by locating the ttrpc code path that logs "received message for unknown channel" and trace the conditions leading to that branch. Correlate it with the reported kubelet deletion sequence, then document the triggering circumstances and any reproduction or diagnostic evidence.

Written by the indexing model from the issue text.

Description

time="2022-05-10T01:54:22.789465877+08:00" level=error msg="RemoveContainer for "7f4387d5fe055630e7d36e5a5b264943abab5231e63105d19217ad94009fb5c9" failed" error="rpc error: code = NotFound desc = get container info: container "7f4387d5fe055630e7d36e5a5b264943abab5231e63105d19217ad94009fb5c9" in namespace "k8s.io": not found"
time="2022-05-10T01:55:22.792246352+08:00" level=info msg="RemoveContainer for "7f4387d5fe055630e7d36e5a5b264943abab5231e63105d19217ad94009fb5c9""
time="2022-05-10T01:55:22.792408430+08:00" level=error msg="RemoveContainer for "7f4387d5fe055630e7d36e5a5b264943abab5231e63105d19217ad94009fb5c9" failed" error="rpc error: code = NotFound desc = get container info: container "7f4387d5fe055630e7d36e5a5b264943abab5231e63105d19217ad94009fb5c9" in namespace "k8s.io": not found"
time="2022-05-10T01:56:03.806857280+08:00" level=error msg="ttrpc: received message for unknown channel 615"
time="2022-05-10T01:56:05.807363109+08:00" level=error msg="get state for 0b6b1632e84960dd2c65507db05bffa8fdec4f47a285d5682ca1f0add3806dbb" error="context deadline exceeded: unknown"
time="2022-05-10T01:56:05.807539853+08:00" level=warning msg="unknown status" status=0

The kubelet keeps deleting the container, and the following error occurs during the process: ttrpc: received message for unknown channel, I want to know under what circumstances will it go to this error branch.

Dominant language
Go
Stars
674
Forks
90
Avg merge
16h 32m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/ttrpc

All issues in containerd/ttrpc

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.