Closed satishlap143 closed 9 months ago
Please help what I need to done for this issue
You need to install all requirements: docker, cri-dockerd, cri-tools, cni-plugins
After Installing still I`m facing same issue.........
root@test-server:~# cat logs.tx *
==> Audit <==
--------- | -------------------------------- | ----------- | ------ | --------- | --------------------- | --------------------- | Command | Args | Profile | User | Version | Start Time | End Time | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
start | minikube | root | v1.29.0 | 09 Mar 23 18:45 IST | ||||||||||
start | --force | minikube | root | v1.29.0 | 09 Mar 23 18:45 IST | |||||||||
start | minikube | root | v1.29.0 | 09 Mar 23 18:50 IST | ||||||||||
start | --force | minikube | root | v1.29.0 | 09 Mar 23 18:50 IST | |||||||||
start | minikube | root | v1.29.0 | 09 Mar 23 18:52 IST | ||||||||||
start | minikube | root | v1.29.0 | 09 Mar 23 18:53 IST | ||||||||||
start | minikube | root | v1.29.0 | 09 Mar 23 18:55 IST | ||||||||||
start | --force | minikube | root | v1.29.0 | 09 Mar 23 18:55 IST | |||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 13:54 IST | ||||||||||
start | --force | minikube | root | v1.29.0 | 11 Mar 23 13:54 IST | |||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 14:13 IST | ||||||||||
start | --force | minikube | root | v1.29.0 | 11 Mar 23 14:13 IST | |||||||||
start | --force | minikube | root | v1.29.0 | 11 Mar 23 14:14 IST | |||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 17:53 IST | ||||||||||
start | --force | minikube | root | v1.29.0 | 11 Mar 23 17:54 IST | |||||||||
stop | minikube | root | v1.29.0 | 11 Mar 23 17:55 IST | 11 Mar 23 17:55 IST | |||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 17:56 IST | ||||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 17:57 IST | ||||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 17:57 IST | ||||||||||
start | --driver=none | minikube | root | v1.29.0 | 11 Mar 23 18:01 IST | |||||||||
delete | minikube | root | v1.29.0 | 11 Mar 23 18:01 IST | 11 Mar 23 18:01 IST | |||||||||
start | --driver=none | minikube | root | v1.29.0 | 11 Mar 23 18:01 IST | |||||||||
config | set driver none | minikube | root | v1.29.0 | 11 Mar 23 18:02 IST | 11 Mar 23 18:02 IST | ||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 18:02 IST | ||||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 18:03 IST | ||||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 18:04 IST | ||||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 18:08 IST | ||||||||||
start | --force | minikube | root | v1.29.0 | 11 Mar 23 18:09 IST | |||||||||
start | minikube | root | v1.29.0 | 11 Mar 23 18:10 IST | ||||||||||
start | --network-plugin=cni | minikube | root | v1.29.0 | 13 Mar 23 14:24 IST | |||||||||
--cni=calico | ||||||||||||||
start | --network-plugin=cni | minikube | root | v1.29.0 | 13 Mar 23 14:26 IST | |||||||||
--cni=calico --wait=fals | ||||||||||||||
start | --network-plugin=cni | minikube | root | v1.29.0 | 13 Mar 23 14:26 IST | |||||||||
--cni=calico --wait=false | ||||||||||||||
start | --network-plugin=cni | minikube | root | v1.29.0 | 13 Mar 23 14:34 IST | |||||||||
--cni=calico --wait=false | ||||||||||||||
start | --network-plugin=cni | minikube | root | v1.29.0 | 13 Mar 23 14:43 IST | |||||||||
--cni=calico --wait=false | ||||||||||||||
start | --force | minikube | root | v1.29.0 | 13 Mar 23 14:44 IST | |||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 14:44 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 14:46 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 14:47 IST | ||||||||||
start | --driver=none | minikube | root | v1.29.0 | 13 Mar 23 14:49 IST | |||||||||
config | set driver none | minikube | root | v1.29.0 | 13 Mar 23 14:49 IST | 13 Mar 23 14:49 IST | ||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 14:49 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 14:56 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 15:01 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 15:03 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 15:06 IST | ||||||||||
start | --network-plugin=cni | minikube | root | v1.29.0 | 13 Mar 23 15:18 IST | |||||||||
--cni=calico --wait=false | ||||||||||||||
start | --kubernetes-version=v1.25.6 | minikube | root | v1.29.0 | 13 Mar 23 15:20 IST | |||||||||
--driver=none | ||||||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 15:21 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 15:23 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 16:05 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 17:01 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 17:09 IST | ||||||||||
start | --kubernetes-version=v1.25.6 | minikube | root | v1.29.0 | 13 Mar 23 17:16 IST | |||||||||
--driver=none | ||||||||||||||
delete | minikube | root | v1.29.0 | 13 Mar 23 17:17 IST | 13 Mar 23 17:17 IST | |||||||||
start | --kubernetes-version=v1.25.6 | minikube | root | v1.29.0 | 13 Mar 23 17:17 IST | |||||||||
start | -p minikube2 | minikube2 | root | v1.29.0 | 13 Mar 23 17:18 IST | |||||||||
--kubernetes-version=v1.25.6 | ||||||||||||||
start | --kubernetes-version=v1.26.1 | minikube | root | v1.29.0 | 13 Mar 23 17:18 IST | |||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 17:24 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 17:33 IST | ||||||||||
start | minikube | root | v1.29.0 | 13 Mar 23 17:34 IST | ||||||||||
--------- | -------------------------------- | ----------- | ------ | --------- | --------------------- | --------------------- |
==> Last Start <==
Log file created at: 2023/03/13 17:34:54
Running on machine: test-server
Binary: Built with gc go1.19.5 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0313 17:34:54.174868 18969 out.go:296] Setting OutFile to fd 1 ...
I0313 17:34:54.176482 18969 out.go:343] TERM=xterm,COLORTERM=, which probably does not support color
I0313 17:34:54.176985 18969 out.go:309] Setting ErrFile to fd 2...
I0313 17:34:54.177027 18969 out.go:343] TERM=xterm,COLORTERM=, which probably does not support color
I0313 17:34:54.177579 18969 root.go:334] Updating PATH: /root/.minikube/bin
I0313 17:34:54.178871 18969 out.go:303] Setting JSON to false
I0313 17:34:54.185364 18969 start.go:125] hostinfo: {"hostname":"test-server","uptime":14730,"bootTime":1678694364,"procs":331,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"5.19.0-35-generic","kernelArch":"x86_64","virtualizationSystem":"vbox","virtualizationRole":"host","hostId":"9bdf4d56-9528-dfb4-c1e8-3562e5882b7e"}
I0313 17:34:54.185602 18969 start.go:135] virtualization: vbox host
I0313 17:34:54.196186 18969 out.go:177] minikube v1.29.0 on Ubuntu 22.04
I0313 17:34:54.202758 18969 notify.go:220] Checking for updates...
I0313 17:34:54.216189 18969 config.go:180] Loaded profile config "minikube": Driver=none, ContainerRuntime=docker, KubernetesVersion=v1.26.1
I0313 17:34:54.217446 18969 exec_runner.go:51] Run: systemctl --version
I0313 17:34:54.234648 18969 driver.go:365] Setting default libvirt URI to qemu:///system
I0313 17:34:54.239078 18969 out.go:177] Using the none driver based on existing profile
I0313 17:34:54.241951 18969 start.go:296] selected driver: none
I0313 17:34:54.242039 18969 start.go:857] validating driver "none" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.37@sha256:8bf7a0e8a062bc5e2b71d28b35bfa9cc862d9220e234e86176b3785f685d8b15 Memory:2200 CPUs:2 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.26.1 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI:calico NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP:192.168.204.132 Port:8443 KubernetesVersion:v1.26.1 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:false apps_running:false default_sa:false extra:false kubelet:false node_ready:false system_pods:false] StartHostTimeout:6m0s ScheduledStop:
stderr:
I0313 17:34:55.458321 18969 exec_runner.go:51] Run: sudo systemctl is-active --quiet service kubelet
I0313 17:34:55.574056 18969 fix.go:103] recreateIfNeeded on minikube: state=Stopped err=
stderr: cat: /version.json: No such file or directory I0313 17:34:55.730605 18969 exec_runner.go:51] Run: sh -c "stat /etc/cni/net.d/loopback.conf" W0313 17:34:55.749184 18969 cni.go:208] loopback cni configuration skipped: "/etc/cni/net.d/loopback.conf" not found I0313 17:34:55.749787 18969 exec_runner.go:51] Run: sudo mkdir -p /etc/systemd/system/cri-docker.service.d I0313 17:34:55.861926 18969 exec_runner.go:144] found /etc/systemd/system/cri-docker.service.d/10-cni.conf, removing ... I0313 17:34:55.862002 18969 exec_runner.go:207] rm: /etc/systemd/system/cri-docker.service.d/10-cni.conf I0313 17:34:55.862309 18969 exec_runner.go:151] cp: memory --> /etc/systemd/system/cri-docker.service.d/10-cni.conf (135 bytes) I0313 17:34:55.863289 18969 exec_runner.go:51] Run: sudo cp -a /tmp/minikube1280885004 /etc/systemd/system/cri-docker.service.d/10-cni.conf I0313 17:34:55.977620 18969 exec_runner.go:51] Run: sudo find /etc/cni/net.d -maxdepth 1 -type f ( ( -name bridge -or -name podman ) -and -not -name .mk_disabled ) -printf "%!p(MISSING), " -exec sh -c "sudo mv {} {}.mk_disabled" ; E0313 17:34:56.093857 18969 start.go:415] unable to disable preinstalled bridge CNI(s): failed to disable all bridge cni configs in "/etc/cni/net.d": sudo find /etc/cni/net.d -maxdepth 1 -type f ( ( -name bridge -or -name podman ) -and -not -name .mk_disabled ) -printf "%!p(MISSING), " -exec sh -c "sudo mv {} {}.mk_disabled" ;: exit status 1 stdout:
stderr: find: ‘/etc/cni/net.d’: No such file or directory I0313 17:34:56.094050 18969 start.go:483] detecting cgroup driver to use... I0313 17:34:56.094148 18969 detect.go:199] detected "systemd" cgroup driver on host os I0313 17:34:56.094684 18969 exec_runner.go:51] Run: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///run/containerd/containerd.sock image-endpoint: unix:///run/containerd/containerd.sock " | sudo tee /etc/crictl.yaml" I0313 17:34:56.327802 18969 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )sandbox_image = .$|\1sandbox_image = "registry.k8s.io/pause:3.9"|' /etc/containerd/config.toml" I0313 17:34:56.439300 18969 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )restrict_oom_score_adj = .$|\1restrict_oom_score_adj = false|' /etc/containerd/config.toml" I0313 17:34:56.565710 18969 containerd.go:145] configuring containerd to use "systemd" as cgroup driver... I0313 17:34:56.566019 18969 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )SystemdCgroup = .$|\1SystemdCgroup = true|g' /etc/containerd/config.toml" I0313 17:34:56.683201 18969 exec_runner.go:51] Run: sh -c "sudo sed -i 's|"io.containerd.runtime.v1.linux"|"io.containerd.runc.v2"|g' /etc/containerd/config.toml" I0313 17:34:56.795428 18969 exec_runner.go:51] Run: sh -c "sudo sed -i '/systemd_cgroup/d' /etc/containerd/config.toml" I0313 17:34:56.934140 18969 exec_runner.go:51] Run: sh -c "sudo sed -i 's|"io.containerd.runc.v1"|"io.containerd.runc.v2"|g' /etc/containerd/config.toml" I0313 17:34:57.237750 18969 exec_runner.go:51] Run: sh -c "sudo rm -rf /etc/cni/net.mk" I0313 17:34:57.410729 18969 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )conf_dir = .$|\1conf_dir = "/etc/cni/net.d"|g' /etc/containerd/config.toml" I0313 17:34:57.573243 18969 exec_runner.go:51] Run: sudo sysctl net.bridge.bridge-nf-call-iptables I0313 17:34:57.676885 18969 exec_runner.go:51] Run: sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" I0313 17:34:57.786680 18969 exec_runner.go:51] Run: sudo systemctl daemon-reload I0313 17:35:00.159941 18969 exec_runner.go:84] Completed: sudo systemctl daemon-reload: (2.373006998s) I0313 17:35:00.160293 18969 exec_runner.go:51] Run: sudo systemctl restart containerd I0313 17:35:00.750641 18969 start.go:483] detecting cgroup driver to use... I0313 17:35:00.750761 18969 detect.go:199] detected "systemd" cgroup driver on host os I0313 17:35:00.751791 18969 exec_runner.go:51] Run: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///var/run/cri-dockerd.sock image-endpoint: unix:///var/run/cri-dockerd.sock " | sudo tee /etc/crictl.yaml" I0313 17:35:02.016596 18969 exec_runner.go:84] Completed: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///var/run/cri-dockerd.sock image-endpoint: unix:///var/run/cri-dockerd.sock " | sudo tee /etc/crictl.yaml": (1.264676165s) I0313 17:35:02.017732 18969 exec_runner.go:51] Run: sudo systemctl unmask docker.service I0313 17:35:04.351041 18969 exec_runner.go:84] Completed: sudo systemctl unmask docker.service: (2.333082883s) I0313 17:35:04.351353 18969 exec_runner.go:51] Run: sudo systemctl enable docker.socket I0313 17:35:06.571078 18969 exec_runner.go:84] Completed: sudo systemctl enable docker.socket: (2.219591671s) I0313 17:35:06.571140 18969 docker.go:529] configuring docker to use "systemd" as cgroup driver... I0313 17:35:06.571222 18969 exec_runner.go:144] found /etc/docker/daemon.json, removing ... I0313 17:35:06.571268 18969 exec_runner.go:207] rm: /etc/docker/daemon.json I0313 17:35:06.571432 18969 exec_runner.go:151] cp: memory --> /etc/docker/daemon.json (143 bytes) I0313 17:35:06.572179 18969 exec_runner.go:51] Run: sudo cp -a /tmp/minikube2165633860 /etc/docker/daemon.json I0313 17:35:06.718050 18969 exec_runner.go:51] Run: sudo systemctl daemon-reload I0313 17:35:09.021087 18969 exec_runner.go:84] Completed: sudo systemctl daemon-reload: (2.302758107s) I0313 17:35:09.021365 18969 exec_runner.go:51] Run: sudo systemctl restart docker I0313 17:35:12.806174 18969 exec_runner.go:84] Completed: sudo systemctl restart docker: (3.784709386s) I0313 17:35:12.806468 18969 exec_runner.go:51] Run: sudo systemctl enable cri-docker.socket I0313 17:35:15.055265 18969 exec_runner.go:84] Completed: sudo systemctl enable cri-docker.socket: (2.248654853s) I0313 17:35:15.055505 18969 exec_runner.go:51] Run: sudo systemctl unmask cri-docker.socket I0313 17:35:17.376350 18969 exec_runner.go:84] Completed: sudo systemctl unmask cri-docker.socket: (2.320709713s) I0313 17:35:17.376574 18969 exec_runner.go:51] Run: sudo systemctl enable cri-docker.socket I0313 17:35:20.753238 18969 exec_runner.go:84] Completed: sudo systemctl enable cri-docker.socket: (3.376550149s) I0313 17:35:20.753481 18969 exec_runner.go:51] Run: sudo systemctl daemon-reload I0313 17:35:23.219800 18969 exec_runner.go:84] Completed: sudo systemctl daemon-reload: (2.466208279s) I0313 17:35:23.220036 18969 exec_runner.go:51] Run: sudo systemctl restart cri-docker.socket I0313 17:35:23.389534 18969 start.go:530] Will wait 60s for socket path /var/run/cri-dockerd.sock I0313 17:35:23.390141 18969 exec_runner.go:51] Run: stat /var/run/cri-dockerd.sock I0313 17:35:23.403959 18969 start.go:551] Will wait 60s for crictl version I0313 17:35:23.404633 18969 exec_runner.go:51] Run: which crictl I0313 17:35:23.425163 18969 out.go:177] W0313 17:35:23.429695 18969 out.go:239] X Exiting due to RUNTIME_ENABLE: which crictl: exit status 1 stdout:
stderr:
W0313 17:35:23.429978 18969 out.go:239]
W0313 17:35:23.436600 18969 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. │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
I0313 17:35:23.440773 18969 out.go:177]
* root@test-server:~#
Please help me and let me know how to resolve the issue
I`m waiting for an reply please help me
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues 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
/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.
This bot triages un-triaged issues 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 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 not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What Happened?
root@test-server:~# minikube start
stderr: find: ‘/etc/cni/net.d’: No such file or directory
X Exiting due to RUNTIME_ENABLE: which crictl: exit status 1 stdout:
stderr:
╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ 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. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯Attach the log file
root@test-server:~# cat log.txt *
==> Audit <==
==> Last Start <==
Log file created at: 2023/03/13 17:01:52 Running on machine: test-server Binary: Built with gc go1.19.5 for linux/amd64 Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg I0313 17:01:52.664357 16222 out.go:296] Setting OutFile to fd 1 ... I0313 17:01:52.666276 16222 out.go:343] TERM=xterm,COLORTERM=, which probably does not support color I0313 17:01:52.666314 16222 out.go:309] Setting ErrFile to fd 2... I0313 17:01:52.666353 16222 out.go:343] TERM=xterm,COLORTERM=, which probably does not support color I0313 17:01:52.666785 16222 root.go:334] Updating PATH: /root/.minikube/bin I0313 17:01:52.668080 16222 out.go:303] Setting JSON to false I0313 17:01:52.674248 16222 start.go:125] hostinfo: {"hostname":"test-server","uptime":12748,"bootTime":1678694364,"procs":325,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"5.19.0-35-generic","kernelArch":"x86_64","virtualizationSystem":"vbox","virtualizationRole":"host","hostId":"9bdf4d56-9528-dfb4-c1e8-3562e5882b7e"} I0313 17:01:52.688455 16222 start.go:135] virtualization: vbox host I0313 17:01:52.697960 16222 out.go:177] minikube v1.29.0 on Ubuntu 22.04 I0313 17:01:52.703095 16222 notify.go:220] Checking for updates... I0313 17:01:52.709263 16222 config.go:180] Loaded profile config "minikube": Driver=none, ContainerRuntime=docker, KubernetesVersion=v1.26.1 I0313 17:01:52.711886 16222 exec_runner.go:51] Run: systemctl --version I0313 17:01:52.730737 16222 driver.go:365] Setting default libvirt URI to qemu:///system I0313 17:01:52.735032 16222 out.go:177] Using the none driver based on existing profile I0313 17:01:52.738156 16222 start.go:296] selected driver: none I0313 17:01:52.738242 16222 start.go:857] validating driver "none" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.37@sha256:8bf7a0e8a062bc5e2b71d28b35bfa9cc862d9220e234e86176b3785f685d8b15 Memory:2200 CPUs:2 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.26.1 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI:calico NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP:192.168.204.132 Port:8443 KubernetesVersion:v1.26.1 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:false apps_running:false default_sa:false extra:false kubelet:false node_ready:false system_pods:false] 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: SocketVMnetClientPath: SocketVMnetPath: StaticIP:}
I0313 17:01:52.738908 16222 start.go:868] status for none: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0313 17:01:52.738957 16222 start.go:1617] auto setting extra-config to "kubelet.resolv-conf=/run/systemd/resolve/resolv.conf".
I0313 17:01:52.742586 16222 cni.go:84] Creating CNI manager for "calico"
I0313 17:01:52.742665 16222 start_flags.go:319] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.37@sha256:8bf7a0e8a062bc5e2b71d28b35bfa9cc862d9220e234e86176b3785f685d8b15 Memory:2200 CPUs:2 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.26.1 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubelet Key:resolv-conf Value:/run/systemd/resolve/resolv.conf}] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI:calico NodeIP: NodePort:8443 NodeName:} Nodes:[{Name:m01 IP:192.168.204.132 Port:8443 KubernetesVersion:v1.26.1 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:false apps_running:false default_sa:false extra:false kubelet:false node_ready:false system_pods:false] 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: SocketVMnetClientPath: SocketVMnetPath: StaticIP:}
I0313 17:01:52.752849 16222 out.go:177] Starting control plane node minikube in cluster minikube
I0313 17:01:52.756869 16222 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ...
I0313 17:01:52.758533 16222 cache.go:193] Successfully downloaded all kic artifacts
I0313 17:01:52.758650 16222 start.go:364] acquiring machines lock for minikube: {Name:mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0313 17:01:52.759437 16222 start.go:368] acquired machines lock for "minikube" in 524.303µs
I0313 17:01:52.759528 16222 start.go:96] Skipping create...Using existing machine configuration
I0313 17:01:52.759571 16222 fix.go:55] fixHost starting: m01
W0313 17:01:52.760145 16222 none.go:130] unable to get port: "minikube" does not appear in /root/.kube/config
I0313 17:01:52.760304 16222 api_server.go:165] Checking apiserver status ...
I0313 17:01:52.760960 16222 exec_runner.go:51] Run: sudo pgrep -xnf kube-apiserver. minikube.
I0313 17:01:53.995081 16222 exec_runner.go:84] Completed: sudo pgrep -xnf kube-apiserver.minikube.: (1.234010233s)
W0313 17:01:53.995145 16222 api_server.go:169] stopped: unable to get apiserver pid: sudo pgrep -xnf kube-apiserver.minikube.*: exit status 1
stdout:
stderr: I0313 17:01:53.995360 16222 exec_runner.go:51] Run: sudo systemctl is-active --quiet service kubelet I0313 17:01:54.126915 16222 fix.go:103] recreateIfNeeded on minikube: state=Stopped err=
W0313 17:01:54.126984 16222 fix.go:129] unexpected machine state, will restart:
I0313 17:01:54.131952 16222 out.go:177] Restarting existing none bare metal machine for "minikube" ...
I0313 17:01:54.142465 16222 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ...
I0313 17:01:54.143665 16222 start.go:300] post-start starting for "minikube" (driver="none")
I0313 17:01:54.144033 16222 start.go:328] 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]
I0313 17:01:54.144273 16222 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
I0313 17:01:54.264047 16222 main.go:141] libmachine: Couldn't set key VERSION_CODENAME, no corresponding struct field found
I0313 17:01:54.264168 16222 main.go:141] libmachine: Couldn't set key PRIVACY_POLICY_URL, no corresponding struct field found
I0313 17:01:54.264227 16222 main.go:141] libmachine: Couldn't set key UBUNTU_CODENAME, no corresponding struct field found
I0313 17:01:54.269354 16222 out.go:177] OS release is Ubuntu 22.04.2 LTS
I0313 17:01:54.273656 16222 filesync.go:126] Scanning /root/.minikube/addons for local assets ...
I0313 17:01:54.273868 16222 filesync.go:126] Scanning /root/.minikube/files for local assets ...
I0313 17:01:54.274040 16222 start.go:303] post-start completed in 130.272512ms
I0313 17:01:54.274099 16222 fix.go:57] fixHost completed within 1.514521627s
I0313 17:01:54.274153 16222 start.go:83] releasing machines lock for "minikube", held for 1.514661628s
I0313 17:01:54.276513 16222 exec_runner.go:51] Run: cat /version.json
I0313 17:01:54.277962 16222 exec_runner.go:51] Run: curl -sS -m 2 https://registry.k8s.io/
W0313 17:01:54.286923 16222 start.go:396] Unable to open version.json: cat /version.json: exit status 1
stdout:
stderr: cat: /version.json: No such file or directory I0313 17:01:54.287132 16222 exec_runner.go:51] Run: sh -c "stat /etc/cni/net.d/loopback.conf" W0313 17:01:54.304424 16222 cni.go:208] loopback cni configuration skipped: "/etc/cni/net.d/loopback.conf" not found I0313 17:01:54.305397 16222 exec_runner.go:51] Run: sudo mkdir -p /etc/systemd/system/cri-docker.service.d I0313 17:01:54.425670 16222 exec_runner.go:144] found /etc/systemd/system/cri-docker.service.d/10-cni.conf, removing ... I0313 17:01:54.425761 16222 exec_runner.go:207] rm: /etc/systemd/system/cri-docker.service.d/10-cni.conf I0313 17:01:54.425990 16222 exec_runner.go:151] cp: memory --> /etc/systemd/system/cri-docker.service.d/10-cni.conf (135 bytes) I0313 17:01:54.426833 16222 exec_runner.go:51] Run: sudo cp -a /tmp/minikube3171763730 /etc/systemd/system/cri-docker.service.d/10-cni.conf I0313 17:01:54.562267 16222 exec_runner.go:51] Run: sudo find /etc/cni/net.d -maxdepth 1 -type f ( ( -name bridge -or -name podman ) -and -not -name .mk_disabled ) -printf "%!p(MISSING), " -exec sh -c "sudo mv {} {}.mk_disabled" ; E0313 17:01:54.673824 16222 start.go:415] unable to disable preinstalled bridge CNI(s): failed to disable all bridge cni configs in "/etc/cni/net.d": sudo find /etc/cni/net.d -maxdepth 1 -type f ( ( -name bridge -or -name podman ) -and -not -name .mk_disabled ) -printf "%!p(MISSING), " -exec sh -c "sudo mv {} {}.mk_disabled" ;: exit status 1 stdout:
stderr: find: ‘/etc/cni/net.d’: No such file or directory I0313 17:01:54.674201 16222 start.go:483] detecting cgroup driver to use... I0313 17:01:54.674342 16222 detect.go:199] detected "systemd" cgroup driver on host os I0313 17:01:54.676346 16222 exec_runner.go:51] Run: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///run/containerd/containerd.sock image-endpoint: unix:///run/containerd/containerd.sock " | sudo tee /etc/crictl.yaml" I0313 17:01:54.930396 16222 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )sandbox_image = .$|\1sandbox_image = "registry.k8s.io/pause:3.9"|' /etc/containerd/config.toml" I0313 17:01:55.053397 16222 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )restrict_oom_score_adj = .$|\1restrict_oom_score_adj = false|' /etc/containerd/config.toml" I0313 17:01:55.233389 16222 containerd.go:145] configuring containerd to use "systemd" as cgroup driver... I0313 17:01:55.233598 16222 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )SystemdCgroup = .$|\1SystemdCgroup = true|g' /etc/containerd/config.toml" I0313 17:01:55.399429 16222 exec_runner.go:51] Run: sh -c "sudo sed -i 's|"io.containerd.runtime.v1.linux"|"io.containerd.runc.v2"|g' /etc/containerd/config.toml" I0313 17:01:55.519411 16222 exec_runner.go:51] Run: sh -c "sudo sed -i '/systemd_cgroup/d' /etc/containerd/config.toml" I0313 17:01:55.646130 16222 exec_runner.go:51] Run: sh -c "sudo sed -i 's|"io.containerd.runc.v1"|"io.containerd.runc.v2"|g' /etc/containerd/config.toml" I0313 17:01:55.777320 16222 exec_runner.go:51] Run: sh -c "sudo rm -rf /etc/cni/net.mk" I0313 17:01:55.895587 16222 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )conf_dir = .$|\1conf_dir = "/etc/cni/net.d"|g' /etc/containerd/config.toml" I0313 17:01:56.030921 16222 exec_runner.go:51] Run: sudo sysctl net.bridge.bridge-nf-call-iptables I0313 17:01:56.148511 16222 exec_runner.go:51] Run: sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" I0313 17:01:56.280008 16222 exec_runner.go:51] Run: sudo systemctl daemon-reload I0313 17:01:58.599606 16222 exec_runner.go:84] Completed: sudo systemctl daemon-reload: (2.319452668s) I0313 17:01:58.599886 16222 exec_runner.go:51] Run: sudo systemctl restart containerd I0313 17:01:59.321479 16222 start.go:483] detecting cgroup driver to use... I0313 17:01:59.321634 16222 detect.go:199] detected "systemd" cgroup driver on host os I0313 17:01:59.322229 16222 exec_runner.go:51] Run: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///var/run/cri-dockerd.sock image-endpoint: unix:///var/run/cri-dockerd.sock " | sudo tee /etc/crictl.yaml" I0313 17:02:00.632537 16222 exec_runner.go:84] Completed: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///var/run/cri-dockerd.sock image-endpoint: unix:///var/run/cri-dockerd.sock " | sudo tee /etc/crictl.yaml": (1.310191087s) I0313 17:02:00.632750 16222 exec_runner.go:51] Run: sudo systemctl unmask docker.service I0313 17:02:02.928150 16222 exec_runner.go:84] Completed: sudo systemctl unmask docker.service: (2.295236469s) I0313 17:02:02.928347 16222 exec_runner.go:51] Run: sudo systemctl enable docker.socket I0313 17:02:05.273098 16222 exec_runner.go:84] Completed: sudo systemctl enable docker.socket: (2.344619945s) I0313 17:02:05.273157 16222 docker.go:529] configuring docker to use "systemd" as cgroup driver... I0313 17:02:05.273249 16222 exec_runner.go:144] found /etc/docker/daemon.json, removing ... I0313 17:02:05.273297 16222 exec_runner.go:207] rm: /etc/docker/daemon.json I0313 17:02:05.273434 16222 exec_runner.go:151] cp: memory --> /etc/docker/daemon.json (143 bytes) I0313 17:02:05.274122 16222 exec_runner.go:51] Run: sudo cp -a /tmp/minikube1637709340 /etc/docker/daemon.json I0313 17:02:05.380601 16222 exec_runner.go:51] Run: sudo systemctl daemon-reload I0313 17:02:07.639974 16222 exec_runner.go:84] Completed: sudo systemctl daemon-reload: (2.258886113s) I0313 17:02:07.640562 16222 exec_runner.go:51] Run: sudo systemctl restart docker I0313 17:02:10.468459 16222 exec_runner.go:84] Completed: sudo systemctl restart docker: (2.827778806s) I0313 17:02:10.468688 16222 exec_runner.go:51] Run: sudo systemctl enable cri-docker.socket I0313 17:02:12.761300 16222 exec_runner.go:84] Completed: sudo systemctl enable cri-docker.socket: (2.292302444s) I0313 17:02:12.761539 16222 exec_runner.go:51] Run: sudo systemctl unmask cri-docker.socket I0313 17:02:16.032369 16222 exec_runner.go:84] Completed: sudo systemctl unmask cri-docker.socket: (3.270713594s) I0313 17:02:16.032584 16222 exec_runner.go:51] Run: sudo systemctl enable cri-docker.socket I0313 17:02:18.214994 16222 exec_runner.go:84] Completed: sudo systemctl enable cri-docker.socket: (2.181870592s) I0313 17:02:18.215197 16222 exec_runner.go:51] Run: sudo systemctl daemon-reload I0313 17:02:20.515977 16222 exec_runner.go:84] Completed: sudo systemctl daemon-reload: (2.300689757s) I0313 17:02:20.516083 16222 exec_runner.go:51] Run: sudo systemctl restart cri-docker.socket I0313 17:02:20.725547 16222 start.go:530] Will wait 60s for socket path /var/run/cri-dockerd.sock I0313 17:02:20.725974 16222 exec_runner.go:51] Run: stat /var/run/cri-dockerd.sock I0313 17:02:20.738889 16222 start.go:551] Will wait 60s for crictl version I0313 17:02:20.739104 16222 exec_runner.go:51] Run: which crictl I0313 17:02:20.758154 16222 out.go:177] W0313 17:02:20.761695 16222 out.go:239] X Exiting due to RUNTIME_ENABLE: which crictl: exit status 1 stdout:
stderr:
W0313 17:02:20.762795 16222 out.go:239] W0313 17:02:20.767766 16222 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. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯ I0313 17:02:20.775839 16222 out.go:177]Operating System
Ubuntu
Driver
VirtualBox