-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Using --profile with kubeadm causes kubeadm init: Process exited with status 1 #2574
Comments
Seems related to #2493. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
This is still a problem on the latest release (0.27), and so far I haven't found any workaround, rendering profiles unusable. On 0.25 I would at least see an error message (from the OP), now on 0.27 it just hangs in the same spot, minus that last log line. |
After updating virtual box to the latest patch release, I see this in the logs
full logs
|
@carolynvs I've been using |
I don't enable RBAC on localhost minikube cluster so can't really say. Sorry. |
I tried this with minikube v0.28.2 (July 23rd), Debian 9, and kvm2 today, and saw no errors: minikube --logtostderr --loglevel 0 -v 8 start --vm-driver=kvm2 \
start -p xxxxxxxxxxxxxxxxxx --bootstrapper kubeadm @balopat has seen a similar issue with Mac OS X & HyperKit, so I'll try next to reproduce this using VirtualBox on Linux & VirtualBox on Mac OS X. |
Still an issue. Getting same error in 0.28.0 and same as @javajon has said, localkube bootstrapper avoids the problem. What is the current status of fixing this? |
It's fixed in 0.28.2 which was released in July, so use that version. |
@btalbot I'm still reproducing profiles problems with version 0.28.2. See also #2818 $ minikube profile default $ minikube start $ minikube profile experiment $ minikube config view
$ minikube start --profile experiment Retrying. $ minikube version |
Looks like a different error to me since the output is so different. The OP shows the error as
which is what was fixed in 0.28.2. Maybe you've run into a different issue? |
I believe we accidentally fixed this. I was able to startup two VM's on Virtualbox & OSX with minikube v0.33.1: $ minikube start -p repro --bootstrapper kubeadm I do note the following warning however in kubeadm land:
|
I'm going to close this as obsolete - please reopen with more details if you are still experiencing problems with profiles on Virtualbox. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug report
Please provide the following details:
Environment:
What happened: minikube fails to start when passing in a profile
What you expected to happen: minikube successfully starts a cluster with a given profile
How to reproduce it (as minimally and precisely as possible):
minikube start -p repro --bootstrapper kubeadm
Output of
minikube logs
(if applicable):Anything else do we need to know:
Here are the logs of the command:
Rerunning
kubeadm init
shows that it's failing to taint/label the node:It appears the issue is with the kubelet registering the node with the apiserver in the first place:
Looks like the kubelet is being passed
--hostname-override=minikube
which I believe is causing it to attempt to register the node asminikube
instead ofrepro
even though it's using the usersystem:node:repro
.Also FWIW this does not seem to effect the
localkube
bootstrapper.Hope this helps, let me know if there's any more information I can provide.
The text was updated successfully, but these errors were encountered: