kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.22k stars 4.87k forks source link

minikube start issue #14785

Closed mtbctesting closed 1 year ago

mtbctesting commented 2 years ago

What Happened?

minikube start

Attach the log file

stderr: I0812 22:06:21.032674 3739 exec_runner.go:51] Run: sudo systemctl is-active --quiet service kubelet I0812 22:06:21.039043 3739 fix.go:103] recreateIfNeeded on minikube: state=Stopped err= W0812 22:06:21.039053 3739 fix.go:129] unexpected machine state, will restart: I0812 22:06:21.043757 3739 out.go:177] ๐Ÿ”„ Restarting existing none bare metal machine for "minikube" ... I0812 22:06:21.048516 3739 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ... I0812 22:06:21.048603 3739 start.go:307] post-start starting for "minikube" (driver="none") I0812 22:06:21.048609 3739 start.go:335] creating required directories: [/etc/kubernetes/addons /etc/kubernetes/manifests /var/tmp/minikube /var/lib/minikube /var/lib/minikube/certs /var/lib/minikube/images /var/lib/minikube/binaries /tmp/gvisor /usr/share/ca-certificates /etc/ssl/certs] I0812 22:06:21.048632 3739 exec_runner.go:51] Run: sudo mkdir -p /etc/kubernetes/addons /etc/kubernetes/manifests /var/tmp/minikube /var/lib/minikube /var/lib/minikube/certs /var/lib/minikube/images /var/lib/minikube/binaries /tmp/gvisor /usr/share/ca-certificates /etc/ssl/certs I0812 22:06:21.053783 3739 main.go:134] libmachine: Couldn't set key PRIVACY_POLICY_URL, no corresponding struct field found I0812 22:06:21.053795 3739 main.go:134] libmachine: Couldn't set key VERSION_CODENAME, no corresponding struct field found I0812 22:06:21.053801 3739 main.go:134] libmachine: Couldn't set key UBUNTU_CODENAME, no corresponding struct field found I0812 22:06:21.058429 3739 out.go:177] โ„น๏ธ OS release is Ubuntu 18.04.2 LTS I0812 22:06:21.061601 3739 filesync.go:126] Scanning /root/.minikube/addons for local assets ... I0812 22:06:21.061634 3739 filesync.go:126] Scanning /root/.minikube/files for local assets ... I0812 22:06:21.061646 3739 start.go:310] post-start completed in 13.0367ms I0812 22:06:21.061651 3739 fix.go:57] fixHost completed within 35.8256ms I0812 22:06:21.061654 3739 start.go:82] releasing machines lock for "minikube", held for 35.841ms I0812 22:06:21.065289 3739 out.go:177] I0812 22:06:21.062040 3739 exec_runner.go:51] Run: curl -sS -m 2 https://k8s.gcr.io/ W0812 22:06:21.068572 3739 out.go:239] โŒ Exiting due to RUNTIME_ENABLE: unknown network plugin: W0812 22:06:21.068614 3739 out.go:239] W0812 22:06:21.069386 3739 out.go:239] โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ ๐Ÿ˜ฟ If the above advice does not help, please let us know: โ”‚ โ”‚ ๐Ÿ‘‰ https://github.com/kubernetes/minikube/issues/new/choose โ”‚ โ”‚ โ”‚ โ”‚ Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ I0812 22:06:21.073943 3739 out.go:177]

Operating System

Windows

Driver

Hyper-V

RA489 commented 2 years ago

/kind support

klaases commented 2 years ago

Are you passing a network flag or using plugin, re:

โŒ Exiting due to RUNTIME_ENABLE: unknown network plugin:

If you don't mind, could you provide minikube logs?

Please attach (drag) thelogs.txt file to this issue which can be generated by running this command:

$ minikube logs --file=logs.txt

This will help us isolate the problem further. Thank you!

/triage needs-information /kind support

spowelljr commented 1 year ago

I'm not sure if this is resolved with minikube v1.27.0, but network plugin is empty which is failing the following call:

https://github.com/kubernetes/minikube/blob/aca5f29b40319bf79de1e3eb15edcca7da7b5481/pkg/minikube/cruntime/cruntime.go#L341-L347

We should likely be defaulting network plugin to cni to prevent this failure.

k8s-triage-robot commented 1 year ago

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:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 1 year ago

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:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-ci-robot commented 1 year ago

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to [this](https://github.com/kubernetes/minikube/issues/14785#issuecomment-1454860363): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue with `/reopen` >- Mark this issue as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close not-planned > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.