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

.kube/config: timeout acquiring mutex #6065

Closed
VovaBobyr opened this issue Dec 11, 2019 · 2 comments
Closed

.kube/config: timeout acquiring mutex #6065

VovaBobyr opened this issue Dec 11, 2019 · 2 comments
Labels
os/windows triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@VovaBobyr
Copy link

During the first start minikube it crashed.
VM was created and remains in a running state.
Minikube was installed with choco tool.
minikube version: v1.6.0
commit: 1163097

It failed with error:
.kube/config: timeout acquiring mutex

The exact command to reproduce the issue:
minikube start --vm-driver=virtualbox

The full output of the command that failed:

minikube start --vm-driver=virtualbox

minikube v1.6.0 on Microsoft Windows 10 Enterprise 2016 LTSB 10.0.14393 Build 14393
Selecting 'virtualbox' driver from user configuration (alternates: [hyperv])
Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
Starting existing virtualbox VM for "minikube" ...
Waiting for the host to be provisioned ...
Preparing Kubernetes v1.17.0 on Docker '19.03.5' ...

X Failed to setup kubeconfig: writing kubeconfig: Error writing file C:\Users<>/.kube/config: error acquiring lock for C:\Users<>/.kube/config: timeout acquiring mutex

Sorry that minikube crashed. If this was unexpected, we would love to hear from you:

The output of the minikube logs command:folder log is empty.

The operating system version:
Windows 10 Enterprise 2016 LTSB
version 1607
Processor:
Intel(R) Core(TM) m3-7Y30 1GHz 1.61 GHz
RAM: 4 GB

@VovaBobyr VovaBobyr changed the title Minikube crash on Preparing Kubernetes v1.17.0 on Docker '19.03.5' Minikube crashes on Preparing Kubernetes v1.17.0 on Docker '19.03.5' Dec 11, 2019
@henzeb
Copy link

henzeb commented Dec 12, 2019

Be aware that kubernetes v1.17.0 supports up to Docker 18.09.9.

you should downgrade to that version.

On debian/ubuntu (for anyone coming across this): remove docker, use the official repo and execute the following:
apt-get install docker-ce*=5:18.09.9~3-0~ubuntu-bionic

@tstromberg
Copy link
Contributor

My apologies for the issue: this was apparently due to #6058 - which was introduced in minikube v1.6.0 and fixed in v1.6.1.

Marking this as a resolved duplicate.

@tstromberg tstromberg changed the title Minikube crashes on Preparing Kubernetes v1.17.0 on Docker '19.03.5' .kube/config: timeout acquiring mutex Dec 16, 2019
@tstromberg tstromberg added os/windows triage/duplicate Indicates an issue is a duplicate of other open issue. labels Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os/windows triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

3 participants