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

network: protocol not available #14825

Closed
lvyuan8908412 opened this issue Aug 21, 2022 · 8 comments
Closed

network: protocol not available #14825

lvyuan8908412 opened this issue Aug 21, 2022 · 8 comments
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@lvyuan8908412
Copy link

[root@ch7 ~]# kubectl get pod --all-namespaces
1661075913706
[root@ch7 ~]# kubectl describe pod coredns-7f74c56694-wq57m -n kube-system

Warning FailedCreatePodSandBox 50s (x3 over 51s) kubelet, ch7.nauu.com (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "610a6b3999d9b7329e2a9efb5a5ede8dee05dd68c98c230c4a3e9b8d2e30ba6b" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available

1661076109137

@kundan2707
Copy link
Contributor

@lvyuan8908412 can you share log for coredns pod?

@kundan2707
Copy link
Contributor

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Aug 23, 2022
@lvyuan8908412
Copy link
Author

[root@ch7 ~]# kubectl describe pod coredns-7f74c56694-wq57m -n kube-system
Name: coredns-7f74c56694-wq57m
Namespace: kube-system
Priority: 2000000000
Priority Class Name: system-cluster-critical
Node: ch7.nauu.com/192.168.124.27
Start Time: Sun, 21 Aug 2022 02:39:05 -0700
Labels: k8s-app=kube-dns
pod-template-hash=7f74c56694
Annotations:
Status: Pending
IP:
IPs:
Controlled By: ReplicaSet/coredns-7f74c56694
Containers:
coredns:
Container ID:
Image: registry.cn-hangzhou.aliyuncs.com/google_containers/coredns:v1.8.6
Image ID:
Ports: 53/UDP, 53/TCP, 9153/TCP
Host Ports: 0/UDP, 0/TCP, 0/TCP
Args:
-conf
/etc/coredns/Corefile
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Limits:
memory: 170Mi
Requests:
cpu: 100m
memory: 70Mi
Liveness: http-get http://:8080/health delay=60s timeout=5s period=10s #success=1 #failure=5
Readiness: http-get http://:8181/ready delay=0s timeout=1s period=10s #success=1 #failure=3
Environment:
Mounts:
/etc/coredns from config-volume (ro)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nlzkh (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
config-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: coredns
Optional: false
kube-api-access-nlzkh:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional:
DownwardAPI: true
QoS Class: Burstable
Node-Selectors: kubernetes.io/os=linux
Tolerations: CriticalAddonsOnly
node-role.kubernetes.io/control-plane:NoSchedule
node-role.kubernetes.io/master:NoSchedule
node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message


Normal SandboxChanged 3d2h (x20308 over 3d7h) kubelet, ch7.nauu.com Pod sandbox changed, it will be killed and re-created.
Warning FailedCreatePodSandBox 3d2h (x20582 over 3d7h) kubelet, ch7.nauu.com (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "2c466496a8fad9993d80f390e07e61078596cbcfcf43e980205ef16e31e2cec2" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 83s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "edc6477fba7b4cda2df6f166887b02454fb22f611777696047b800710247e9a5" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 81s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "a8ed5ba31f655ad8d1ec6f7b109d1564766ab92bf7c3df2a4f87f3515e8c6e51" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 80s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "6650566c56cbd42a40cf7a8238440e154885e7fa27c8ba24fd81e4cf89666bd8" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 79s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "a4a947b492280ea8bc9b27de6e0f084e292d42fee782c7ccceba39aea20ef4d9" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 78s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "602eddc1f0e236c7c99cff6b539118dd6a2436d7fd4f543af2e02173a6df1da2" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 77s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "1882096a5d5c3785589c876a1ec0fb8a15117a77130ba6d04aef8556e8779172" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 76s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "c0c1df98e74ba8e8afb7af10ebe6a52adae11519fb0ff07601cd6990daabae42" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 75s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "1199c59cfee4ec998a5b194466ae5601fdc4b66a516cf9c8b2bdb9e9011396dc" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Warning FailedCreatePodSandBox 74s kubelet, ch7.nauu.com Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "2a1ec547dd3d7b6bbb0d36932fad0a1a0f6c3f8f3154e0b42762eb23d935fb3c" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available
Normal SandboxChanged 70s (x13 over 86s) kubelet, ch7.nauu.com Pod sandbox changed, it will be killed and re-created.
Warning FailedCreatePodSandBox 70s (x3 over 72s) kubelet, ch7.nauu.com (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "3e83f8e88e0338c43bb83d5a77eac25602517ad5e28d41eddc775ab5b317458d" network for pod "coredns-7f74c56694-wq57m": networkPlugin cni failed to set up pod "coredns-7f74c56694-wq57m_kube-system" network: protocol not available

[root@ch7 ~]# kubectl logs coredns-7f74c56694-wq57m -n kube-system
Error from server (BadRequest): container "coredns" in pod "coredns-7f74c56694-wq57m" is waiting to start: ContainerCreating

@klaases
Copy link
Contributor

klaases commented Oct 10, 2022

Thank you for sharing your experience! If you don't mind, could you provide minikube logs?

Please attach (drag) thelogs.txt file to this issue which can be generated by running this command:

$ minikube logs --file=logs.txt

This will help us isolate the problem further. Thank you!

/triage needs-information

@k8s-ci-robot k8s-ci-robot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Oct 10, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 8, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 7, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2023
@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

5 participants