You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kubelet is running but with errors and kube API is not available:
failed to list bootstrap tokens: Get https://192.168.10.11:6443/api/v1/namespaces/kube-system/secrets?fieldSelector=type%3Dbootstrap.kubernetes.io%2Ftoken: dial tcp 192.168.10.11:6443: connect: connection refused
journalctl -u kubelet:
Apr 16 11:06:12 vm1 kubelet[62595]: W0416 11:06:12.758029 62595 driver-call.go:149] FlexVolume: driver call failed: executable: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds/uds, args: [init], error: fork/exec /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds/uds: no such file or directory, output: ""
Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.758046 62595 plugins.go:732] Error dynamically probing plugins: Error creating Flexvolume plugin from directory nodeagent~uds, skipping. Error: unexpected end of JSON input
Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.758164 62595 driver-call.go:266] Failed to unmarshal output for command: init, output: "", error: unexpected end of JSON input
[...]
Apr 16 11:06:12 vm1 kubelet[62595]: W0416 11:06:12.758170 62595 cni.go:237] Unable to update cni config: no networks found in /etc/cni/net.d
[...]
Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.824004 62595 reflector.go:153] object-"kube-system"/"calico-node-token-qkm9r": Failed to list *v1.Secret: Get https://192.168.10.11:6443/api/v1/namespaces/kube-system/secrets?fieldSelecApr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.824641 62595 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "vm1": Get https://192.168.10.11:6443/api/v1/nodes/vm1?resourceVersion=0&timeout=10s:Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.824766 62595 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "vm1": Get https://192.168.10.11:6443/api/v1/nodes/vm1?timeout=10s: dial tcp 192.168.Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.824884 62595 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "vm1": Get https://192.168.10.11:6443/api/v1/nodes/vm1?timeout=10s: dial tcp 192.168.Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.824967 62595 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "vm1": Get https://192.168.10.11:6443/api/v1/nodes/vm1?timeout=10s: dial tcp 192.168.Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.825042 62595 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "vm1": Get https://192.168.10.11:6443/api/v1/nodes/vm1?timeout=10s: dial tcp 192.168.Apr 16 11:06:12 vm1 kubelet[62595]: E0416 11:06:12.825047 62595 kubelet_node_status.go:389] Unable to update node status: update node status exceeds retry count
The text was updated successfully, but these errors were encountered:
to-bar
changed the title
Task 'Get token from master' fails on-prem when calico plugin is used
Task 'Get token from master' fails on-prem when Calico plugin is used
Apr 21, 2020
Env:
Hyper-V VMs (RHEL 7.6)
Kubelet is running but with errors and kube API is not available:
journalctl -u kubelet:
The text was updated successfully, but these errors were encountered: