Commit 0a0702f
committed
shim: mark container stopped on kill of a saved/migrated sandbox
A bare no-op return on kill of a saved/migrated sandbox (whose local VM
has already been handed off) leaves the container RUNNING, so the kubelet
loops StopContainer and never reaches RemovePodSandbox; the source pod
then hangs Terminating with a live shim.
Mark the container STOPPED so the kubelet observes termination and
finalizes the pod, mirroring the existing agent-unreachable branch.
Container-level kill only.1 parent 3d6a31e commit 0a0702f
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
1076 | 1086 | | |
1077 | 1087 | | |
1078 | 1088 | | |
| |||
0 commit comments