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

Failed to setup certs: rm: cannot remove '/var/lib/minikube/certs/ca.crt': Input/output error #4342

Closed
a8765439 opened this issue May 24, 2019 · 2 comments
Labels
co/virtualbox priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@a8765439
Copy link

minikube.exe start

  • minikube v1.1.0 on windows (amd64)
  • Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
  • Re-using the currently running virtualbox VM for "minikube" ...
  • Waiting for SSH access ...
  • Found network options:
    • NO_PROXY=192.168.99.100
  • Configuring environment for Kubernetes v1.14.2 on Docker 18.09.6
    • env NO_PROXY=192.168.99.100
  • Unable to load cached images: loading cached images: loading image C:\Users\kosaraju.minikube\cache\images\k8s.gcr.io\pause_3.1: Docker load /tmp/pause_3.1:
    command failed: docker load -i /tmp/pause_3.1
    stdout:
    stderr: mkdir /var/lib/docker/tmp/docker-import-966771295: input/output error
    : Process exited with status 1

X Failed to setup certs: pre-copy: command failed: sudo rm -f /var/lib/minikube/certs/ca.crt
stdout:
stderr: rm: cannot remove '/var/lib/minikube/certs/ca.crt': Input/output error
: Process exited with status 1

C:\Users\kosaraju\Downloads\kubernetes>minikube.exe start

  • minikube v1.1.0 on windows (amd64)
  • Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
  • Re-using the currently running virtualbox VM for "minikube" ...
  • Waiting for SSH access ...
  • Found network options:
    • NO_PROXY=192.168.99.100
  • Configuring environment for Kubernetes v1.14.2 on Docker 18.09.6
    • env NO_PROXY=192.168.99.100
  • Unable to load cached images: loading cached images: loading image C:\Users\kosaraju.minikube\cache\images\k8s.gcr.io\pause_3.1: Docker load /tmp/pause_3.1:
    command failed: docker load -i /tmp/pause_3.1
    stdout:
    stderr: mkdir /var/lib/docker/tmp/docker-import-262131182: input/output error
    : Process exited with status 1

X Failed to setup certs: pre-copy: command failed: sudo rm -f /var/lib/minikube/certs/ca.crt
stdout:
stderr: rm: cannot remove '/var/lib/minikube/certs/ca.crt': Input/output error
: Process exited with status 1

windows version : windows 10 home

@tstromberg tstromberg changed the title minikube crashed Failed to setup certs: rm: cannot remove '/var/lib/minikube/certs/ca.crt': Input/output error May 24, 2019
@tstromberg
Copy link
Contributor

My best guess is that the virtualbox VM disk is corrupt. Do you mind attaching the output of minikube logs?

I believe that minikube delete will fix this problem. Do you mind trying? If so, I'll make sure minikube automatically recommends that step as a solution.

@tstromberg tstromberg added co/virtualbox needs-solution-message Issues where where offering a solution for an error would be helpful priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it. labels May 24, 2019
@tstromberg
Copy link
Contributor

I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it.

Thank you for opening the issue!

@tstromberg tstromberg removed the needs-solution-message Issues where where offering a solution for an error would be helpful label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/virtualbox priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

2 participants