Skip to content

chore(deps): bump containerdv2 to 2.2.1 for Ubuntu 2404 and use prod repo instead#7796

Draft
djsly wants to merge 1 commit into
mainfrom
djsly/36671708
Draft

chore(deps): bump containerdv2 to 2.2.1 for Ubuntu 2404 and use prod repo instead#7796
djsly wants to merge 1 commit into
mainfrom
djsly/36671708

Conversation

@djsly
Copy link
Copy Markdown
Collaborator

@djsly djsly commented Feb 5, 2026

What this PR does / why we need it:
bumping containerdv2 to 2.2.1 and using prod repo instead
Which issue(s) this PR fixes:

Fixes #

Copilot AI review requested due to automatic review settings February 5, 2026 22:31
@github-actions github-actions Bot added the components This pull request updates cached components on Linux or Windows VHDs label Feb 5, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the containerd version for Ubuntu 24.04 from 2.1.6 to 2.2.1 and transitions from using the test repository to the production repository. This aligns Ubuntu 24.04's containerd configuration with the production-ready containerd v2.2.1 release.

Changes:

  • Updated containerd version for Ubuntu 24.04 (r2404) from 2.1.6-ubuntu24.04u1 to 2.2.1-ubuntu24.04u1
  • Changed repository source from "test" to "production" for the renovate tag

@awesomenix
Copy link
Copy Markdown
Contributor

@copilot what are the changes between the versions, can you give a high level summary of changes between versions

Ubuntu 24.04 (r2404) from 2.1.6-ubuntu24.04u1 to 2.2.1-ubuntu24.04u1

Do not send a pull request, just comment here is fine

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 5, 2026

@awesomenix I've opened a new pull request, #7798, to work on those changes. Once the pull request is ready, I'll request review from you.

@awesomenix
Copy link
Copy Markdown
Contributor

awesomenix commented Feb 5, 2026

Upstream Changelog Analysis: containerd 2.1.6 → 2.2.1

This crosses a minor version boundary (2.1 → 2.2). Here is the breakdown of upstream changes:

containerd 2.2.0 (release notes) — Major Feature Release

  • New mount manager service — lifecycle management for filesystem mounts (device formatting, loopbacks, garbage collection)
  • Parallel unpack during image pull (overlayfs/EROFS)
  • Pod sandbox metrics — full CRI pod-level metrics API (ListPodSandboxMetrics, ListMetricsDescriptors)
  • Image volume mount subpath support
  • EROFS enhancements using mount manager (quota support, macOS support, tar index mode)
  • conf.d include in default config
  • NRI: WASM plugin support, otel traces
  • Shim load parallelization on restart
  • ⚠️ Cgroup v1 deprecated
  • Massive dependency bumps: k8s API v0.32→v0.34, gRPC v1.72→v1.76, Go crypto/net/sys, hcsshim v0.13→v0.14, many others

containerd 2.2.1 (release notes) — Patch Release

  • Security: Redact all query parameters in CRI error logs
  • Bug fixes: Panic fix in WithMediaTypeKeyPrefix, hugetlb events parsing fix
  • runc bumped to v1.3.4 (same as
    2.1.6)
  • NRI bumped to v0.11.0

Risk Assessment

  • 🟢 Scope — Ubuntu
    24.04 only; other distros/releases unaffected
  • 🟢 Repo change (test→prod) — Positive signal; package was validated in test repo first
  • 🟡 Minor version jump (2.1→2.2) — Medium Risk; introduces new subsystems (mount manager, parallel unpack, pod metrics) that change containerd's internal behavior
  • 🟢 Cgroup v1 deprecation — Low risk for Ubuntu
    24.04 (uses cgroup v2 by default)
  • 🟡 Dependency changes — Medium Risk; k8s CRI API jumped from v0.32→v0.34, gRPC from v1.72→v1.76. These are significant interface changes
  • 🟡 CRI behavioral changes — Pod sandbox metrics and image volume subpath are new CRI features; shouldn't break existing behavior but change the API surface
  • 🟢 runc v1.3.4 — Both
    2.1.6 and 2.2.1 ship with the same runc version

Overall: 🟡 Medium Risk

Why not low risk: This isn't a patch bump — it's a minor version jump that introduces new subsystems (mount manager, parallel unpack), deprecates cgroup v1, and carries a large
dependency update. Any of these could have subtle effects on container lifecycle, image pull performance, or CRI interactions.

Why not high risk: The change is scoped to Ubuntu 24.04 only, the test→production repo move indicates prior validation, the new features are additive (not breaking existing APIs),
and Ubuntu 24.04 is already on cgroup v2 so the deprecation doesn't matter.

Recommendation: Ensure E2E tests cover Ubuntu 24.04 containerd scenarios (image pull, container lifecycle, pod metrics) before merging. The parallel unpack and mount manager are
the most impactful behavioral changes to watch.

@cameronmeissner cameronmeissner changed the title chore(deps): bumping containerdv2 to 2.2.1 and using prod repo instead chore(deps): bump containerdv2 to 2.2.1 for Ubuntu 2404 and use prod repo instead Feb 6, 2026
@awesomenix
Copy link
Copy Markdown
Contributor

awesomenix commented Feb 6, 2026

Seems like there is a bug in containerd regarding mount manager

Error

2026-02-06T03:07:24Z: ==> azure-arm: + ctr -n k8s.io images mount mcr.microsoft.com/oss/v2/kubernetes/coredns:v1.13.2-2 /tmp/tmp.Ih2r0aJS3M
  2026-02-06T03:07:24Z: ==> azure-arm: ctr: failed to mount [{bind /run/containerd/io.containerd.mount-manager.v1.bolt/t/2/1  []}]: mount source:
  "/run/containerd/io.containerd.mount-manager.v1.bolt/t/2/1", target: "/tmp/tmp.Ih2r0aJS3M", fstype: bind, flags: 0, data: "", err: no such file or directory
  2026-02-06T03:07:24Z: ==> azure-arm: + echo 'Warning: Failed to mount mcr.microsoft.com/oss/v2/kubernetes/coredns:v1.13.2-2, retrying...'

Issue: containerd/containerd#12549

Here is the PR to address it

#7812

@djsly djsly marked this pull request as draft February 6, 2026 20:53
@djsly
Copy link
Copy Markdown
Collaborator Author

djsly commented Feb 6, 2026

@awesomenix moving PR to draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

components This pull request updates cached components on Linux or Windows VHDs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants