kubernetes / minikube

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

Exiting due to RUNTIME_ENABLE: Failed to enable container runtime: ip_forward: sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward": exit status 1 stdout: stderr: sh: 1: echo: echo: I/O error #18391

Closed ug-devops closed 2 months ago

ug-devops commented 7 months ago

What Happened?

==> Audit <== --------- --------------------------------- ---------- ------ --------- --------------------- --------------------- Command Args Profile User Version Start Time End Time
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:16 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:17 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:22 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:29 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:51 PKT
start minikube root v1.32.0 14 Mar 24 19:51 PKT
start --driver=docker minikube root v1.32.0 14 Mar 24 19:56 PKT
delete none minikube root v1.32.0 14 Mar 24 19:57 PKT
start --driver=docker minikube root v1.32.0 14 Mar 24 19:58 PKT
delete driver=none minikube root v1.32.0 14 Mar 24 19:58 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:08 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:16 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:24 PKT
--container-runtime=cri-dockerd
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:25 PKT
--container-runtime=cri-dockerd
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:26 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:27 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:37 PKT
start minikube root v1.32.0 14 Mar 24 20:38 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:38 PKT
--container-runtime=cri-dockerd
start --vm-driver=docker minikube root v1.32.0 14 Mar 24 20:38 PKT
start --vm-driver=docker minikube root v1.32.0 15 Mar 24 03:23 PKT
delete minikube root v1.32.0 15 Mar 24 03:23 PKT 15 Mar 24 03:23 PKT
start --vm-driver=docker minikube root v1.32.0 15 Mar 24 03:24 PKT
start minikube root v1.32.0 15 Mar 24 03:24 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:29 PKT
--container-runtime=cri-dockerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:32 PKT
--container-runtime=docker
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:32 PKT
--container-runtime=crl-o
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:32 PKT
--container-runtime=containerd
delete minikube root v1.32.0 15 Mar 24 03:48 PKT 15 Mar 24 03:48 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:48 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:51 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:53 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:56 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:56 PKT
start minikube root v1.32.0 15 Mar 24 03:57 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:01 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:02 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:06 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:26 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:26 PKT
--------- --------------------------------- ---------- ------ --------- --------------------- ---------------------

==> Last Start <== Log file created at: 2024/03/15 04:26:28 Running on machine: USMAN-SALEEM Binary: Built with gc go1.21.3 for linux/amd64 Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg I0315 04:26:28.861074 9740 out.go:296] Setting OutFile to fd 1 ... I0315 04:26:28.861503 9740 out.go:348] isatty.IsTerminal(1) = true I0315 04:26:28.861525 9740 out.go:309] Setting ErrFile to fd 2... I0315 04:26:28.861536 9740 out.go:348] isatty.IsTerminal(2) = true I0315 04:26:28.861823 9740 root.go:338] Updating PATH: /root/.minikube/bin W0315 04:26:28.862106 9740 root.go:314] Error reading config file at /root/.minikube/config/config.json: open /root/.minikube/config/config.json: no such file or directory I0315 04:26:28.862782 9740 out.go:303] Setting JSON to false I0315 04:26:28.864219 9740 start.go:128] hostinfo: {"hostname":"USMAN-SALEEM","uptime":34464,"bootTime":1710424324,"procs":11,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"4.4.0-19041-Microsoft","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"5fba56b7-5d29-4f6a-8b3c-032e97250ae8"} I0315 04:26:28.864309 9740 start.go:138] virtualization: I0315 04:26:28.915101 9740 out.go:177] ๐Ÿ˜„ minikube v1.32.0 on Ubuntu 22.04 W0315 04:26:28.918125 9740 preload.go:295] Failed to list preload files: open /root/.minikube/cache/preloaded-tarball: no such file or directory I0315 04:26:28.918243 9740 notify.go:220] Checking for updates... I0315 04:26:28.919178 9740 config.go:182] Loaded profile config "minikube": Driver=none, ContainerRuntime=containerd, KubernetesVersion=v1.28.3 I0315 04:26:28.920549 9740 exec_runner.go:51] Run: systemctl --version I0315 04:26:28.945852 9740 driver.go:378] Setting default libvirt URI to qemu:///system I0315 04:26:28.948760 9740 out.go:177] โœจ Using the none driver based on existing profile I0315 04:26:28.953567 9740 start.go:298] selected driver: none I0315 04:26:28.953589 9740 start.go:902] validating driver "none" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 Memory:4000 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.28.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP:192.168.2.100 Port:8443 KubernetesVersion:v1.28.3 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: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:} I0315 04:26:28.953723 9740 start.go:913] status for none: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:} I0315 04:26:28.955536 9740 cni.go:84] Creating CNI manager for "" I0315 04:26:28.955548 9740 cni.go:146] "none" driver + "containerd" runtime found, recommending bridge I0315 04:26:28.955566 9740 start_flags.go:323] config: {Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 Memory:4000 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.28.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP:192.168.2.100 Port:8443 KubernetesVersion:v1.28.3 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: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:} I0315 04:26:28.958104 9740 out.go:177] ๐Ÿ‘ Starting control plane node minikube in cluster minikube I0315 04:26:28.961846 9740 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ... I0315 04:26:28.964293 9740 start.go:365] acquiring machines lock for minikube: {Name:mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89 Clock:{} Delay:500ms Timeout:13m0s Cancel:} I0315 04:26:28.964508 9740 start.go:369] acquired machines lock for "minikube" in 184.4ยตs I0315 04:26:28.964546 9740 start.go:96] Skipping create...Using existing machine configuration I0315 04:26:28.964556 9740 fix.go:54] fixHost starting: W0315 04:26:28.965007 9740 none.go:130] unable to get port: "minikube" does not appear in /root/.kube/config I0315 04:26:28.965032 9740 api_server.go:166] Checking apiserver status ... I0315 04:26:28.965271 9740 exec_runner.go:51] Run: sudo pgrep -xnf kube-apiserver.minikube. W0315 04:26:29.038475 9740 api_server.go:170] stopped: unable to get apiserver pid: sudo pgrep -xnf kube-apiserver.minikube.: exit status 1 stdout:

stderr: I0315 04:26:29.038681 9740 exec_runner.go:51] Run: sudo systemctl is-active --quiet service kubelet I0315 04:26:29.109680 9740 fix.go:102] recreateIfNeeded on minikube: state=Stopped err= W0315 04:26:29.109699 9740 fix.go:128] unexpected machine state, will restart: I0315 04:26:29.158088 9740 out.go:177] ๐Ÿ”„ Restarting existing none bare metal machine for "minikube" ... I0315 04:26:29.185722 9740 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ... I0315 04:26:29.196319 9740 start.go:300] post-start starting for "minikube" (driver="none") I0315 04:26:29.196480 9740 start.go:329] 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] I0315 04:26:29.197293 9740 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 I0315 04:26:29.314551 9740 main.go:141] libmachine: Couldn't set key VERSION_CODENAME, no corresponding struct field found I0315 04:26:29.314618 9740 main.go:141] libmachine: Couldn't set key PRIVACY_POLICY_URL, no corresponding struct field found I0315 04:26:29.314640 9740 main.go:141] libmachine: Couldn't set key UBUNTU_CODENAME, no corresponding struct field found I0315 04:26:29.317706 9740 out.go:177] โ„น๏ธ OS release is Ubuntu 22.04.4 LTS I0315 04:26:29.321902 9740 filesync.go:126] Scanning /root/.minikube/addons for local assets ... I0315 04:26:29.322219 9740 filesync.go:126] Scanning /root/.minikube/files for local assets ... I0315 04:26:29.322479 9740 start.go:303] post-start completed in 126.1171ms I0315 04:26:29.322497 9740 fix.go:56] fixHost completed within 357.9408ms I0315 04:26:29.322506 9740 start.go:83] releasing machines lock for "minikube", held for 357.986ms I0315 04:26:29.324301 9740 exec_runner.go:51] Run: curl -sS -m 2 https://registry.k8s.io/ I0315 04:26:29.324348 9740 exec_runner.go:51] Run: sh -c "stat /etc/cni/net.d/loopback.conf" W0315 04:26:29.355451 9740 cni.go:209] loopback cni configuration skipped: "/etc/cni/net.d/loopback.conf" not found I0315 04:26:29.355953 9740 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" ; I0315 04:26:29.429442 9740 cni.go:259] no active bridge cni configs found in "/etc/cni/net.d" - nothing to disable I0315 04:26:29.429466 9740 start.go:472] detecting cgroup driver to use... I0315 04:26:29.429621 9740 detect.go:196] detected "cgroupfs" cgroup driver on host os I0315 04:26:29.429954 9740 exec_runner.go:51] Run: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///run/containerd/containerd.sock " | sudo tee /etc/crictl.yaml" I0315 04:26:29.568466 9740 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" I0315 04:26:29.656963 9740 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" I0315 04:26:29.745538 9740 containerd.go:145] configuring containerd to use "cgroupfs" as cgroup driver... I0315 04:26:29.746077 9740 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )SystemdCgroup = .$|\1SystemdCgroup = false|g' /etc/containerd/config.toml" I0315 04:26:29.832931 9740 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" I0315 04:26:29.891784 9740 exec_runner.go:51] Run: sh -c "sudo sed -i '/systemd_cgroup/d' /etc/containerd/config.toml" I0315 04:26:29.953166 9740 exec_runner.go:51] Run: sh -c "sudo sed -i 's|"io.containerd.runc.v1"|"io.containerd.runc.v2"|g' /etc/containerd/config.toml" I0315 04:26:30.018861 9740 exec_runner.go:51] Run: sh -c "sudo rm -rf /etc/cni/net.mk" I0315 04:26:30.081314 9740 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" I0315 04:26:30.143182 9740 exec_runner.go:51] Run: sudo sysctl net.bridge.bridge-nf-call-iptables I0315 04:26:30.207501 9740 exec_runner.go:51] Run: sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" I0315 04:26:30.305960 9740 out.go:177] W0315 04:26:30.308759 9740 out.go:239] โŒ Exiting due to RUNTIME_ENABLE: Failed to enable container runtime: ip_forward: sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward": exit status 1 stdout:

stderr: sh: 1: echo: echo: I/O error

W0315 04:26:30.308868 9740 out.go:239] W0315 04:26:30.312307 9740 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. โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ I0315 04:26:30.316646 9740 out.go:177]

๐Ÿคท The control plane node must be running for this command ๐Ÿ‘‰ To start a cluster, run: "minikube start"

Attach the log file

==> Audit <== --------- --------------------------------- ---------- ------ --------- --------------------- --------------------- Command Args Profile User Version Start Time End Time
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:16 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:17 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:22 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:29 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 19:51 PKT
start minikube root v1.32.0 14 Mar 24 19:51 PKT
start --driver=docker minikube root v1.32.0 14 Mar 24 19:56 PKT
delete none minikube root v1.32.0 14 Mar 24 19:57 PKT
start --driver=docker minikube root v1.32.0 14 Mar 24 19:58 PKT
delete driver=none minikube root v1.32.0 14 Mar 24 19:58 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:08 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:16 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:24 PKT
--container-runtime=cri-dockerd
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:25 PKT
--container-runtime=cri-dockerd
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:26 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:27 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:37 PKT
start minikube root v1.32.0 14 Mar 24 20:38 PKT
start --vm-driver=none minikube root v1.32.0 14 Mar 24 20:38 PKT
--container-runtime=cri-dockerd
start --vm-driver=docker minikube root v1.32.0 14 Mar 24 20:38 PKT
start --vm-driver=docker minikube root v1.32.0 15 Mar 24 03:23 PKT
delete minikube root v1.32.0 15 Mar 24 03:23 PKT 15 Mar 24 03:23 PKT
start --vm-driver=docker minikube root v1.32.0 15 Mar 24 03:24 PKT
start minikube root v1.32.0 15 Mar 24 03:24 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:29 PKT
--container-runtime=cri-dockerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:32 PKT
--container-runtime=docker
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:32 PKT
--container-runtime=crl-o
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:32 PKT
--container-runtime=containerd
delete minikube root v1.32.0 15 Mar 24 03:48 PKT 15 Mar 24 03:48 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:48 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:51 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:53 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:56 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 03:56 PKT
start minikube root v1.32.0 15 Mar 24 03:57 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:01 PKT
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:02 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:06 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:26 PKT
--container-runtime=containerd
start --vm-driver=none minikube root v1.32.0 15 Mar 24 04:26 PKT
--------- --------------------------------- ---------- ------ --------- --------------------- ---------------------

==> Last Start <== Log file created at: 2024/03/15 04:26:28 Running on machine: USMAN-SALEEM Binary: Built with gc go1.21.3 for linux/amd64 Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg I0315 04:26:28.861074 9740 out.go:296] Setting OutFile to fd 1 ... I0315 04:26:28.861503 9740 out.go:348] isatty.IsTerminal(1) = true I0315 04:26:28.861525 9740 out.go:309] Setting ErrFile to fd 2... I0315 04:26:28.861536 9740 out.go:348] isatty.IsTerminal(2) = true I0315 04:26:28.861823 9740 root.go:338] Updating PATH: /root/.minikube/bin W0315 04:26:28.862106 9740 root.go:314] Error reading config file at /root/.minikube/config/config.json: open /root/.minikube/config/config.json: no such file or directory I0315 04:26:28.862782 9740 out.go:303] Setting JSON to false I0315 04:26:28.864219 9740 start.go:128] hostinfo: {"hostname":"USMAN-SALEEM","uptime":34464,"bootTime":1710424324,"procs":11,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"4.4.0-19041-Microsoft","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"5fba56b7-5d29-4f6a-8b3c-032e97250ae8"} I0315 04:26:28.864309 9740 start.go:138] virtualization: I0315 04:26:28.915101 9740 out.go:177] ๐Ÿ˜„ minikube v1.32.0 on Ubuntu 22.04 W0315 04:26:28.918125 9740 preload.go:295] Failed to list preload files: open /root/.minikube/cache/preloaded-tarball: no such file or directory I0315 04:26:28.918243 9740 notify.go:220] Checking for updates... I0315 04:26:28.919178 9740 config.go:182] Loaded profile config "minikube": Driver=none, ContainerRuntime=containerd, KubernetesVersion=v1.28.3 I0315 04:26:28.920549 9740 exec_runner.go:51] Run: systemctl --version I0315 04:26:28.945852 9740 driver.go:378] Setting default libvirt URI to qemu:///system I0315 04:26:28.948760 9740 out.go:177] โœจ Using the none driver based on existing profile I0315 04:26:28.953567 9740 start.go:298] selected driver: none I0315 04:26:28.953589 9740 start.go:902] validating driver "none" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 Memory:4000 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.28.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP:192.168.2.100 Port:8443 KubernetesVersion:v1.28.3 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: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:} I0315 04:26:28.953723 9740 start.go:913] status for none: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:} I0315 04:26:28.955536 9740 cni.go:84] Creating CNI manager for "" I0315 04:26:28.955548 9740 cni.go:146] "none" driver + "containerd" runtime found, recommending bridge I0315 04:26:28.955566 9740 start_flags.go:323] config: {Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 Memory:4000 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.28.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:containerd CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP:192.168.2.100 Port:8443 KubernetesVersion:v1.28.3 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: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:} I0315 04:26:28.958104 9740 out.go:177] ๐Ÿ‘ Starting control plane node minikube in cluster minikube I0315 04:26:28.961846 9740 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ... I0315 04:26:28.964293 9740 start.go:365] acquiring machines lock for minikube: {Name:mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89 Clock:{} Delay:500ms Timeout:13m0s Cancel:} I0315 04:26:28.964508 9740 start.go:369] acquired machines lock for "minikube" in 184.4ยตs I0315 04:26:28.964546 9740 start.go:96] Skipping create...Using existing machine configuration I0315 04:26:28.964556 9740 fix.go:54] fixHost starting: W0315 04:26:28.965007 9740 none.go:130] unable to get port: "minikube" does not appear in /root/.kube/config I0315 04:26:28.965032 9740 api_server.go:166] Checking apiserver status ... I0315 04:26:28.965271 9740 exec_runner.go:51] Run: sudo pgrep -xnf kube-apiserver.minikube. W0315 04:26:29.038475 9740 api_server.go:170] stopped: unable to get apiserver pid: sudo pgrep -xnf kube-apiserver.minikube.: exit status 1 stdout:

stderr: I0315 04:26:29.038681 9740 exec_runner.go:51] Run: sudo systemctl is-active --quiet service kubelet I0315 04:26:29.109680 9740 fix.go:102] recreateIfNeeded on minikube: state=Stopped err= W0315 04:26:29.109699 9740 fix.go:128] unexpected machine state, will restart: I0315 04:26:29.158088 9740 out.go:177] ๐Ÿ”„ Restarting existing none bare metal machine for "minikube" ... I0315 04:26:29.185722 9740 profile.go:148] Saving config to /root/.minikube/profiles/minikube/config.json ... I0315 04:26:29.196319 9740 start.go:300] post-start starting for "minikube" (driver="none") I0315 04:26:29.196480 9740 start.go:329] 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] I0315 04:26:29.197293 9740 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 I0315 04:26:29.314551 9740 main.go:141] libmachine: Couldn't set key VERSION_CODENAME, no corresponding struct field found I0315 04:26:29.314618 9740 main.go:141] libmachine: Couldn't set key PRIVACY_POLICY_URL, no corresponding struct field found I0315 04:26:29.314640 9740 main.go:141] libmachine: Couldn't set key UBUNTU_CODENAME, no corresponding struct field found I0315 04:26:29.317706 9740 out.go:177] โ„น๏ธ OS release is Ubuntu 22.04.4 LTS I0315 04:26:29.321902 9740 filesync.go:126] Scanning /root/.minikube/addons for local assets ... I0315 04:26:29.322219 9740 filesync.go:126] Scanning /root/.minikube/files for local assets ... I0315 04:26:29.322479 9740 start.go:303] post-start completed in 126.1171ms I0315 04:26:29.322497 9740 fix.go:56] fixHost completed within 357.9408ms I0315 04:26:29.322506 9740 start.go:83] releasing machines lock for "minikube", held for 357.986ms I0315 04:26:29.324301 9740 exec_runner.go:51] Run: curl -sS -m 2 https://registry.k8s.io/ I0315 04:26:29.324348 9740 exec_runner.go:51] Run: sh -c "stat /etc/cni/net.d/loopback.conf" W0315 04:26:29.355451 9740 cni.go:209] loopback cni configuration skipped: "/etc/cni/net.d/loopback.conf" not found I0315 04:26:29.355953 9740 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" ; I0315 04:26:29.429442 9740 cni.go:259] no active bridge cni configs found in "/etc/cni/net.d" - nothing to disable I0315 04:26:29.429466 9740 start.go:472] detecting cgroup driver to use... I0315 04:26:29.429621 9740 detect.go:196] detected "cgroupfs" cgroup driver on host os I0315 04:26:29.429954 9740 exec_runner.go:51] Run: /bin/bash -c "sudo mkdir -p /etc && printf %!s(MISSING) "runtime-endpoint: unix:///run/containerd/containerd.sock " | sudo tee /etc/crictl.yaml" I0315 04:26:29.568466 9740 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" I0315 04:26:29.656963 9740 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" I0315 04:26:29.745538 9740 containerd.go:145] configuring containerd to use "cgroupfs" as cgroup driver... I0315 04:26:29.746077 9740 exec_runner.go:51] Run: sh -c "sudo sed -i -r 's|^( )SystemdCgroup = .$|\1SystemdCgroup = false|g' /etc/containerd/config.toml" I0315 04:26:29.832931 9740 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" I0315 04:26:29.891784 9740 exec_runner.go:51] Run: sh -c "sudo sed -i '/systemd_cgroup/d' /etc/containerd/config.toml" I0315 04:26:29.953166 9740 exec_runner.go:51] Run: sh -c "sudo sed -i 's|"io.containerd.runc.v1"|"io.containerd.runc.v2"|g' /etc/containerd/config.toml" I0315 04:26:30.018861 9740 exec_runner.go:51] Run: sh -c "sudo rm -rf /etc/cni/net.mk" I0315 04:26:30.081314 9740 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" I0315 04:26:30.143182 9740 exec_runner.go:51] Run: sudo sysctl net.bridge.bridge-nf-call-iptables I0315 04:26:30.207501 9740 exec_runner.go:51] Run: sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" I0315 04:26:30.305960 9740 out.go:177] W0315 04:26:30.308759 9740 out.go:239] โŒ Exiting due to RUNTIME_ENABLE: Failed to enable container runtime: ip_forward: sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward": exit status 1 stdout:

stderr: sh: 1: echo: echo: I/O error

W0315 04:26:30.308868 9740 out.go:239] W0315 04:26:30.312307 9740 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. โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ I0315 04:26:30.316646 9740 out.go:177]

๐Ÿคท The control plane node must be running for this command ๐Ÿ‘‰ To start a cluster, run: "minikube start"

Operating System

Windows

Driver

None

k8s-triage-robot commented 4 months ago

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

This bot triages un-triaged issues according to the following rules:

You can:

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

/lifecycle stale

k8s-triage-robot commented 3 months ago

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:

You can:

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

/lifecycle rotten

k8s-triage-robot commented 2 months 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 2 months ago

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

In response to [this](https://github.com/kubernetes/minikube/issues/18391#issuecomment-2282960244): >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-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.