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

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) <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
@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
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
containerd 2.3.1

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>Welcome to the v2.3.1 release of containerd!

The first patch release for containerd 2.3 contains various fixes and improvements.

### Security Updates

* [**CVE-2026-46680**](GHSA-fqw6-gf59-qr4w)

### Highlights

* Fix bug where failed gRPC plugins were not tolerated when starting listeners ([#13390](containerd/containerd#13390))

#### Image Storage

* Ensure metadata and mount plugin boltdb files are closed on server shutdown ([#13379](containerd/containerd#13379))

#### Runtime

* Fix handling of out-of-range USER values in OCI spec to avoid unexpected username/group lookups ([#13447](containerd/containerd#13447))
* Fix sandbox task API endpoints for non-runc runtimes and deprecate task fields in Runc options ([#13422](containerd/containerd#13422))
* Apply hardening to default seccomp socket policy by blocking AF_ALG ([#13409](containerd/containerd#13409))

#### Snapshotters

* Disable overlayfs "rebase" capability when running in user namespace ([#13394](containerd/containerd#13394))
* Fix transfer plugin error when EROFS differ is configured but mkfs.erofs is unavailable ([#13364](containerd/containerd#13364))

Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.

### Contributors

* Maksym Pavlenko
* Akihiro Suda
* Derek McGowan
* Paweł Gronowski
* Brian Goff
* Austin Vazquez
* LEI WANG
* Samuel Karp

### Changes
<details><summary>24 commits</summary>
<p>

* Prepare release notes for v2.3.1 ([#13405](containerd/containerd#13405))
  * [`58af96519`](containerd/containerd@58af965) Prepare release notes for v2.3.1
  * [`8f0b3ca83`](containerd/containerd@8f0b3ca) Update api to v1.11.1
* oci: return explicit error for out-of-range USER values ([#13447](containerd/containerd#13447))
  * [`a05ae7885`](containerd/containerd@a05ae78) oci: return explicit error for out-of-range USER values
* Prepare release notes for api/v1.11.1 ([#13444](containerd/containerd#13444))
  * [`da7aef299`](containerd/containerd@da7aef2) Prepare release notes for api/v1.11.1
* Fix sandbox task API endpoints for non-runc runtimes ([#13422](containerd/containerd#13422))
  * [`5282d4e09`](containerd/containerd@5282d4e) Wire task address and version fields
  * [`e44f5f9ec`](containerd/containerd@e44f5f9) protos: include task API address to CreateTaskRequest
* seccomp: Block AF_ALG in default socket policy ([#13409](containerd/containerd#13409))
  * [`4d80a31bf`](containerd/containerd@4d80a31) seccomp: Block AF_ALG in default socket policy
  * [`2ed0d97b6`](containerd/containerd@2ed0d97) seccomp: Document socket rule scope and socketcall limitation
* server: tolerate failed gRPC plugins when starting listeners ([#13390](containerd/containerd#13390))
  * [`3a88fdde0`](containerd/containerd@3a88fdd) server: tolerate failed gRPC plugins when starting listeners
* overlay: disable "rebase" capability when running in UserNS ([#13394](containerd/containerd#13394))
  * [`2be0710b8`](containerd/containerd@2be0710) overlay: disable "rebase" capability when running in UserNS
* Update Go to 1.26.3 ([#13374](containerd/containerd#13374))
  * [`3b199c22b`](containerd/containerd@3b199c2) Update Go to 1.26.3
* fix: close boltdb on metadata and mount plugin close ([#13379](containerd/containerd#13379))
  * [`1d601271a`](containerd/containerd@1d60127) fix: close boltdb on metadata and mount plugin close
* Fix optional EROFS differ setup in transfer plugin ([#13364](containerd/containerd#13364))
  * [`d666d2e42`](containerd/containerd@d666d2e) Refactor transfer unpack configuration setup
  * [`ccc3bd7b9`](containerd/containerd@ccc3bd7) Fix optional transfer differ setup
</p>
</details>

### Dependency Changes

* **github.com/containerd/containerd/api**  v1.11.0 -> v1.11.1

Previous release can be found at [v2.3.0](https://github.com/containerd/containerd/releases/tag/v2.3.0)
### Which file should I download?
* `containerd-<VERSION>-<OS>-<ARCH>.tar.gz`:         ✅Recommended. Dynamically linked with glibc 2.35 (Ubuntu 22.04).
* `containerd-static-<VERSION>-<OS>-<ARCH>.tar.gz`:  Statically linked. Expected to be used on Linux distributions that do not use glibc >= 2.35. Not position-independent.

In addition to containerd, typically you will have to install [runc](https://github.com/opencontainers/runc/releases)
and [CNI plugins](https://github.com/containernetworking/plugins/releases) from their official sites too.

See also the [Getting Started](https://github.com/containerd/containerd/blob/main/docs/getting-started.md) documentation.
</pre>
  <p>View the full release notes at <a href="https://github.com/containerd/containerd/releases/tag/v2.3.1">https://github.com/containerd/containerd/releases/tag/v2.3.1</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!5692
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