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

StartHost: create: bootstrapping certificates: Failed to decode PEM data #5293

Closed
qasimgit opened this issue Sep 8, 2019 · 9 comments
Closed
Labels
kind/support Categorizes issue or PR as a support question. os/linux triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@qasimgit
Copy link

qasimgit commented Sep 8, 2019

$ minikube start
😄 minikube v1.3.1 on Ubuntu 19.04
🔥 Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
E0908 11:40:08.350190 2398 start.go:723] StartHost: create: bootstrapping certificates: Failed to decode PEM data

💣 Unable to start VM: create: bootstrapping certificates: Failed to decode PEM data

😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose

@qasimgit
Copy link
Author

qasimgit commented Sep 8, 2019

how to resolve this i already reinstall ubuntu and reintall minikube and docker

@tstromberg tstromberg changed the title whenever i start minikube it says this, StartHost: create: bootstrapping certificates: Failed to decode PEM data Sep 8, 2019
@tstromberg
Copy link
Contributor

Do you mind sharing the output of:

minikube start --alsologtostderr -v=8

I'm curious what certificate it's breaking on.

@tstromberg tstromberg added os/linux triage/needs-information Indicates an issue needs more information in order to work on it. labels Sep 8, 2019
@qasimgit
Copy link
Author

qasimgit commented Sep 8, 2019 via email

@tstromberg
Copy link
Contributor

I'm not sure which PEM file libmachine is trying to verify at this point. Do you mind sharing the output of:

grep "^--" ~/.minikube/certs/*.pem

I'd also be curious if this workaround works:

minikube delete
rm -Rf ~/.minikube/certs

Thanks for the additional information!

@qasimgit
Copy link
Author

qasimgit commented Sep 9, 2019 via email

@tstromberg
Copy link
Contributor

@qasimgit - The error suggests that you should install VirtualBox. Have you done so?

@sharifelgamal sharifelgamal added the kind/support Categorizes issue or PR as a support question. label Sep 20, 2019
@medyagh
Copy link
Member

medyagh commented Oct 23, 2019

@qasimgit it appears to me your issue was solved and the second issue was virtualbox not being installed .

in the next version of minikube we will notify user nicer that they dont have the virtualbox or other hypervisor installed in more elegant way.

@medyagh medyagh closed this as completed Oct 23, 2019
@yganchev
Copy link

@tstromberg Thanks a for providing this hint here. It helped me a lot!

@dobrevavictoria
Copy link

@tstromberg Thank you so much for the workaround! I had the same problem (with installed virtualbox and kvm drivers) and the commands you shared resolved it!

minikube delete
rm -Rf ~/.minikube/certs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. os/linux triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

6 participants