Skip to content

[release/2.2] Fix ctr image mount failing with "no such device"#12831

Merged
mxpv merged 2 commits intocontainerd:release/2.2from
k8s-infra-cherrypick-robot:cherry-pick-12581-to-release/2.2
Jan 30, 2026
Merged

[release/2.2] Fix ctr image mount failing with "no such device"#12831
mxpv merged 2 commits intocontainerd:release/2.2from
k8s-infra-cherrypick-robot:cherry-pick-12581-to-release/2.2

Conversation

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

This is an automated cherry-pick of #12581

/assign AkihiroSuda

ticpu added 2 commits January 28, 2026 03:35
Add tests for the WithTemporary mount activation used by `ctr images mount`.
Covers bind mount and overlay scenarios to catch regressions like containerd#12549.

Signed-off-by: Jérôme Poulin <[email protected]>
The bind mount created for temporary activations was missing the
Options field, causing mount to fail with "no such device" because
the MS_BIND flag wasn't being set.

Fixes containerd#12549

Signed-off-by: Jérôme Poulin <[email protected]>
@AntonOfTheWoods
Copy link
Copy Markdown

@AkihiroSuda , is this not the PR that has already been approved?

@AkihiroSuda
Copy link
Copy Markdown
Member

@AkihiroSuda , is this not the PR that has already been approved?

No, that was for the main branch while this one is for release/2.2

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Jan 30, 2026
@mxpv mxpv merged commit 531a4d5 into containerd:release/2.2 Jan 30, 2026
90 of 92 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Jan 30, 2026
JamesC1305 added a commit to JamesC1305/firecracker that referenced this pull request Feb 24, 2026
The docker-popular-containers pipeline started failing from a regression
introduced by containerd v2.2.0. An issue has been lodged on their repo,
and the fix has seemingly been merged into the v2.2 branch, we are just
waiting on a new release version to pick the fix up.

In the meantime, we can disable the faulty plugin mount-manager (which
was only introduced in v2.2, so we aren't missing out on anything).

Relevant links:
- Issue: containerd/containerd#12549
- Fix (main branch): containerd/containerd#12581
- Fix (v2.2 branch): containerd/containerd#12831

Signed-off-by: James Curtis <[email protected]>
JamesC1305 added a commit to JamesC1305/firecracker that referenced this pull request Feb 27, 2026
The docker-popular-containers pipeline started failing from a regression
introduced by containerd v2.2.0. An issue has been lodged on their repo,
and the fix has seemingly been merged into the v2.2 branch, we are just
waiting on a new release version to pick the fix up.

In the meantime, we can disable the faulty plugin mount-manager (which
was only introduced in v2.2, so we aren't missing out on anything).

Relevant links:
- Issue: containerd/containerd#12549
- Fix (main branch): containerd/containerd#12581
- Fix (v2.2 branch): containerd/containerd#12831

Signed-off-by: James Curtis <[email protected]>
@samuelkarp samuelkarp added impact/changelog area/ctr ctr development tool and removed area/distribution Image Distribution labels Mar 9, 2026
@samuelkarp samuelkarp changed the title [release/2.2] Fix ctr image mount failing with no such device [release/2.2] Fix ctr image mount failing with "no such device" Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants