Skip to content

CNI DEL not issued on certain conditions#12922

Closed
MikeZappa87 wants to merge 1 commit into
containerd:mainfrom
MikeZappa87:mzappa/fixcnidelissue
Closed

CNI DEL not issued on certain conditions#12922
MikeZappa87 wants to merge 1 commit into
containerd:mainfrom
MikeZappa87:mzappa/fixcnidelissue

Conversation

@MikeZappa87

@MikeZappa87 MikeZappa87 commented Feb 19, 2026

Copy link
Copy Markdown
Member

We have seen a condition, where the CNI ADD is executed, and containerd exits before the cniResult is saved to disk. When containerd recoverys the StopPodSandbox is called, but skips the CNI DEL because the CNI result is nil. The idea here is to ignore errors from the CNI DEL and try to do a best effort cleanup. The alternative is that a leaked resource could still exist which has been observed.

We see the RunPodSandbox + StopPodSandbox RPC's executed, just no CNI DEL cmd is viewed.

Comment thread internal/cri/server/sandbox_stop.go Outdated
when a higher version of drop in config is used than the root containerd
config, do not load the config. When config is merged, the higher
version takes precedence preventing the root config from getting
migrated to the newer version.

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
Signed-off-by: Michael Zappa <michael.zappa@gmail.com>
@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.

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.

4 participants