-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
CRI fails to invoke CNI plugin to teardown network when RunPodSandbox times out #5438
Labels
Comments
areed
pushed a commit
to replicatedhq/kURL
that referenced
this issue
Apr 30, 2021
areed
pushed a commit
to replicatedhq/kURL
that referenced
this issue
Apr 30, 2021
areed
pushed a commit
to replicatedhq/kURL
that referenced
this issue
Apr 30, 2021
areed
pushed a commit
to replicatedhq/kURL
that referenced
this issue
Apr 30, 2021
This was referenced Jun 4, 2021
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
RunPodSandbox may timeout due to an issue in runc 1.0-rc93 that causes runc init to occasionally block. When this happens, RunPodSandbox will attempt to teardown the pod network but it doesn't invoke the CNI plugin because the context is already done.
With weave this causes IP addresses to be leaked.
Steps to reproduce the issue:
The issue is difficult to reproduce because creating pods usually does not cause
runc init
to block.Describe the results you received:
Containerd logs have these two errors
Describe the results you expected:
The net plugin should be invoked even when RunPodSandbox has a context deadline exceeded error.
What version of containerd are you using:
1.4.4
Any other relevant information (runC version, CRI configuration, OS/Kernel version, etc.):
runc version 1.0.0-rc93
Linux areed-gp 5.4.0-1042-gcp #45~18.04.1-Ubuntu SMP Tue Apr 13 18:51:16 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
runc --version
crictl info
uname -a
The text was updated successfully, but these errors were encountered: