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 状态一直在Pending #4

Open
menkeyi opened this issue Oct 25, 2018 · 0 comments
Open

pod 状态一直在Pending #4

menkeyi opened this issue Oct 25, 2018 · 0 comments

Comments

@menkeyi
Copy link

menkeyi commented Oct 25, 2018

[root@K8S-M1 ~]# kubectl get cs
NAME STATUS MESSAGE ERROR
scheduler Healthy ok
controller-manager Healthy ok
etcd-0 Healthy {"health":"true"}
etcd-1 Healthy {"health":"true"}
etcd-2 Healthy {"health":"true"}

[root@K8S-M1 ~]# kubectl get csr
NAME AGE REQUESTOR CONDITION
csr-2bvfj 9h system:node:K8S-M2 Pending
csr-48szz 9h system:node:K8S-M1 Pending
csr-4lrzl 9h system:node:K8S-M2 Pending
csr-4m9q9 9h system:node:K8S-M3 Pending
csr-htwbq 9h system:node:K8S-M3 Pending
csr-vb7hv 9h system:node:K8S-M1 Pending

[root@K8S-M1 ~]# tail -f /var/log/messages
Oct 25 20:01:09 K8S-M1 kubelet: W1025 20:01:09.215274 5638 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 25 20:01:09 K8S-M1 kubelet: E1025 20:01:09.215446 5638 kubelet.go:2112] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
Oct 25 20:01:09 K8S-M1 kubelet: I1025 20:01:09.382231 5638 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 25 20:01:13 K8S-M1 kubelet: I1025 20:01:13.496924 5638 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 25 20:01:13 K8S-M1 kubelet: I1025 20:01:13.499798 5638 kubelet_node_status.go:79] Attempting to register node k8s-m1
Oct 25 20:01:13 K8S-M1 kubelet: E1025 20:01:13.502143 5638 kubelet_node_status.go:103] Unable to register node "k8s-m1" with API server: nodes "k8s-m1" is forbidden: node "K8S-M1" cannot modify node "k8s-m1"
Oct 25 20:01:14 K8S-M1 kubelet: W1025 20:01:14.216629 5638 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 25 20:01:14 K8S-M1 kubelet: E1025 20:01:14.216809 5638 kubelet.go:2112] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
Oct 25 20:01:14 K8S-M1 kubelet: I1025 20:01:14.382116 5638 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 25 20:01:15 K8S-M1 kubelet: E1025 20:01:15.921600 5638 eviction_manager.go:243] eviction manager: failed to get get summary stats: failed to get node info: node "k8s-m1" not found
Oct 25 20:01:19 K8S-M1 kubelet: W1025 20:01:19.218181 5638 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 25 20:01:19 K8S-M1 kubelet: E1025 20:01:19.218377 5638 kubelet.go:2112] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
Oct 25 20:01:09 K8S-M1 kubelet: W1025 20:01:09.215274 5638 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 25 20:01:09 K8S-M1 kubelet: E1025 20:01:09.215446 5638 kubelet.go:2112] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
Oct 25 20:01:09 K8S-M1 kubelet: I1025 20:01:09.382231 5638 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 25 20:01:13 K8S-M1 kubelet: I1025 20:01:13.496924 5638 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 25 20:01:13 K8S-M1 kubelet: I1025 20:01:13.499798 5638 kubelet_node_status.go:79] Attempting to register node k8s-m1
Oct 25 20:01:13 K8S-M1 kubelet: E1025 20:01:13.502143 5638 kubelet_node_status.go:103] Unable to register node "k8s-m1" with API server: nodes "k8s-m1" is forbidden: node "K8S-M1" cannot modify node "k8s-m1"
Oct 25 20:01:14 K8S-M1 kubelet: W1025 20:01:14.216629 5638 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 25 20:01:14 K8S-M1 kubelet: E1025 20:01:14.216809 5638 kubelet.go:2112] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
Oct 25 20:01:14 K8S-M1 kubelet: I1025 20:01:14.382116 5638 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 25 20:01:15 K8S-M1 kubelet: E1025 20:01:15.921600 5638 eviction_manager.go:243] eviction manager: failed to get get summary stats: failed to get node info: node "k8s-m1" not found
Oct 25 20:01:19 K8S-M1 kubelet: W1025 20:01:19.218181 5638 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 25 20:01:19 K8S-M1 kubelet: E1025 20:01:19.218377 5638 kubelet.go:2112] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant