Skip to content

[release/2.2] cri: use mount manager when image has volumes#12874

Closed
k8s-infra-cherrypick-robot wants to merge 2 commits into
containerd:release/2.2from
k8s-infra-cherrypick-robot:cherry-pick-12847-to-release/2.2
Closed

[release/2.2] cri: use mount manager when image has volumes#12874
k8s-infra-cherrypick-robot wants to merge 2 commits into
containerd:release/2.2from
k8s-infra-cherrypick-robot:cherry-pick-12847-to-release/2.2

Conversation

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #12847

/assign hsiangkao

When a container image has a volumes attribute, currently the mount manager is not used here. This leads to issues with the EROFS snapshotter, notably that rwlayer.img is not present when the snapshotter is configured to create a writable block volume.

This change implements mount manager as part of the image volumes processing, so that mount manager mounts are correctly processes before calling mount.All

Fixes: containerd#12834
Signed-off-by: Champ-Goblem <[email protected]>
@dosubot dosubot Bot added the area/cri Container Runtime Interface (CRI) label Feb 9, 2026
@k8s-ci-robot

Copy link
Copy Markdown

Adding label do-not-merge/contains-merge-commits because PR contains merge commits, which are not allowed in this repository.
Use git rebase to reapply your commits on top of the target branch. Detailed instructions for doing so can be found here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@hsiangkao hsiangkao closed this Apr 16, 2026
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in Pull Request Review Apr 16, 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.

4 participants