kubernetes: Error while Initializing your master in kubernetes 1.6

Hi,

Im using Kubernetes latest version, 1.6 OS is Ubuntu 16.04

kubectl version
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.0", GitCommit:"fff5156092b56e6bd60fff75aad4dc9de6b6ef37", GitTreeState:"clean", BuildDate:"2017-03-28T16:36:33Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}

Im using the below tutorial

https://kubernetes.io/docs/getting-started-guides/kubeadm/

When i start Initializing your master, i got stuck with the below error

[kubeadm] WARNING: kubeadm is in beta, please do not use it for production clusters.
[init] Using Kubernetes version: v1.6.0
[init] Using Authorization mode: RBAC
[preflight] Running pre-flight checks
[preflight] Starting the kubelet service
[certificates] Generated CA certificate and key.
[certificates] Generated API server certificate and key.
[certificates] API Server serving cert is signed for DNS names [kubeadm-master kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 10.138.0.4]
[certificates] Generated API server kubelet client certificate and key.
[certificates] Generated service account token signing key and public key.
[certificates] Generated front-proxy CA certificate and key.
[certificates] Generated front-proxy client certificate and key.
[certificates] Valid certificates and keys now exist in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/admin.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/kubelet.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/controller-manager.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/scheduler.conf"
[apiclient] Created API client, waiting for the control plane to become ready
[apiclient] All control plane components are healthy after 16.772251 seconds
[apiclient] Waiting for at least one node to register and become ready
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet
[apiclient] First node has registered, but is not ready yet

Kindly help

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 7
  • Comments: 27 (2 by maintainers)

Most upvoted comments

#41892 might be related i’m seeing this in my controller logs


I0329 14:40:12.683792       1 attach_detach_controller.go:223] Starting Attach Detach Controller
E0329 14:40:12.701671       1 actual_state_of_world.go:461] Failed to set statusUpdateNeeded to needed true because nodeName="n1"  does not exist
E0329 14:40:12.701706       1 actual_state_of_world.go:475] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true because nodeName="n1"  does not exist
I0329 14:40:12.749976       1 nodecontroller.go:633] Initializing eviction metric for zone:
W0329 14:40:12.750377       1 nodecontroller.go:956] Missing timestamp for Node n1. Assuming now as a timestamp.
I0329 14:40:12.750496       1 nodecontroller.go:822] NodeController detected that all Nodes are not-Ready. Entering master disruption mode.
I0329 14:40:12.766974       1 taint_controller.go:180] Starting NoExecuteTaintManager
I0329 14:40:12.776070       1 event.go:217] Event(v1.ObjectReference{Kind:"Node", Namespace:"", Name:"n1", UID:"15ab6a53-148d-11e7-a1c1-02ed55e681b9", APIVersion:"", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'RegisteredNode' Node n1 event: Registered Node n1 in NodeController
I0329 14:40:12.794223       1 disruption.go:277] Sending events to api server.

Going to try to install 1.5.4 kubeadm, kubelet, kubeapi and then do apt upgrade to get latest version. It might work.

Update: I cannot install older kubeadm, kubelet, kubeapi on my node, because they might have been deleted in the repo.