Skip to content

Fix image pull failures with block CIM snapshotter - #12439

Closed
ambarve wants to merge 1 commit into
containerd:mainfrom
ambarve:block_cim_pull_fix
Closed

ambarve wants to merge 1 commit into
containerd:mainfrom
ambarve:block_cim_pull_fix

Conversation

@ambarve

@ambarve ambarve commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

hcsshim added a layer writer for importing image layers in the block CIM format. That change was vendored into containerd to allow it to pull images using the block CIM snapshotter. However, that layer writer, had a new change that failed the image pull if non base layers of the image had UtilityVM files. This was done because with block CIMs there is no easy way to merge the UtilityVM files across layers. However, this is not a new behavior when it comes to CimFS. We have never supported running hyepr-v isolated containers with CimFS, so explicitly failing the image pull in such cases is a new regression. This change vendores a new commit of hcsshim that fixes this.

This change also updates an incorrect default config value for the block CIM snapshotter. The ntfsFormat should always be false for the block CIM snapshotter. If the scratch needs to be formatted with NTFS, a format option named WithNTFSFormat can be provided.

hcsshim added a layer writer for importing image layers in the block CIM format. That
change was vendored into containerd to allow it to pull images using the block CIM snapshotter. However,
that layer writer, had a new change that failed the image pull if non base layers of the
image had UtilityVM files. This was done because with block CIMs there is no easy way to
merge the UtilityVM files across layers. However, this is not a new behavior when it comes
to CimFS. We have never supported running hyepr-v isolated containers with CimFS, so
explicitly failing the image pull in such cases is a new regression. This change vendores
a new commit of hcsshim that fixes this.

This change also updates an incorrect default config value for the block CIM
snapshotter. The `ntfsFormat` should always be false for the block CIM snapshotter. If the
scratch needs to be formatted with NTFS, a format option named `WithNTFSFormat` can be provided.

Signed-off-by: Amit Barve <[email protected]>
@ambarve
ambarve force-pushed the block_cim_pull_fix branch from 174a15c to a024a4e Compare October 29, 2025 19:17
@k8s-ci-robot

Copy link
Copy Markdown

PR needs rebase.

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.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 90 days with no activity. This PR will be closed in 7 days unless new comments are made or the stale label is removed.

@github-actions github-actions Bot added the Stale label May 10, 2026
@github-actions

Copy link
Copy Markdown

This PR was closed because it has been stalled for 7 days with no activity.

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.

2 participants