Skip to content

[release/2.3] server: tolerate failed gRPC plugins when starting listeners#13390

Merged
mxpv merged 1 commit into
containerd:release/2.3from
k8s-infra-cherrypick-robot:cherry-pick-13363-to-release/2.3
May 13, 2026
Merged

[release/2.3] server: tolerate failed gRPC plugins when starting listeners#13390
mxpv merged 1 commit into
containerd:release/2.3from
k8s-infra-cherrypick-robot:cherry-pick-13363-to-release/2.3

Conversation

@k8s-infra-cherrypick-robot

@k8s-infra-cherrypick-robot k8s-infra-cherrypick-robot commented May 12, 2026

Copy link
Copy Markdown

This is an automated cherry-pick of #13363

/assign AkihiroSuda

Fix bug where failed gRPC plugins were not tolerated when starting listeners

The grpc, grpc-tcp, and ttrpc server plugins enumerated their services
through ic.GetByType, which short-circuits on the first plugin whose
Instance() returned an error. A single failed gRPC plugin (e.g. CRI
under rootless, which cannot watch /etc/cni/net.d) therefore prevented
the server plugins from initialising, leaving /run/containerd/containerd.sock
uncreated.

Iterate the plugin set directly and skip plugins that failed to
initialise, restoring the pre-c15ec2485 behaviour where the listener
is still created and only the failed services are missing.

Fixes: c15ec24 ("Add server plugins for grpc and ttrpc")
Fixes: containerd#13362

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review May 13, 2026
@mxpv mxpv merged commit 2315484 into containerd:release/2.3 May 13, 2026
95 of 96 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants