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

Pod stay in ContainerCreating forever if failed to create sandbox #80355

Closed
liqlin2015 opened this issue Jul 19, 2019 · 3 comments
Closed

Pod stay in ContainerCreating forever if failed to create sandbox #80355

liqlin2015 opened this issue Jul 19, 2019 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/node Categorizes an issue or PR as relevant to SIG Node.

Comments

@liqlin2015
Copy link

What happened:

Kubelet failed to create sandbox for pod because of timeout when connect to docker engine. See the pod even

Failed create pod sandbox: rpc error: code = DeadlineExceeded desc = context deadline exceeded

Since it's not a permanent env error kubelet should retry to create sanbox. In my case, I just deleted the pod in ContainterCreating status and new pod was successfully created.

What you expected to happen:

In some error cases kubelet should retry to create pod. Maybe mark pod as failed instead of ContainerCreating.

How to reproduce it (as minimally and precisely as possible):

Not easy to reproduce.

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version): v1.13.7
  • Cloud provider or hardware configuration: None
  • OS (e.g: cat /etc/os-release): Ubuntu
  • Kernel (e.g. uname -a): 18.04
  • Install tools: None
  • Network plugin and version (if this is a network-related bug): Calico
  • Others:
@liqlin2015 liqlin2015 added the kind/bug Categorizes issue or PR as related to a bug. label Jul 19, 2019
@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Jul 19, 2019
@liqlin2015
Copy link
Author

liqlin2015 commented Jul 19, 2019

/sig node

@k8s-ci-robot k8s-ci-robot added sig/node Categorizes an issue or PR as relevant to SIG Node. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Jul 19, 2019
@Pluies
Copy link
Contributor

Pluies commented Aug 5, 2019

FWIW I'm running into the same issue, and it appears very similar to issue #79398 and #78125 and, if I understand correctly, should be fixed by #79451.

@liqlin2015
Copy link
Author

Close it based this PR #79451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/node Categorizes an issue or PR as relevant to SIG Node.
Projects
None yet
Development

No branches or pull requests

3 participants