Files
containerd/internal
Maksym Pavlenko 9e8abe0405 cri: fix process leak when start cleanup fails to delete task
When StartContainer fails after the task is created and the cleanup
task delete fails (e.g. it timed out on a stuck shim), the container
was still recorded as EXITED while its task remained. RemoveContainer
only reaps tasks for RUNNING and UNKNOWN containers, so every kubelet
GC retry failed with "cannot delete running task" and the container
was never collected. Record the container as UNKNOWN when task cleanup
cannot be confirmed so RemoveContainer force-stops it and retries the
cleanup, keeping the StartError reason in both cases.

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-09-24 19:45:38 +00:00
..
2026-09-01 16:54:55 +02:00
2026-07-21 10:07:08 -07:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2025-04-22 20:27:06 +02:00
2026-03-15 18:24:15 +01:00
2026-09-01 16:54:55 +02:00
2026-03-15 18:24:13 +01:00
2026-03-15 18:24:16 +01:00