Closed bamason14 closed 2 years ago
Hi @bamason14! Thanks for reporting this. Does minikube start without ingress add-on enabled? Could you collect more logs, using -v=5 --alsologtostderr
options?
It still fails.
$ minikube start --driver=docker --cpus=2 --memory=8g -v=5 --alsologtostderr I0408 16:09:33.406874 40810 out.go:239] Setting OutFile to fd 1 ... I0408 16:09:33.407161 40810 out.go:286] TERM=vt100,COLORTERM=, which probably does not support color I0408 16:09:33.407172 40810 out.go:252] Setting ErrFile to fd 2... I0408 16:09:33.407176 40810 out.go:286] TERM=vt100,COLORTERM=, which probably does not support color I0408 16:09:33.407265 40810 root.go:308] Updating PATH: /rhome/dadmmason/.minikube/bin W0408 16:09:33.407527 40810 root.go:283] Error reading config file at /rhome/dadmmason/.minikube/config/config.json: open /rhome/dadmmason/.minikube/config/config.json: no such file or directory I0408 16:09:33.417788 40810 out.go:246] Setting JSON to false I0408 16:09:33.419293 40810 start.go:108] hostinfo: {"hostname":"ohdlawx0001.dev.mig.corp","uptime":33675,"bootTime":1617878898,"procs":244,"os":"linux","platform":"redhat","platformFamily":"rhel","platformVersion":"8.3","kernelVersion":"4.18.0-240.15.1.el8_3.x86_64","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"cee83a86-c71e-4c49-8bbe-e9a356a31865"} I0408 16:09:33.419352 40810 start.go:118] virtualization: I0408 16:09:33.422530 40810 out.go:129] * minikube v1.18.1 on Redhat 8.3
preloaded-images-k8s-v9-v1....: 5.12 MiB / 491.22 MiB [>__] 1.04% ? p/s ?I0408 16:09:34.295617 40810 image.go:158] Writing image gcr.io/k8s-minikube/kicbase:v0.0.18@sha256:ddd0c02d289e3a6fb4bba9a94435840666f4eb81484ff3e707b69c1c484aa45e preloaded-images-k8s-v9-v1....: 491.22 MiB / 491.22 MiB 100.00% 27.65 Mi^[[28~ I0408 16:09:52.795494 40810 preload.go:160] saving checksum for preloaded-images-k8s-v9-v1.20.2-docker-overlay2-amd64.tar.lz4 ... I0408 16:09:52.937302 40810 preload.go:177] verifying checksumm of /rhome/dadmmason/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v9-v1.20.2-docker-overlay2-amd64.tar.lz4 ... I0408 16:09:54.662906 40810 cache.go:57] Finished verifying existence of preloaded tar for v1.20.2 on docker I0408 16:09:54.663216 40810 profile.go:148] Saving config to /rhome/dadmmason/.minikube/profiles/minikube/config.json ... I0408 16:09:54.663255 40810 lock.go:36] WriteFile acquiring /rhome/dadmmason/.minikube/profiles/minikube/config.json: {Name:mkdd6468410fe3fb8a81afb70f8741815dfa701f Clock:{} Delay:500ms Timeout:1m0s Cancel:
} I0408 16:09:55.620913 40810 cache.go:148] successfully downloaded gcr.io/k8s-minikube/kicbase:v0.0.18@sha256:ddd0c02d289e3a6fb4bba9a94435840666f4eb81484ff3e707b69c1c484aa45e I0408 16:09:55.620945 40810 cache.go:185] Successfully downloaded all kic artifacts I0408 16:09:55.620980 40810 start.go:313] acquiring machines lock for minikube: {Name:mke106008088022af601d1ad8a563b2b2afd8f7d Clock:{} Delay:500ms Timeout:10m0s Cancel: } I0408 16:09:55.621148 40810 start.go:317] acquired machines lock for "minikube" in 147.045µs I0408 16:09:55.621603 40810 start.go:89] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.18@sha256:ddd0c02d289e3a6fb4bba9a94435840666f4eb81484ff3e707b69c1c484aa45e Memory:8192 CPUs:2 DiskSize:20000 VMDriver: Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.20.2 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.20.2 ControlPlane:true Worker:true}] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] Network: MultiNodeRequested:false} &{Name: IP: Port:8443 KubernetesVersion:v1.20.2 ControlPlane:true Worker:true} I0408 16:09:55.621690 40810 start.go:126] createHost starting for "" (driver="docker") I0408 16:09:55.625412 40810 out.go:150] * Creating docker container (CPUs=2, Memory=8192MB) ...
stderr: Error: No such container: minikube \ I0408 16:09:57.949208 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 16:09:57.991606 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 16:09:57.991707 40810 retry.go:31] will retry after 540.190908ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube | I0408 16:09:58.533001 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube / W0408 16:09:58.574641 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 16:09:58.574739 40810 retry.go:31] will retry after 655.06503ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube \ I0408 16:09:59.230163 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube | W0408 16:09:59.275294 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 16:09:59.275418 40810 retry.go:31] will retry after 791.196345ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube | I0408 16:10:00.066799 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 16:10:00.133947 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 W0408 16:10:00.134049 40810 start.go:257] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube
W0408 16:10:00.134065 40810 start.go:239] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube I0408 16:10:00.134082 40810 start.go:129] duration metric: createHost completed in 4.51237909s I0408 16:10:00.134091 40810 start.go:80] releasing machines lock for "minikube", held for 4.512916004s W0408 16:10:00.134118 40810 start.go:425] error starting host: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor I0408 16:10:00.134187 40810 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}} / W0408 16:10:00.187715 40810 cli_runner.go:162] docker container inspect minikube --format={{.State.Status}} returned with exit code 1 I0408 16:10:00.187777 40810 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": docker container inspect minikube --format={{.State.Status}}: exit status 1 stdout:
stderr: Error: No such container: minikube I0408 16:10:00.187981 40810 cli_runner.go:115] Run: sudo -n podman container inspect minikube --format={{.State.Status}} W0408 16:10:00.216529 40810 cli_runner.go:162] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 1 I0408 16:10:00.216599 40810 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 1 stdout:
stderr:
sudo: podman: command not found
W0408 16:10:00.216638 40810 start.go:430] delete host: Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
W0408 16:10:00.216821 40810 out.go:191] ! StartHost failed, but will try again: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor
! StartHost failed, but will try again: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor
I0408 16:10:00.216842 40810 start.go:440] Will try again in 5 seconds ...
I0408 16:10:05.217021 40810 start.go:313] acquiring machines lock for minikube: {Name:mke106008088022af601d1ad8a563b2b2afd8f7d Clock:{} Delay:500ms Timeout:10m0s Cancel:
stderr: Error: No such container: minikube - I0408 16:10:07.502792 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube \ W0408 16:10:07.543983 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 16:10:07.544082 40810 retry.go:31] will retry after 445.058653ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube \ I0408 16:10:07.989949 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 16:10:08.032282 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 16:10:08.032381 40810 retry.go:31] will retry after 318.170823ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube \ I0408 16:10:08.351123 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 16:10:08.398349 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 16:10:08.398478 40810 retry.go:31] will retry after 553.938121ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube / I0408 16:10:08.952878 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 16:10:08.996104 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 16:10:08.996225 40810 retry.go:31] will retry after 755.539547ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube / I0408 16:10:09.752561 40810 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 16:10:09.794190 40810 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 W0408 16:10:09.794306 40810 start.go:257] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube
W0408 16:10:09.794336 40810 start.go:239] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube I0408 16:10:09.794390 40810 start.go:129] duration metric: createHost completed in 4.576654714s I0408 16:10:09.794405 40810 start.go:80] releasing machines lock for "minikube", held for 4.576841834s W0408 16:10:09.794624 40810 out.go:191] * Failed to start docker container. Running "minikube delete" may fix it: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor
W0408 16:10:09.797750 40810 out.go:191] X Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor X Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor W0408 16:10:09.797785 40810 out.go:191] W0408 16:10:09.797845 40810 out.go:191] * If the above advice does not help, please let us know:
I rebuilt host and now everything is working. Closing issue as I have no way or recreating issue.
@bamason14 Hi, could you elaborate on rebuilding host? What did you do specifically with the host?
I can repro this issue in RHEL8. Let me know if anyone has any debugging commands to try.
creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor
I guess having an nfs share for home dir could cause this.. can't acquire locks...?
Yes, I think my NFS homedir caused this in my case. Setting MINIKUBE_HOME outside my homedir fixed it. (https://minikube.sigs.k8s.io/docs/handbook/config/#environment-variables)
@craustin @defurn is there a way that miniukube could detect NFS home dir so at least we could relax the Lock for NFS ? Or suggest the user to change homedir ?
I have the same issue..
root@minikube:/containerfile# ls ls: cannot access 'server.php': Bad file descriptor ls: cannot access 'node_modules': Bad file descriptor ls: cannot access 'README.md': Bad file descriptor ls: cannot access 'resources': Bad file descriptor ls: cannot access 'app': Bad file descriptor ls: cannot access 'bootstrap': Bad file descriptor ls: cannot access 'webpack.mix.js': Bad file descriptor ls: cannot access 'artisan': Bad file descriptor ls: cannot access 'package.json': Bad file descriptor ls: cannot access 'config': Bad file descriptor ls: cannot access 'phpunit.xml': Bad file descriptor ls: cannot access 'composer.json': Bad file descriptor ls: cannot access 'tests': Bad file descriptor ls: cannot access 'khanglq.txt': Bad file descriptor ls: cannot access 'storage': Bad file descriptor ls: cannot access 'composer.lock': Bad file descriptor ls: cannot access 'docker': Bad file descriptor ls: cannot access 'docker-compose.yml': Bad file descriptor ls: cannot access 'vendor': Bad file descriptor ls: cannot access 'frontend': Bad file descriptor ls: cannot access 'public': Bad file descriptor ls: cannot access 'package-lock.json': Bad file descriptor ls: cannot access 'database': Bad file descriptor ls: cannot access 'routes': Bad file descriptor README.md artisan composer.json config docker frontend node_modules package.json public routes storage vendor app bootstrap composer.lock database docker-compose.yml khanglq.txt package-lock.json phpunit.xml resources server.php tests webpack.mix.js
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closing this issue.
Reproduced on Centos 7.9, more information: https://stackoverflow.com/questions/74020334/minikube-failing-to-start-in-centos-7-9
Yes, I think my NFS homedir caused this in my case. Setting MINIKUBE_HOME outside my homedir fixed it. (https://minikube.sigs.k8s.io/docs/handbook/config/#environment-variables)
Thank you! This was exactly the issue that I was having and I could find anywhere how to fix it.
Steps to reproduce the issue:
$ minikube start --driver=docker --cpus=2 --memory=8g --addons=ingress --alsologtostderr I0408 07:05:54.554411 4173 out.go:239] Setting OutFile to fd 1 ... I0408 07:05:54.554717 4173 out.go:286] TERM=vt100,COLORTERM=, which probably does not support color I0408 07:05:54.554732 4173 out.go:252] Setting ErrFile to fd 2... I0408 07:05:54.554739 4173 out.go:286] TERM=vt100,COLORTERM=, which probably does not support color I0408 07:05:54.554900 4173 root.go:308] Updating PATH: /rhome/dadmmason/.minikube/bin W0408 07:05:54.555235 4173 root.go:283] Error reading config file at /rhome/dadmmason/.minikube/config/config.json: open /rhome/dadmmason/.minikube/config/config.json: no such file or directory I0408 07:05:54.568864 4173 out.go:246] Setting JSON to false I0408 07:05:54.570570 4173 start.go:108] hostinfo: {"hostname":"ohdlawx0001.dev.mig.corp","uptime":1056,"bootTime":1617878898,"procs":247,"os":"linux","platform":"redhat","platformFamily":"rhel","platformVersion":"8.3","kernelVersion":"4.18.0-240.15.1.el8_3.x86_64","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"cee83a86-c71e-4c49-8bbe-e9a356a31865"} I0408 07:05:54.570639 4173 start.go:118] virtualization: I0408 07:05:54.574648 4173 out.go:129] * minikube v1.18.1 on Redhat 8.3
stderr: Error: No such container: minikube \ I0408 07:06:17.437396 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 07:06:17.481955 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 07:06:17.482064 4173 retry.go:31] will retry after 540.190908ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube / I0408 07:06:18.022550 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 07:06:18.065523 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 07:06:18.065624 4173 retry.go:31] will retry after 655.06503ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube \ I0408 07:06:18.721180 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube | W0408 07:06:18.764668 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 07:06:18.764767 4173 retry.go:31] will retry after 791.196345ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube | I0408 07:06:19.556677 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 07:06:19.600683 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 W0408 07:06:19.600788 4173 start.go:257] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube
W0408 07:06:19.600808 4173 start.go:239] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube I0408 07:06:19.600820 4173 start.go:129] duration metric: createHost completed in 4.498526015s I0408 07:06:19.600828 4173 start.go:80] releasing machines lock for "minikube", held for 4.499126077s W0408 07:06:19.600850 4173 start.go:425] error starting host: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor I0408 07:06:19.600913 4173 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}} / W0408 07:06:19.644039 4173 cli_runner.go:162] docker container inspect minikube --format={{.State.Status}} returned with exit code 1 I0408 07:06:19.644097 4173 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": docker container inspect minikube --format={{.State.Status}}: exit status 1 stdout:
stderr: Error: No such container: minikube I0408 07:06:19.644300 4173 cli_runner.go:115] Run: sudo -n podman container inspect minikube --format={{.State.Status}} W0408 07:06:19.666438 4173 cli_runner.go:162] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 1 I0408 07:06:19.666501 4173 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 1 stdout:
stderr: sudo: podman: command not found W0408 07:06:19.666541 4173 start.go:430] delete host: Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one. W0408 07:06:19.666678 4173 out.go:191] ! StartHost failed, but will try again: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor ! StartHost failed, but will try again: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor I0408 07:06:19.666713 4173 start.go:440] Will try again in 5 seconds ... I0408 07:06:24.667885 4173 start.go:313] acquiring machines lock for minikube: {Name:mke106008088022af601d1ad8a563b2b2afd8f7d Clock:{} Delay:500ms Timeout:10m0s Cancel:}
I0408 07:06:24.668501 4173 start.go:317] acquired machines lock for "minikube" in 545.261µs
I0408 07:06:24.668553 4173 start.go:89] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.18@sha256:ddd0c02d289e3a6fb4bba9a94435840666f4eb81484ff3e707b69c1c484aa45e Memory:8192 CPUs:2 DiskSize:20000 VMDriver: Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.20.2 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.20.2 ControlPlane:true Worker:true}] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] Network: MultiNodeRequested:false} &{Name: IP: Port:8443 KubernetesVersion:v1.20.2 ControlPlane:true Worker:true}
I0408 07:06:24.668681 4173 start.go:126] createHost starting for "" (driver="docker")
I0408 07:06:24.673516 4173 out.go:150] * Creating docker container (CPUs=2, Memory=8192MB) ...
stderr: Error: No such container: minikube - I0408 07:06:26.952146 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube \ W0408 07:06:27.007420 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 07:06:27.007517 4173 retry.go:31] will retry after 445.058653ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube \ I0408 07:06:27.453344 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube | W0408 07:06:27.498271 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 07:06:27.498371 4173 retry.go:31] will retry after 318.170823ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube \ I0408 07:06:27.816973 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 07:06:27.861005 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 07:06:27.861106 4173 retry.go:31] will retry after 553.938121ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube / I0408 07:06:28.415952 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 07:06:28.459541 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 I0408 07:06:28.459655 4173 retry.go:31] will retry after 755.539547ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube / I0408 07:06:29.216213 4173 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube W0408 07:06:29.276618 4173 cli_runner.go:162] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 1 W0408 07:06:29.276727 4173 start.go:257] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube
W0408 07:06:29.276743 4173 start.go:239] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 1 stdout:
stderr: Error: No such container: minikube I0408 07:06:29.276755 4173 start.go:129] duration metric: createHost completed in 4.60806132s I0408 07:06:29.276762 4173 start.go:80] releasing machines lock for "minikube", held for 4.608237876s W0408 07:06:29.276912 4173 out.go:191] * Failed to start docker container. Running "minikube delete" may fix it: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor
W0408 07:06:29.283628 4173 out.go:191] X Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor X Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: bootstrapping certificates: failed to acquire bootstrap client lock: %!v(MISSING) bad file descriptor W0408 07:06:29.283689 4173 out.go:191] W0408 07:06:29.283730 4173 out.go:191] * If the above advice does not help, please let us know:
Full output of failed command:
Full output of
minikube start
command used, if not already included:Optional: Full output of
minikube logs
command: