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

Kubernetes 1.7 is there and our Vagrant kubeadm setup does not work anymore #286

Closed
rmohr opened this issue Jul 4, 2017 · 6 comments
Closed

Comments

@rmohr
Copy link
Member

rmohr commented Jul 4, 2017

Yes it is that time again :)

Kubeadm tries to deploy Kubernets 1.7 after a fresh vagrant up. The master comes up properly, but the node can't register with the provided token.

The error message is:

==> node0: [discovery] Trying to connect to API Server "192.168.200.2:6443"
==> node0: [discovery] Created cluster-info discovery client, requesting info from "https://192.168.200.2:6443"
==> node0: [discovery] Failed to connect to API Server "192.168.200.2:6443": there is no JWS signed token in the cluster-info ConfigMap. This token id "abcdef" is invalid for this cluster, can't connect

There were some changes regarding to the token and bootstrapping.

@rmohr
Copy link
Member Author

rmohr commented Jul 4, 2017

/cc @kubevirt/maintainers

@rmohr
Copy link
Member Author

rmohr commented Jul 4, 2017

I can start working on this shortly, but if someone has time right now, feel free to pick it.

@rmohr rmohr changed the title Kubernetes 1.7 is ther and our Vagrant kubeadm setup does not work anymore Kubernetes 1.7 is there and our Vagrant kubeadm setup does not work anymore Jul 4, 2017
@rmohr
Copy link
Member Author

rmohr commented Jul 4, 2017

Got it: kubernetes/kubeadm#335

@rmohr
Copy link
Member Author

rmohr commented Jul 4, 2017

Provided a temporary fix in #288

@stu-gott
Copy link
Member

stu-gott commented Jul 5, 2017

As mentioned in kubernetes/kubernetes#48480 the root cause of this appears to be a race condition (already merged into upstream git). In order to get Kubernetes 1.7 working before that patch hits, I simply recreated my vagrant nodes until everything came up properly. It took two re-creates for me. YMMV

@vhosakot
Copy link

Per kubernetes/kubeadm#335 (comment), kubeadm init --token-ttl 0 resolves this issue for me.

mzzgaopeng pushed a commit to mzzgaopeng/kubevirt that referenced this issue Mar 8, 2021
Windows: No error for no endpoint on DEL. Ipam clean-up on ADD failure
kubevirt-bot pushed a commit to kubevirt-bot/kubevirt that referenced this issue Dec 7, 2021
Signed-off-by: Quique Llorente <ellorent@redhat.com>
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

3 participants