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

jx create cluster minikube fails with Unable to register node "minikube" with API server: nodes "minikube" is forbidden: node "minikube-jx-dev" cannot modify node "minikube" #962

Closed
ascheman opened this issue Jun 3, 2018 · 2 comments
Labels
kind/bug Issue is a bug priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@ascheman
Copy link

ascheman commented Jun 3, 2018

Setting up jx with minikube fails for me with the following problem:

Unable to register node "minikube" with API server: nodes "minikube" is forbidden: node "minikube-jx-dev" cannot modify node "minikube"

When running jx create cluster minikube it only reports an exit status 1:

...
Creating Minikube cluster...
Error: Command failed  minikube start --memory 8192 --cpus 3 --vm-driver virtualbox --bootstrapper=kubeadm
error creating cluster exit status 1

But a journalctl -xe on the minikube VM shows:

Jun 03 11:05:42 minikube-jx-dev kubelet[3643]: E0603 11:05:42.403112    3643 eviction_manager.go:246] eviction manager: failed to get get summary stats: failed to get node info: node "minikube" not found
Jun 03 11:05:46 minikube-jx-dev kubelet[3643]: I0603 11:05:46.376189    3643 kubelet_node_status.go:271] Setting node annotation to enable volume controller attach/detach
Jun 03 11:05:46 minikube-jx-dev kubelet[3643]: I0603 11:05:46.387269    3643 kubelet_node_status.go:82] Attempting to register node minikube
Jun 03 11:05:46 minikube-jx-dev kubelet[3643]: E0603 11:05:46.393446    3643 kubelet_node_status.go:106] Unable to register node "minikube" with API server: nodes "minikube" is forbidden: node "minikube-jx-dev" cannot modify node "minikube"

I think it is an problem in kubeadm in the end (cf. kubernetes/minikube#2574) but nevertheless prohibits JX to create a cluster.

@rajdavies rajdavies added the bug label Jun 21, 2018
@rawlingsj rawlingsj removed the bug label Dec 7, 2018
@rawlingsj
Copy link
Member

I wonder if this is still an issue as there's comments on that linked issue that a new version in July contains fixes for the area.

/priority awaiting-more-evidence
/kind bug

@jenkins-x-bot jenkins-x-bot added priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. kind/bug Issue is a bug labels Dec 7, 2018
@ascheman
Copy link
Author

This seems to work now, closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issue is a bug priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

4 participants