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

start fail on ubuntu 22.04 with driver=none and runtime=containerd #14638

Closed
xunfeng1980 opened this issue Jul 26, 2022 · 3 comments
Closed

start fail on ubuntu 22.04 with driver=none and runtime=containerd #14638

xunfeng1980 opened this issue Jul 26, 2022 · 3 comments
Labels
co/none-driver co/runtime/containerd kind/bug Categorizes issue or PR as related to a bug.

Comments

@xunfeng1980
Copy link

What Happened?

I0726 20:44:17.787751 261426 out.go:296] Setting OutFile to fd 1 ...
I0726 20:44:17.787874 261426 out.go:348] isatty.IsTerminal(1) = true
I0726 20:44:17.787883 261426 out.go:309] Setting ErrFile to fd 2...
I0726 20:44:17.787889 261426 out.go:348] isatty.IsTerminal(2) = true
I0726 20:44:17.788090 261426 root.go:329] Updating PATH: /root/.minikube/bin
I0726 20:44:17.788315 261426 out.go:303] Setting JSON to false
I0726 20:44:17.814086 261426 start.go:115] hostinfo: {"hostname":"lux-Code-01-Series-PF5NU1G","uptime":44009,"bootTime":1658795449,"procs":505,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"5.15.0-25-generic","kernelArch":"x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostId":"15eae4ae-cff1-11ea-b504-ee81e3ec1500"}
I0726 20:44:17.814149 261426 start.go:125] virtualization: kvm host
I0726 20:44:17.823316 261426 out.go:177] 😄 Ubuntu 22.04 上的 minikube v1.26.0
😄 Ubuntu 22.04 上的 minikube v1.26.0
W0726 20:44:17.825262 261426 preload.go:295] Failed to list preload files: open /root/.minikube/cache/preloaded-tarball: no such file or directory
I0726 20:44:17.825308 261426 notify.go:193] Checking for updates...
I0726 20:44:17.825670 261426 config.go:178] Loaded profile config "minikube": Driver=none, ContainerRuntime=containerd, KubernetesVersion=v1.21.14
W0726 20:44:17.825760 261426 start.go:713] api.Load failed for minikube: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
I0726 20:44:17.827262 261426 out.go:177] 🆕 Kubernetes 1.24.1 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.24.1
🆕 Kubernetes 1.24.1 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.24.1
I0726 20:44:17.828302 261426 driver.go:360] Setting default libvirt URI to qemu:///system
W0726 20:44:17.828344 261426 start.go:713] api.Load failed for minikube: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
I0726 20:44:17.829508 261426 out.go:177] ✨ 根据现有的配置文件使用 none 驱动程序
✨ 根据现有的配置文件使用 none 驱动程序
I0726 20:44:17.831155 261426 start.go:284] selected driver: none
I0726 20:44:17.831170 261426 start.go:805] validating driver "none" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/root:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:}
I0726 20:44:17.831240 261426 start.go:816] status for none: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0726 20:44:17.831260 261426 start.go:1541] auto setting extra-config to "kubelet.resolv-conf=/run/systemd/resolve/resolv.conf".
W0726 20:44:17.831323 261426 out.go:239] ❗ The 'none' driver does not respect the --cpus flag
❗ The 'none' driver does not respect the --cpus flag
W0726 20:44:17.848664 261426 out.go:239] ❗ The 'none' driver does not respect the --memory flag
❗ The 'none' driver does not respect the --memory flag
W0726 20:44:17.869647 261426 out.go:239] ❗ 同时使用 'none' 驱动以及 'containerd' 运行时是未经测试过的配置!
❗ 同时使用 'none' 驱动以及 'containerd' 运行时是未经测试过的配置!
W0726 20:44:17.869851 261426 out.go:239] ❗ The 'none' driver does not respect the --cpus flag
❗ The 'none' driver does not respect the --cpus flag
W0726 20:44:17.888850 261426 out.go:239] ❗ The 'none' driver does not respect the --memory flag
❗ The 'none' driver does not respect the --memory flag
W0726 20:44:17.889113 261426 out.go:239] ❗ 同时使用 'none' 驱动以及 'containerd' 运行时是未经测试过的配置!
❗ 同时使用 'none' 驱动以及 'containerd' 运行时是未经测试过的配置!
I0726 20:44:17.889279 261426 cni.go:95] Creating CNI manager for ""
I0726 20:44:17.889312 261426 cni.go:149] Driver none used, CNI unnecessary in this configuration, recommending no CNI
I0726 20:44:17.889337 261426 start_flags.go:310] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/root:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:}
I0726 20:44:17.891329 261426 out.go:177] 👍 Starting control plane node minikube in cluster minikube
👍 Starting control plane node minikube in cluster minikube
I0726 20:44:17.892582 261426 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ...
I0726 20:44:17.893189 261426 cache.go:208] Successfully downloaded all kic artifacts
I0726 20:44:17.893245 261426 start.go:352] acquiring machines lock for minikube: {Name:mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0726 20:44:17.893550 261426 start.go:356] acquired machines lock for "minikube" in 272.041µs
I0726 20:44:17.893579 261426 start.go:91] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/root:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:} &{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}
I0726 20:44:17.893674 261426 start.go:131] createHost starting for "m01" (driver="none")
I0726 20:44:17.894991 261426 out.go:177] 🤹 Running on localhost (CPUs=16, Memory=63726MB, Disk=933528MB) ...
🤹 Running on localhost (CPUs=16, Memory=63726MB, Disk=933528MB) ...
I0726 20:44:17.896079 261426 exec_runner.go:51] Run: systemctl --version
I0726 20:44:17.897986 261426 start.go:165] libmachine.API.Create for "minikube" (driver="none")
I0726 20:44:17.898021 261426 client.go:168] LocalClient.Create starting
I0726 20:44:17.898089 261426 main.go:134] libmachine: Reading certificate data from /root/.minikube/certs/ca.pem
I0726 20:44:17.898150 261426 main.go:134] libmachine: Decoding PEM data...
I0726 20:44:17.898181 261426 main.go:134] libmachine: Parsing certificate...
I0726 20:44:17.898295 261426 main.go:134] libmachine: Reading certificate data from /root/.minikube/certs/cert.pem
I0726 20:44:17.898335 261426 main.go:134] libmachine: Decoding PEM data...
I0726 20:44:17.898354 261426 main.go:134] libmachine: Parsing certificate...
I0726 20:44:17.898423 261426 client.go:171] LocalClient.Create took 388.47µs
I0726 20:44:19.899742 261426 start.go:134] duration metric: createHost completed in 2.006034492s
I0726 20:44:19.899820 261426 start.go:81] releasing machines lock for "minikube", held for 2.006246537s
W0726 20:44:19.899917 261426 start.go:599] error starting host: creating host: create: precreate: exec: "docker": executable file not found in $PATH
I0726 20:44:19.900125 261426 cli_runner.go:164] Run: docker container inspect minikube --format={{.State.Status}}
I0726 20:44:19.900194 261426 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": docker container inspect minikube --format={{.State.Status}}: exec: "docker": executable file not found in $PATH
stdout:

stderr:
I0726 20:44:19.900323 261426 cli_runner.go:164] Run: sudo -n podman container inspect minikube --format={{.State.Status}}
W0726 20:44:19.911040 261426 cli_runner.go:211] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 1
I0726 20:44:19.911099 261426 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:找不到命令
W0726 20:44:19.911134 261426 start.go:604] delete host: Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
W0726 20:44:19.911339 261426 out.go:239] 🤦 StartHost failed, but will try again: creating host: create: precreate: exec: "docker": executable file not found in $PATH
🤦 StartHost failed, but will try again: creating host: create: precreate: exec: "docker": executable file not found in $PATH
I0726 20:44:19.911366 261426 start.go:614] Will try again in 5 seconds ...
I0726 20:44:24.913387 261426 start.go:352] acquiring machines lock for minikube: {Name:mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0726 20:44:24.913833 261426 start.go:356] acquired machines lock for "minikube" in 353.897µs
I0726 20:44:24.913889 261426 start.go:91] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/root:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:} &{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}
I0726 20:44:24.914103 261426 start.go:131] createHost starting for "m01" (driver="none")
I0726 20:44:24.924077 261426 out.go:177] 🤹 Running on localhost (CPUs=16, Memory=63726MB, Disk=933528MB) ...
🤹 Running on localhost (CPUs=16, Memory=63726MB, Disk=933528MB) ...
I0726 20:44:24.926232 261426 start.go:165] libmachine.API.Create for "minikube" (driver="none")
I0726 20:44:24.926301 261426 client.go:168] LocalClient.Create starting
I0726 20:44:24.926475 261426 main.go:134] libmachine: Reading certificate data from /root/.minikube/certs/ca.pem
I0726 20:44:24.926564 261426 main.go:134] libmachine: Decoding PEM data...
I0726 20:44:24.926600 261426 main.go:134] libmachine: Parsing certificate...
I0726 20:44:24.926695 261426 main.go:134] libmachine: Reading certificate data from /root/.minikube/certs/cert.pem
I0726 20:44:24.926742 261426 main.go:134] libmachine: Decoding PEM data...
I0726 20:44:24.926779 261426 main.go:134] libmachine: Parsing certificate...
I0726 20:44:24.926905 261426 client.go:171] LocalClient.Create took 583.683µs
I0726 20:44:26.928179 261426 start.go:134] duration metric: createHost completed in 2.014027335s
I0726 20:44:26.928254 261426 start.go:81] releasing machines lock for "minikube", held for 2.014383537s
W0726 20:44:26.928690 261426 out.go:239] 😿 Failed to start none bare metal machine. Running "minikube delete" may fix it: creating host: create: precreate: exec: "docker": executable file not found in $PATH
😿 Failed to start none bare metal machine. Running "minikube delete" may fix it: creating host: create: precreate: exec: "docker": executable file not found in $PATH
I0726 20:44:26.938125 261426 out.go:177]

W0726 20:44:26.940000 261426 out.go:239] ❌ Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: precreate: exec: "docker": executable file not found in $PATH
❌ Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: precreate: exec: "docker": executable file not found in $PATH
W0726 20:44:26.940039 261426 out.go:239]

W0726 20:44:26.941527 261426 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0726 20:44:26.942789 261426 out.go:177]

Attach the log file

  • ==> Audit <==

  • |---------|------------------------------------------------------------------------|----------|------|---------|---------------------|---------------------|
    | Command | Args | Profile | User | Version | Start Time | End Time |
    |---------|------------------------------------------------------------------------|----------|------|---------|---------------------|---------------------|
    | start | --driver=none --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 08:25 CST | |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | start | --driver=none --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 08:26 CST | |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | delete | | minikube | lux | v1.26.0 | 26 Jul 22 08:28 CST | 26 Jul 22 08:28 CST |
    | start | --driver=kvm2 --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 08:28 CST | |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | start | --driver=kvm2 --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 08:31 CST | 26 Jul 22 08:35 CST |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | start | --driver=kvm2 --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 09:39 CST | 26 Jul 22 09:40 CST |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | kubectl | -- get pods -A | minikube | lux | v1.26.0 | 26 Jul 22 09:40 CST | 26 Jul 22 09:40 CST |
    | kubectl | -- get nodes | minikube | lux | v1.26.0 | 26 Jul 22 09:40 CST | 26 Jul 22 09:40 CST |
    | ssh | | minikube | lux | v1.26.0 | 26 Jul 22 09:41 CST | |
    | image | | minikube | lux | v1.26.0 | 26 Jul 22 09:42 CST | 26 Jul 22 09:42 CST |
    | image | ls | minikube | lux | v1.26.0 | 26 Jul 22 09:42 CST | 26 Jul 22 09:42 CST |
    | ssh | | minikube | lux | v1.26.0 | 26 Jul 22 09:42 CST | 26 Jul 22 09:43 CST |
    | kubectl | -- get nodes | minikube | lux | v1.26.0 | 26 Jul 22 11:07 CST | 26 Jul 22 11:07 CST |
    | kubectl | -- get nodes | minikube | lux | v1.26.0 | 26 Jul 22 20:02 CST | 26 Jul 22 20:02 CST |
    | kubectl | --version | minikube | lux | v1.26.0 | 26 Jul 22 20:04 CST | |
    | kubectl | -v 10 | minikube | lux | v1.26.0 | 26 Jul 22 20:04 CST | 26 Jul 22 20:04 CST |
    | get | nodes | minikube | lux | v1.26.0 | 26 Jul 22 20:06 CST | |
    | start | --driver=kvm2 --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 20:07 CST | 26 Jul 22 20:07 CST |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | kubectl | -- get nodes | minikube | lux | v1.26.0 | 26 Jul 22 20:11 CST | 26 Jul 22 20:11 CST |
    | kubectl | -- get pods -A | minikube | lux | v1.26.0 | 26 Jul 22 20:11 CST | 26 Jul 22 20:11 CST |
    | kubectl | -- get pods -A | minikube | lux | v1.26.0 | 26 Jul 22 20:16 CST | 26 Jul 22 20:16 CST |
    | kubectl | -- get nodes | minikube | lux | v1.26.0 | 26 Jul 22 20:16 CST | 26 Jul 22 20:16 CST |
    | ssh | | minikube | lux | v1.26.0 | 26 Jul 22 20:16 CST | |
    | delete | | minikube | lux | v1.26.0 | 26 Jul 22 20:20 CST | 26 Jul 22 20:20 CST |
    | kubectl | -- get nodes | minikube | lux | v1.26.0 | 26 Jul 22 20:20 CST | |
    | start | --driver=none --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 20:21 CST | |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | delete | | minikube | lux | v1.26.0 | 26 Jul 22 20:21 CST | 26 Jul 22 20:21 CST |
    | start | --driver=none --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 20:26 CST | |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=2 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | start | --driver=none --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 20:26 CST | |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=4 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    | start | --driver=none --image-mirror-country=cn | minikube | lux | v1.26.0 | 26 Jul 22 20:31 CST | |
    | | --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers | | | | | |
    | | --alsologtostderr --v=4 --memory=32g --cpus=8 | | | | | |
    | | --kubernetes-version=v1.21.14 --container-runtime=containerd | | | | | |
    | | --extra-config=kubelet.max-pods=1024000 | | | | | |
    |---------|------------------------------------------------------------------------|----------|------|---------|---------------------|---------------------|

  • ==> Last Start <==

  • Log file created at: 2022/07/26 20:31:50
    Running on machine: lux-Code-01-Series-PF5NU1G
    Binary: Built with gc go1.18.3 for linux/amd64
    Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
    I0726 20:31:50.556103 259834 out.go:296] Setting OutFile to fd 1 ...
    I0726 20:31:50.556350 259834 out.go:348] isatty.IsTerminal(1) = true
    I0726 20:31:50.556372 259834 out.go:309] Setting ErrFile to fd 2...
    I0726 20:31:50.556394 259834 out.go:348] isatty.IsTerminal(2) = true
    I0726 20:31:50.556885 259834 root.go:329] Updating PATH: /home/lux/.minikube/bin
    I0726 20:31:50.557404 259834 out.go:303] Setting JSON to false
    I0726 20:31:50.577888 259834 start.go:115] hostinfo: {"hostname":"lux-Code-01-Series-PF5NU1G","uptime":43262,"bootTime":1658795449,"procs":500,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"5.15.0-25-generic","kernelArch":"x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostId":"9fc0ad12-7ed7-4985-98af-e3a1085bc1b1"}
    I0726 20:31:50.578021 259834 start.go:125] virtualization: kvm host
    I0726 20:31:50.579930 259834 out.go:177] 😄 Ubuntu 22.04 上的 minikube v1.26.0
    W0726 20:31:50.581227 259834 preload.go:295] Failed to list preload files: open /home/lux/.minikube/cache/preloaded-tarball: no such file or directory
    I0726 20:31:50.581354 259834 notify.go:193] Checking for updates...
    I0726 20:31:50.581963 259834 config.go:178] Loaded profile config "minikube": Driver=none, ContainerRuntime=containerd, KubernetesVersion=v1.21.14
    W0726 20:31:50.582042 259834 start.go:713] api.Load failed for minikube: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
    I0726 20:31:50.583482 259834 out.go:177] 🆕 Kubernetes 1.24.1 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.24.1
    I0726 20:31:50.584633 259834 driver.go:360] Setting default libvirt URI to qemu:///system
    W0726 20:31:50.584717 259834 start.go:713] api.Load failed for minikube: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
    I0726 20:31:50.593039 259834 out.go:177] ✨ 根据现有的配置文件使用 none 驱动程序
    I0726 20:31:50.594183 259834 start.go:284] selected driver: none
    I0726 20:31:50.594220 259834 start.go:805] validating driver "none" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/lux:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:}
    I0726 20:31:50.594397 259834 start.go:816] status for none: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
    I0726 20:31:50.594448 259834 start.go:1541] auto setting extra-config to "kubelet.resolv-conf=/run/systemd/resolve/resolv.conf".
    W0726 20:31:50.594647 259834 out.go:239] ❗ The 'none' driver does not respect the --cpus flag
    W0726 20:31:50.613265 259834 out.go:239] ❗ The 'none' driver does not respect the --memory flag
    W0726 20:31:50.614965 259834 out.go:239] ❗ 同时使用 'none' 驱动以及 'containerd' 运行时是未经测试过的配置!
    W0726 20:31:50.615120 259834 out.go:239] ❗ The 'none' driver does not respect the --cpus flag
    W0726 20:31:50.633219 259834 out.go:239] ❗ The 'none' driver does not respect the --memory flag
    W0726 20:31:50.633500 259834 out.go:239] ❗ 同时使用 'none' 驱动以及 'containerd' 运行时是未经测试过的配置!
    I0726 20:31:50.633667 259834 cni.go:95] Creating CNI manager for ""
    I0726 20:31:50.633689 259834 cni.go:149] Driver none used, CNI unnecessary in this configuration, recommending no CNI
    I0726 20:31:50.633707 259834 start_flags.go:310] config:
    {Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/lux:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:}
    I0726 20:31:50.635566 259834 out.go:177] 👍 Starting control plane node minikube in cluster minikube
    I0726 20:31:50.636853 259834 profile.go:148] Saving config to /home/lux/.minikube/profiles/minikube/config.json ...
    I0726 20:31:50.637417 259834 cache.go:208] Successfully downloaded all kic artifacts
    I0726 20:31:50.637471 259834 start.go:352] acquiring machines lock for minikube: {Name:mk417b669214ab27aded3334eb1040f92906c828 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
    I0726 20:31:50.637673 259834 start.go:356] acquired machines lock for "minikube" in 151.001µs
    I0726 20:31:50.637722 259834 start.go:91] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/lux:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:} &{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}
    I0726 20:31:50.637869 259834 start.go:131] createHost starting for "m01" (driver="none")
    I0726 20:31:50.639359 259834 out.go:177] 🤹 Running on localhost (CPUs=16, Memory=63726MB, Disk=933528MB) ...
    I0726 20:31:50.640478 259834 exec_runner.go:51] Run: systemctl --version
    I0726 20:31:50.641819 259834 start.go:165] libmachine.API.Create for "minikube" (driver="none")
    I0726 20:31:50.641881 259834 client.go:168] LocalClient.Create starting
    I0726 20:31:50.641971 259834 main.go:134] libmachine: Reading certificate data from /home/lux/.minikube/certs/ca.pem
    I0726 20:31:50.642093 259834 main.go:134] libmachine: Decoding PEM data...
    I0726 20:31:50.642128 259834 main.go:134] libmachine: Parsing certificate...
    I0726 20:31:50.642210 259834 main.go:134] libmachine: Reading certificate data from /home/lux/.minikube/certs/cert.pem
    I0726 20:31:50.642255 259834 main.go:134] libmachine: Decoding PEM data...
    I0726 20:31:50.642294 259834 main.go:134] libmachine: Parsing certificate...
    I0726 20:31:50.642403 259834 client.go:171] LocalClient.Create took 503.153µs
    I0726 20:31:52.643592 259834 start.go:134] duration metric: createHost completed in 2.005634811s
    I0726 20:31:52.643699 259834 start.go:81] releasing machines lock for "minikube", held for 2.005988499s
    W0726 20:31:52.643792 259834 start.go:599] error starting host: creating host: create: precreate: exec: "docker": executable file not found in $PATH
    I0726 20:31:52.644024 259834 cli_runner.go:164] Run: docker container inspect minikube --format={{.State.Status}}
    I0726 20:31:52.644093 259834 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": docker container inspect minikube --format={{.State.Status}}: exec: "docker": executable file not found in $PATH
    stdout:

stderr:
I0726 20:31:52.644229 259834 cli_runner.go:164] Run: sudo -n podman container inspect minikube --format={{.State.Status}}
W0726 20:31:52.653521 259834 cli_runner.go:211] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 1
I0726 20:31:52.653594 259834 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:找不到命令
W0726 20:31:52.653635 259834 start.go:604] delete host: Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
W0726 20:31:52.653837 259834 out.go:239] 🤦 StartHost failed, but will try again: creating host: create: precreate: exec: "docker": executable file not found in $PATH
I0726 20:31:52.653860 259834 start.go:614] Will try again in 5 seconds ...
I0726 20:31:57.656221 259834 start.go:352] acquiring machines lock for minikube: {Name:mk417b669214ab27aded3334eb1040f92906c828 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0726 20:31:57.656526 259834 start.go:356] acquired machines lock for "minikube" in 214.419µs
I0726 20:31:57.656575 259834 start.go:91] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:32768 CPUs:8 DiskSize:20000 VMDriver: Driver:none HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 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.21.14 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository:registry.cn-hangzhou.aliyuncs.com/google_containers LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:max-pods Value:1024000} {Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/lux:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:} &{Name:m01 IP: Port:8443 KubernetesVersion:v1.21.14 ContainerRuntime:containerd ControlPlane:true Worker:true}
I0726 20:31:57.656753 259834 start.go:131] createHost starting for "m01" (driver="none")
I0726 20:31:57.666027 259834 out.go:177] 🤹 Running on localhost (CPUs=16, Memory=63726MB, Disk=933528MB) ...
I0726 20:31:57.667743 259834 start.go:165] libmachine.API.Create for "minikube" (driver="none")
I0726 20:31:57.667791 259834 client.go:168] LocalClient.Create starting
I0726 20:31:57.667908 259834 main.go:134] libmachine: Reading certificate data from /home/lux/.minikube/certs/ca.pem
I0726 20:31:57.667980 259834 main.go:134] libmachine: Decoding PEM data...
I0726 20:31:57.668014 259834 main.go:134] libmachine: Parsing certificate...
I0726 20:31:57.668117 259834 main.go:134] libmachine: Reading certificate data from /home/lux/.minikube/certs/cert.pem
I0726 20:31:57.668164 259834 main.go:134] libmachine: Decoding PEM data...
I0726 20:31:57.668191 259834 main.go:134] libmachine: Parsing certificate...
I0726 20:31:57.668294 259834 client.go:171] LocalClient.Create took 487.857µs
I0726 20:31:59.669600 259834 start.go:134] duration metric: createHost completed in 2.012778104s
I0726 20:31:59.669675 259834 start.go:81] releasing machines lock for "minikube", held for 2.013116216s
W0726 20:31:59.670134 259834 out.go:239] 😿 Failed to start none bare metal machine. Running "minikube delete" may fix it: creating host: create: precreate: exec: "docker": executable file not found in $PATH
I0726 20:31:59.679691 259834 out.go:177]
W0726 20:31:59.681796 259834 out.go:239] ❌ Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: precreate: exec: "docker": executable file not found in $PATH
W0726 20:31:59.681844 259834 out.go:239]
W0726 20:31:59.683733 259834 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0726 20:31:59.685259 259834 out.go:177]

Operating System

Ubuntu

Driver

No response

@afbjorklund
Copy link
Collaborator

This is a duplicate of ancient bug with the minikube driver registry, you will have to install a random binary called "docker". Sorry.

@afbjorklund afbjorklund added kind/bug Categorizes issue or PR as related to a bug. co/none-driver co/runtime/containerd labels Jul 26, 2022
@afbjorklund
Copy link
Collaborator

afbjorklund commented Jul 26, 2022

Note that these flags don't actually do anything, when running kubernetes on the localhost (it will use all of it):

--memory=32g --cpus=8

If you want to limit resources, you will need to use another driver (for instance create 2 virtual machines)

🤹 Running on localhost (CPUs=16, Memory=63726MB, Disk=933528MB) ...

@xunfeng1980
Copy link
Author

yeh

sudo ln -s /bin/false /usr/local/bin/docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/none-driver co/runtime/containerd kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants