Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/1.7] Fix ListPodSandboxStats to skip sandboxes with missing tasks #10042

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

dcantah
Copy link
Member

@dcantah dcantah commented Apr 5, 2024

Original description

Fixes #10013. It seems we can end up in a spot where the sandbox store still has a listing for a pod, whereas containerds underlying store has removed it. It might be better to shield the caller (k8s) from these transient errors.

(cherry picked from commit 2474a99)

Fixes containerd#10013. It seems we can end up in a spot where the sandbox store still
has a listing for a pod, whereas containerds underlying store has removed it.
It might be better to shield the caller (k8s) from these transient errors.

Signed-off-by: Danny Canter <danny@dcantah.dev>
(cherry picked from commit 2474a99)
Signed-off-by: Danny Canter <danny@dcantah.dev>
@dcantah dcantah requested a review from dims April 5, 2024 18:36
Copy link
Member

@dims dims left a comment

Choose a reason for hiding this comment

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

LGTM

@mxpv mxpv merged commit 2e4d2e1 into containerd:release/1.7 Apr 7, 2024
57 checks passed
@dmcgowan dmcgowan changed the title [release/1.7] Add IsNotFound case to ListPodSandboxStats [release/1.7] Fix ListPodSandboxStats to skip sandboxes with missing tasks Apr 25, 2024
@dmcgowan dmcgowan added impact/changelog area/cri Container Runtime Interface (CRI) labels Apr 25, 2024
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 size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants