Skip to content

[release/1.7] Fix CNI issue where CNI DEL is never executed#12931

Merged
fuweid merged 1 commit into
containerd:release/1.7from
MikeZappa87:mzappa/release17cherrypickcnidel
Feb 24, 2026
Merged

[release/1.7] Fix CNI issue where CNI DEL is never executed#12931
fuweid merged 1 commit into
containerd:release/1.7from
MikeZappa87:mzappa/release17cherrypickcnidel

Conversation

@MikeZappa87

@MikeZappa87 MikeZappa87 commented Feb 21, 2026

Copy link
Copy Markdown
Member

cherry pick for #12923

Edited by fuweid

Fix CNI issue where DEL is never executed after a restart

@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Feb 21, 2026
@dosubot dosubot Bot added area/cri Container Runtime Interface (CRI) kind/bug labels Feb 21, 2026

@mikebrow mikebrow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

in v1.7 we allowed for two different implementations of the sandbox operations.. one in the sbserver path the other here https://github.com/containerd/containerd/blob/release/1.7/pkg/cri/server/sandbox_stop.go#L110-L114

@github-project-automation github-project-automation Bot moved this from Needs Triage to Needs Update in Pull Request Review Feb 21, 2026
@MikeZappa87

Copy link
Copy Markdown
Member Author

in v1.7 we allowed for two different implementations of the sandbox operations.. one in the sbserver path the other here https://github.com/containerd/containerd/blob/release/1.7/pkg/cri/server/sandbox_stop.go#L110-L114

I forgot about that, I can add

@MikeZappa87 MikeZappa87 requested a review from mikebrow February 21, 2026 15:19
@MikeZappa87 MikeZappa87 force-pushed the mzappa/release17cherrypickcnidel branch from 8d30086 to 1f31445 Compare February 21, 2026 15:40
@MikeZappa87 MikeZappa87 self-assigned this Feb 21, 2026
@fuweid

fuweid commented Feb 21, 2026

Copy link
Copy Markdown
Member

Do we need to fix this issue in main first? Also, I suggest squashing the commits into a single commit.

@MikeZappa87

Copy link
Copy Markdown
Member Author

Do we need to fix this issue in main first? Also, I suggest squashing the commits into a single commit.

Which issue are you referring to? We can squash, however its not uniform with main, 2.2. We should have and stil can for 1.7 and 2.1.

@fuweid

fuweid commented Feb 21, 2026

Copy link
Copy Markdown
Member

cherry pick for #12922

In description, it's cherry-pick for 12922 but it's closed. So I am thinking we should fix that issue you mention in main first.

@MikeZappa87

Copy link
Copy Markdown
Member Author

cherry pick for #12922

In description, it's cherry-pick for 12922 but it's closed. So I am thinking we should fix that issue you mention in main first.

The issue is really the linter is different from main, 2.2 and different for 2.1 which is a little odd

@fuweid

fuweid commented Feb 23, 2026

Copy link
Copy Markdown
Member

OK. It turns out you use wrong link in description 😂 it's #12923. please squash commits. Basically, we use merge instead of squash-and-rebasing. Not a fan to have [address comment](https://github.com/containerd/containerd/pull/12923/changes/1092b85a8ce13fb0ec72b1e232b6a781ccef9214) commit like this.

@MikeZappa87

Copy link
Copy Markdown
Member Author

OK. It turns out you use wrong link in description 😂 it's #12923. please squash commits. Basically, we use merge instead of squash-and-rebasing. Not a fan to have [address comment](https://github.com/containerd/containerd/pull/12923/changes/1092b85a8ce13fb0ec72b1e232b6a781ccef9214) commit like this.

I’ll fix that as well. Will squash in the morning. I’m with you on using squash/rebase!

Signed-off-by: Michael Zappa <michael.zappa@gmail.com>
@MikeZappa87 MikeZappa87 force-pushed the mzappa/release17cherrypickcnidel branch from 1f31445 to f854c18 Compare February 23, 2026 13:22

@mikebrow mikebrow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

also includes the lint fix (#12928) that was found after cherry picking the first version of the fix

@github-project-automation github-project-automation Bot moved this from Needs Update to Review In Progress in Pull Request Review Feb 24, 2026
@fuweid fuweid merged commit a091840 into containerd:release/1.7 Feb 24, 2026
83 of 86 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) impact/changelog kind/bug size/M

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants