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

could not start minikube #19663

Open
tedimihailescu opened this issue Sep 18, 2024 · 0 comments
Open

could not start minikube #19663

tedimihailescu opened this issue Sep 18, 2024 · 0 comments

Comments

@tedimihailescu
Copy link

What Happened?

==> Last Start <==
Log file created at: 2024/09/18 16:45:11
Running on machine: DESKTOP-IE6MRRF
Binary: Built with gc go1.22.5 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0918 16:45:11.973750 22675 out.go:345] Setting OutFile to fd 1 ...
I0918 16:45:11.973934 22675 out.go:397] isatty.IsTerminal(1) = true
I0918 16:45:11.973938 22675 out.go:358] Setting ErrFile to fd 2...
I0918 16:45:11.973942 22675 out.go:397] isatty.IsTerminal(2) = true
I0918 16:45:11.974176 22675 root.go:338] Updating PATH: /home/developer/.minikube/bin
W0918 16:45:11.974285 22675 root.go:314] Error reading config file at /home/developer/.minikube/config/config.json: open /home/developer/.minikube/config/config.json: no such file or directory
I0918 16:45:11.974476 22675 out.go:352] Setting JSON to false
I0918 16:45:11.976539 22675 start.go:129] hostinfo: {"hostname":"DESKTOP-IE6MRRF","uptime":665,"bootTime":1726666447,"procs":121,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"5.15.146.1-microsoft-standard-WSL2","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"guest","hostId":"62ec761f-9264-4617-b004-ddc201579018"}
I0918 16:45:11.976596 22675 start.go:139] virtualization: guest
I0918 16:45:11.979663 22675 out.go:177] 😄 minikube v1.34.0 on Ubuntu 22.04 (amd64)
W0918 16:45:11.982290 22675 preload.go:293] Failed to list preload files: open /home/developer/.minikube/cache/preloaded-tarball: no such file or directory
I0918 16:45:11.982407 22675 notify.go:220] Checking for updates...
I0918 16:45:11.982590 22675 driver.go:394] Setting default libvirt URI to qemu:///system
I0918 16:45:11.982688 22675 global.go:112] Querying for installed drivers using PATH=/home/developer/.minikube/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
I0918 16:45:11.982753 22675 global.go:133] ssh default: false priority: 4, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0918 16:45:12.021976 22675 global.go:133] kvm2 default: true priority: 8, state: {Installed:true Healthy:false Running:true NeedsImprovement:false Error:libvirt group membership check failed:
user is not a member of the appropriate libvirt group Reason:PR_KVM_USER_PERMISSION Fix:Check that libvirtd is properly installed and that you are a member of the appropriate libvirt group (remember to relogin for group changes to take effect!) Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/ Version:}
I0918 16:45:12.022234 22675 global.go:133] qemu2 default: true priority: 7, state: {Installed:true Healthy:true Running:true NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0918 16:45:12.041606 22675 global.go:133] virtualbox default: true priority: 6, state: {Installed:true Healthy:false Running:false NeedsImprovement:false Error:warning from virtualbox WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-standard.

     You will not be able to start VMs until this problem is fixed.

6.1.50_Ubuntur161033
Reason: Fix:Read the docs for resolution Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/virtualbox/ Version:}
I0918 16:45:12.041707 22675 global.go:133] vmware default: false priority: 5, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "vmrun": executable file not found in $PATH Reason: Fix:Install vmrun Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/ Version:}
W0918 16:45:12.059753 22675 docker.go:181] docker version returned error: exit status 1
I0918 16:45:12.059827 22675 global.go:133] docker default: true priority: 9, state: {Installed:true Healthy:false Running:true NeedsImprovement:false Error:"docker version --format {{.Server.Os}}-{{.Server.Version}}:{{.Server.Platform.Name}}" exit status 1: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied Reason:PROVIDER_DOCKER_NEWGRP Fix:Add your user to the 'docker' group: 'sudo usermod -aG docker $USER && newgrp docker' Doc:https://docs.docker.com/engine/install/linux-postinstall/ Version:}
I0918 16:45:12.070716 22675 global.go:133] none default: false priority: 4, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
W0918 16:45:12.078854 22675 podman.go:138] podman returned error: exit status 1
I0918 16:45:12.078946 22675 global.go:133] podman default: true priority: 7, state: {Installed:true Healthy:false Running:false NeedsImprovement:false Error:"sudo -n -k podman version --format {{.Version}}" exit status 1: sudo: a password is required Reason: Fix:Add your user to the 'sudoers' file: 'developer ALL=(ALL) NOPASSWD: /usr/bin/podman' , or run 'minikube config set rootless true' Doc:https://podman.io Version:}
I0918 16:45:12.078974 22675 driver.go:316] not recommending "ssh" due to default: false
I0918 16:45:12.078985 22675 driver.go:316] not recommending "none" due to default: false
I0918 16:45:12.078988 22675 driver.go:311] not recommending "kvm2" due to health: libvirt group membership check failed:
user is not a member of the appropriate libvirt group
I0918 16:45:12.078993 22675 driver.go:311] not recommending "virtualbox" due to health: warning from virtualbox WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-standard.

     You will not be able to start VMs until this problem is fixed.

6.1.50_Ubuntur161033
I0918 16:45:12.079000 22675 driver.go:311] not recommending "docker" due to health: "docker version --format {{.Server.Os}}-{{.Server.Version}}:{{.Server.Platform.Name}}" exit status 1: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied
I0918 16:45:12.079003 22675 driver.go:311] not recommending "podman" due to health: "sudo -n -k podman version --format {{.Version}}" exit status 1: sudo: a password is required
I0918 16:45:12.079026 22675 driver.go:351] Picked: qemu2
I0918 16:45:12.079046 22675 driver.go:352] Alternatives: [ssh none]
I0918 16:45:12.079053 22675 driver.go:353] Rejects: [kvm2 virtualbox vmware docker podman]
I0918 16:45:12.081553 22675 out.go:177] ✨ Automatically selected the qemu2 driver. Other choices: ssh, none
I0918 16:45:12.083879 22675 start.go:297] selected driver: qemu2
I0918 16:45:12.083889 22675 start.go:901] validating driver "qemu2" against
I0918 16:45:12.083901 22675 start.go:912] status for qemu2: {Installed:true Healthy:true Running:true NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0918 16:45:12.084330 22675 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I0918 16:45:12.086741 22675 out.go:177] 🌐 Automatically selected the builtin network
W0918 16:45:12.089042 22675 out.go:270] ❗ You are using the QEMU driver without a dedicated network, which doesn't support minikube service & minikube tunnel commands.
I0918 16:45:12.089708 22675 start_flags.go:393] Using suggested 2200MB memory alloc based on sys=7806MB, container=0MB
I0918 16:45:12.090499 22675 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I0918 16:45:12.090629 22675 cni.go:84] Creating CNI manager for ""
I0918 16:45:12.090643 22675 cni.go:158] "qemu2" driver + "docker" container runtime found on kubernetes v1.24+, recommending bridge
I0918 16:45:12.090649 22675 start_flags.go:319] Found "bridge CNI" CNI - setting NetworkPlugin=cni
I0918 16:45:12.090727 22675 start.go:340] cluster config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:2200 CPUs:2 DiskSize:20000 Driver:qemu2 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:8443 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.31.0 ClusterName:minikube Namespace:default APIServerHAVIP: 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:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:builtin Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/developer:/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 GPUs: AutoPauseInterval:1m0s}
I0918 16:45:12.091484 22675 iso.go:125] acquiring lock: {Name:mk7048b4b35e2e034406eb178bc937e7dccb786a Clock:{} Delay:500ms Timeout:10m0s Cancel:}
I0918 16:45:12.095524 22675 out.go:177] 💿 Downloading VM boot image ...
I0918 16:45:12.098021 22675 download.go:107] Downloading: https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso?checksum=file:https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso.sha256 -> /home/developer/.minikube/cache/iso/amd64/minikube-v1.34.0-amd64.iso
I0918 16:45:34.713656 22675 out.go:177] 👍 Starting "minikube" primary control-plane node in "minikube" cluster
I0918 16:45:34.743951 22675 preload.go:131] Checking if preload exists for k8s version v1.31.0 and runtime docker
I0918 16:45:34.889176 22675 preload.go:118] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.31.0/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4
I0918 16:45:34.889285 22675 cache.go:56] Caching tarball of preloaded images
I0918 16:45:34.889707 22675 preload.go:131] Checking if preload exists for k8s version v1.31.0 and runtime docker
I0918 16:45:34.910694 22675 out.go:177] 💾 Downloading Kubernetes v1.31.0 preload ...
I0918 16:45:34.927972 22675 preload.go:236] getting checksum for preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4 ...
I0918 16:45:35.287609 22675 download.go:107] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.31.0/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4?checksum=md5:2dd98f97b896d7a4f012ee403b477cc8 -> /home/developer/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4
I0918 16:45:58.368040 22675 preload.go:247] saving checksum for preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4 ...
I0918 16:45:58.368155 22675 preload.go:254] verifying checksum of /home/developer/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4 ...
I0918 16:45:58.960893 22675 cache.go:59] Finished verifying existence of preloaded tar for v1.31.0 on docker
I0918 16:45:58.961268 22675 profile.go:143] Saving config to /home/developer/.minikube/profiles/minikube/config.json ...
I0918 16:45:58.961330 22675 lock.go:35] WriteFile acquiring /home/developer/.minikube/profiles/minikube/config.json: {Name:mkff2598918981c5c5097eedf01e6d4b22cad0b8 Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0918 16:45:58.970983 22675 start.go:360] acquireMachinesLock for minikube: {Name:mk00aedb1b9e3fba046bbc6f5ba019a836089e26 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0918 16:45:58.971109 22675 start.go:364] duration metric: took 106.826µs to acquireMachinesLock for "minikube"
I0918 16:45:58.971513 22675 start.go:93] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:2200 CPUs:2 DiskSize:20000 Driver:qemu2 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:8443 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.31.0 ClusterName:minikube Namespace:default APIServerHAVIP: 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:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:builtin Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/developer:/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 GPUs: AutoPauseInterval:1m0s} &{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}
I0918 16:45:58.971709 22675 start.go:125] createHost starting for "" (driver="qemu2")
I0918 16:45:58.976849 22675 out.go:235] 🔥 Creating qemu2 VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
I0918 16:45:58.977142 22675 start.go:159] libmachine.API.Create for "minikube" (driver="qemu2")
I0918 16:45:58.977192 22675 client.go:168] LocalClient.Create starting
I0918 16:45:58.977622 22675 main.go:141] libmachine: Creating CA: /home/developer/.minikube/certs/ca.pem
I0918 16:45:59.177110 22675 main.go:141] libmachine: Creating client certificate: /home/developer/.minikube/certs/cert.pem
I0918 16:45:59.349671 22675 main.go:141] libmachine: port range: 0 -> 65535
I0918 16:45:59.349876 22675 main.go:141] libmachine: Downloading /home/developer/.minikube/cache/boot2docker.iso from file:///home/developer/.minikube/cache/iso/amd64/minikube-v1.34.0-amd64.iso...
I0918 16:45:59.699472 22675 main.go:141] libmachine: Creating SSH key...
I0918 16:45:59.775144 22675 main.go:141] libmachine: Creating Disk image...
I0918 16:45:59.775156 22675 main.go:141] libmachine: Creating 20000 MB hard disk image...
I0918 16:45:59.775595 22675 main.go:141] libmachine: executing: qemu-img convert -f raw -O qcow2 /home/developer/.minikube/machines/minikube/disk.qcow2.raw /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:45:59.802439 22675 main.go:141] libmachine: STDOUT:
I0918 16:45:59.802454 22675 main.go:141] libmachine: STDERR:
I0918 16:45:59.802497 22675 main.go:141] libmachine: executing: qemu-img resize /home/developer/.minikube/machines/minikube/disk.qcow2 +20000M
I0918 16:45:59.816777 22675 main.go:141] libmachine: STDOUT: Image resized.

I0918 16:45:59.816787 22675 main.go:141] libmachine: STDERR:
I0918 16:45:59.816797 22675 main.go:141] libmachine: DONE writing to /home/developer/.minikube/machines/minikube/disk.qcow2.raw and /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:45:59.816802 22675 main.go:141] libmachine: Starting QEMU VM...
I0918 16:45:59.816816 22675 qemu.go:418] Using kvm for hardware acceleration
I0918 16:45:59.816924 22675 main.go:141] libmachine: executing: qemu-system-x86_64 -cpu max -display none -accel kvm -m 2200 -smp 2 -boot d -cdrom /home/developer/.minikube/machines/minikube/boot2docker.iso -qmp unix:/home/developer/.minikube/machines/minikube/monitor,server,nowait -pidfile /home/developer/.minikube/machines/minikube/qemu.pid -nic user,model=virtio,hostfwd=tcp::42839-:22,hostfwd=tcp::36419-:2376,hostname=minikube -daemonize /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:45:59.840672 22675 main.go:141] libmachine: STDOUT:
I0918 16:45:59.840684 22675 main.go:141] libmachine: STDERR: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied

I0918 16:45:59.840794 22675 client.go:171] duration metric: took 863.587987ms to LocalClient.Create
I0918 16:46:01.840990 22675 start.go:128] duration metric: took 2.869215503s to createHost
I0918 16:46:01.841009 22675 start.go:83] releasing machines lock for "minikube", held for 2.869893804s
W0918 16:46:01.841034 22675 start.go:714] error starting host: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
I0918 16:46:01.859918 22675 out.go:177] 🔥 Deleting "minikube" in qemu2 ...
W0918 16:46:01.888493 22675 out.go:270] 🤦 StartHost failed, but will try again: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
I0918 16:46:01.888576 22675 start.go:729] Will try again in 5 seconds ...
I0918 16:46:06.889227 22675 start.go:360] acquireMachinesLock for minikube: {Name:mk00aedb1b9e3fba046bbc6f5ba019a836089e26 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0918 16:46:06.889470 22675 start.go:364] duration metric: took 145.641µs to acquireMachinesLock for "minikube"
I0918 16:46:06.889507 22675 start.go:93] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:2200 CPUs:2 DiskSize:20000 Driver:qemu2 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:8443 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.31.0 ClusterName:minikube Namespace:default APIServerHAVIP: 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:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:builtin Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/developer:/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 GPUs: AutoPauseInterval:1m0s} &{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}
I0918 16:46:06.889594 22675 start.go:125] createHost starting for "" (driver="qemu2")
I0918 16:46:06.893955 22675 out.go:235] 🔥 Creating qemu2 VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
I0918 16:46:06.894187 22675 start.go:159] libmachine.API.Create for "minikube" (driver="qemu2")
I0918 16:46:06.894228 22675 client.go:168] LocalClient.Create starting
I0918 16:46:06.894318 22675 main.go:141] libmachine: Reading certificate data from /home/developer/.minikube/certs/ca.pem
I0918 16:46:06.894372 22675 main.go:141] libmachine: Decoding PEM data...
I0918 16:46:06.894388 22675 main.go:141] libmachine: Parsing certificate...
I0918 16:46:06.894444 22675 main.go:141] libmachine: Reading certificate data from /home/developer/.minikube/certs/cert.pem
I0918 16:46:06.894462 22675 main.go:141] libmachine: Decoding PEM data...
I0918 16:46:06.894470 22675 main.go:141] libmachine: Parsing certificate...
I0918 16:46:06.894743 22675 main.go:141] libmachine: port range: 0 -> 65535
I0918 16:46:06.894887 22675 main.go:141] libmachine: Downloading /home/developer/.minikube/cache/boot2docker.iso from file:///home/developer/.minikube/cache/iso/amd64/minikube-v1.34.0-amd64.iso...
I0918 16:46:07.111492 22675 main.go:141] libmachine: Creating SSH key...
I0918 16:46:07.328569 22675 main.go:141] libmachine: Creating Disk image...
I0918 16:46:07.328580 22675 main.go:141] libmachine: Creating 20000 MB hard disk image...
I0918 16:46:07.328712 22675 main.go:141] libmachine: executing: qemu-img convert -f raw -O qcow2 /home/developer/.minikube/machines/minikube/disk.qcow2.raw /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:46:07.343747 22675 main.go:141] libmachine: STDOUT:
I0918 16:46:07.343755 22675 main.go:141] libmachine: STDERR:
I0918 16:46:07.343789 22675 main.go:141] libmachine: executing: qemu-img resize /home/developer/.minikube/machines/minikube/disk.qcow2 +20000M
I0918 16:46:07.356500 22675 main.go:141] libmachine: STDOUT: Image resized.

I0918 16:46:07.356507 22675 main.go:141] libmachine: STDERR:
I0918 16:46:07.356515 22675 main.go:141] libmachine: DONE writing to /home/developer/.minikube/machines/minikube/disk.qcow2.raw and /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:46:07.356518 22675 main.go:141] libmachine: Starting QEMU VM...
I0918 16:46:07.356529 22675 qemu.go:418] Using kvm for hardware acceleration
I0918 16:46:07.356620 22675 main.go:141] libmachine: executing: qemu-system-x86_64 -cpu max -display none -accel kvm -m 2200 -smp 2 -boot d -cdrom /home/developer/.minikube/machines/minikube/boot2docker.iso -qmp unix:/home/developer/.minikube/machines/minikube/monitor,server,nowait -pidfile /home/developer/.minikube/machines/minikube/qemu.pid -nic user,model=virtio,hostfwd=tcp::43727-:22,hostfwd=tcp::34459-:2376,hostname=minikube -daemonize /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:46:07.372540 22675 main.go:141] libmachine: STDOUT:
I0918 16:46:07.372552 22675 main.go:141] libmachine: STDERR: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied

I0918 16:46:07.372628 22675 client.go:171] duration metric: took 478.394965ms to LocalClient.Create
I0918 16:46:09.373333 22675 start.go:128] duration metric: took 2.4837064s to createHost
I0918 16:46:09.373368 22675 start.go:83] releasing machines lock for "minikube", held for 2.483889657s
W0918 16:46:09.373522 22675 out.go:270] 😿 Failed to start qemu2 VM. Running "minikube delete" may fix it: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
I0918 16:46:09.379300 22675 out.go:201]
W0918 16:46:09.382853 22675 out.go:270] ❌ Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
W0918 16:46:09.382903 22675 out.go:270]
W0918 16:46:09.383751 22675 out.go:293] ╭───────────────────────────────────────────────────────────────────────────────────────────╮


│ 😿 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. │


╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0918 16:46:09.387837 22675 out.go:201]

Attach the log file

==> Audit <==
|---------|-----------------|----------|-----------|---------|----------------------|----------|
| Command | Args | Profile | User | Version | Start Time | End Time |
|---------|-----------------|----------|-----------|---------|----------------------|----------|
| start | --driver=docker | minikube | developer | v1.33.1 | 18 Sep 24 16:43 EEST | |
| start | --driver=docker | minikube | developer | v1.34.0 | 18 Sep 24 16:44 EEST | |
| start | | minikube | developer | v1.34.0 | 18 Sep 24 16:45 EEST | |
|---------|-----------------|----------|-----------|---------|----------------------|----------|

==> Last Start <==
Log file created at: 2024/09/18 16:45:11
Running on machine: DESKTOP-IE6MRRF
Binary: Built with gc go1.22.5 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0918 16:45:11.973750 22675 out.go:345] Setting OutFile to fd 1 ...
I0918 16:45:11.973934 22675 out.go:397] isatty.IsTerminal(1) = true
I0918 16:45:11.973938 22675 out.go:358] Setting ErrFile to fd 2...
I0918 16:45:11.973942 22675 out.go:397] isatty.IsTerminal(2) = true
I0918 16:45:11.974176 22675 root.go:338] Updating PATH: /home/developer/.minikube/bin
W0918 16:45:11.974285 22675 root.go:314] Error reading config file at /home/developer/.minikube/config/config.json: open /home/developer/.minikube/config/config.json: no such file or directory
I0918 16:45:11.974476 22675 out.go:352] Setting JSON to false
I0918 16:45:11.976539 22675 start.go:129] hostinfo: {"hostname":"DESKTOP-IE6MRRF","uptime":665,"bootTime":1726666447,"procs":121,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"5.15.146.1-microsoft-standard-WSL2","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"guest","hostId":"62ec761f-9264-4617-b004-ddc201579018"}
I0918 16:45:11.976596 22675 start.go:139] virtualization: guest
I0918 16:45:11.979663 22675 out.go:177] 😄 minikube v1.34.0 on Ubuntu 22.04 (amd64)
W0918 16:45:11.982290 22675 preload.go:293] Failed to list preload files: open /home/developer/.minikube/cache/preloaded-tarball: no such file or directory
I0918 16:45:11.982407 22675 notify.go:220] Checking for updates...
I0918 16:45:11.982590 22675 driver.go:394] Setting default libvirt URI to qemu:///system
I0918 16:45:11.982688 22675 global.go:112] Querying for installed drivers using PATH=/home/developer/.minikube/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
I0918 16:45:11.982753 22675 global.go:133] ssh default: false priority: 4, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0918 16:45:12.021976 22675 global.go:133] kvm2 default: true priority: 8, state: {Installed:true Healthy:false Running:true NeedsImprovement:false Error:libvirt group membership check failed:
user is not a member of the appropriate libvirt group Reason:PR_KVM_USER_PERMISSION Fix:Check that libvirtd is properly installed and that you are a member of the appropriate libvirt group (remember to relogin for group changes to take effect!) Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/ Version:}
I0918 16:45:12.022234 22675 global.go:133] qemu2 default: true priority: 7, state: {Installed:true Healthy:true Running:true NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0918 16:45:12.041606 22675 global.go:133] virtualbox default: true priority: 6, state: {Installed:true Healthy:false Running:false NeedsImprovement:false Error:warning from virtualbox WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-standard.

     You will not be able to start VMs until this problem is fixed.

6.1.50_Ubuntur161033
Reason: Fix:Read the docs for resolution Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/virtualbox/ Version:}
I0918 16:45:12.041707 22675 global.go:133] vmware default: false priority: 5, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "vmrun": executable file not found in $PATH Reason: Fix:Install vmrun Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/ Version:}
W0918 16:45:12.059753 22675 docker.go:181] docker version returned error: exit status 1
I0918 16:45:12.059827 22675 global.go:133] docker default: true priority: 9, state: {Installed:true Healthy:false Running:true NeedsImprovement:false Error:"docker version --format {{.Server.Os}}-{{.Server.Version}}:{{.Server.Platform.Name}}" exit status 1: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied Reason:PROVIDER_DOCKER_NEWGRP Fix:Add your user to the 'docker' group: 'sudo usermod -aG docker $USER && newgrp docker' Doc:https://docs.docker.com/engine/install/linux-postinstall/ Version:}
I0918 16:45:12.070716 22675 global.go:133] none default: false priority: 4, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
W0918 16:45:12.078854 22675 podman.go:138] podman returned error: exit status 1
I0918 16:45:12.078946 22675 global.go:133] podman default: true priority: 7, state: {Installed:true Healthy:false Running:false NeedsImprovement:false Error:"sudo -n -k podman version --format {{.Version}}" exit status 1: sudo: a password is required Reason: Fix:Add your user to the 'sudoers' file: 'developer ALL=(ALL) NOPASSWD: /usr/bin/podman' , or run 'minikube config set rootless true' Doc:https://podman.io Version:}
I0918 16:45:12.078974 22675 driver.go:316] not recommending "ssh" due to default: false
I0918 16:45:12.078985 22675 driver.go:316] not recommending "none" due to default: false
I0918 16:45:12.078988 22675 driver.go:311] not recommending "kvm2" due to health: libvirt group membership check failed:
user is not a member of the appropriate libvirt group
I0918 16:45:12.078993 22675 driver.go:311] not recommending "virtualbox" due to health: warning from virtualbox WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-standard.

     You will not be able to start VMs until this problem is fixed.

6.1.50_Ubuntur161033
I0918 16:45:12.079000 22675 driver.go:311] not recommending "docker" due to health: "docker version --format {{.Server.Os}}-{{.Server.Version}}:{{.Server.Platform.Name}}" exit status 1: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied
I0918 16:45:12.079003 22675 driver.go:311] not recommending "podman" due to health: "sudo -n -k podman version --format {{.Version}}" exit status 1: sudo: a password is required
I0918 16:45:12.079026 22675 driver.go:351] Picked: qemu2
I0918 16:45:12.079046 22675 driver.go:352] Alternatives: [ssh none]
I0918 16:45:12.079053 22675 driver.go:353] Rejects: [kvm2 virtualbox vmware docker podman]
I0918 16:45:12.081553 22675 out.go:177] ✨ Automatically selected the qemu2 driver. Other choices: ssh, none
I0918 16:45:12.083879 22675 start.go:297] selected driver: qemu2
I0918 16:45:12.083889 22675 start.go:901] validating driver "qemu2" against
I0918 16:45:12.083901 22675 start.go:912] status for qemu2: {Installed:true Healthy:true Running:true NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
I0918 16:45:12.084330 22675 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I0918 16:45:12.086741 22675 out.go:177] 🌐 Automatically selected the builtin network
W0918 16:45:12.089042 22675 out.go:270] ❗ You are using the QEMU driver without a dedicated network, which doesn't support minikube service & minikube tunnel commands.
I0918 16:45:12.089708 22675 start_flags.go:393] Using suggested 2200MB memory alloc based on sys=7806MB, container=0MB
I0918 16:45:12.090499 22675 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I0918 16:45:12.090629 22675 cni.go:84] Creating CNI manager for ""
I0918 16:45:12.090643 22675 cni.go:158] "qemu2" driver + "docker" container runtime found on kubernetes v1.24+, recommending bridge
I0918 16:45:12.090649 22675 start_flags.go:319] Found "bridge CNI" CNI - setting NetworkPlugin=cni
I0918 16:45:12.090727 22675 start.go:340] cluster config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:2200 CPUs:2 DiskSize:20000 Driver:qemu2 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:8443 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.31.0 ClusterName:minikube Namespace:default APIServerHAVIP: 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:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:builtin Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/developer:/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 GPUs: AutoPauseInterval:1m0s}
I0918 16:45:12.091484 22675 iso.go:125] acquiring lock: {Name:mk7048b4b35e2e034406eb178bc937e7dccb786a Clock:{} Delay:500ms Timeout:10m0s Cancel:}
I0918 16:45:12.095524 22675 out.go:177] 💿 Downloading VM boot image ...
I0918 16:45:12.098021 22675 download.go:107] Downloading: https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso?checksum=file:https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso.sha256 -> /home/developer/.minikube/cache/iso/amd64/minikube-v1.34.0-amd64.iso
I0918 16:45:34.713656 22675 out.go:177] 👍 Starting "minikube" primary control-plane node in "minikube" cluster
I0918 16:45:34.743951 22675 preload.go:131] Checking if preload exists for k8s version v1.31.0 and runtime docker
I0918 16:45:34.889176 22675 preload.go:118] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.31.0/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4
I0918 16:45:34.889285 22675 cache.go:56] Caching tarball of preloaded images
I0918 16:45:34.889707 22675 preload.go:131] Checking if preload exists for k8s version v1.31.0 and runtime docker
I0918 16:45:34.910694 22675 out.go:177] 💾 Downloading Kubernetes v1.31.0 preload ...
I0918 16:45:34.927972 22675 preload.go:236] getting checksum for preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4 ...
I0918 16:45:35.287609 22675 download.go:107] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.31.0/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4?checksum=md5:2dd98f97b896d7a4f012ee403b477cc8 -> /home/developer/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4
I0918 16:45:58.368040 22675 preload.go:247] saving checksum for preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4 ...
I0918 16:45:58.368155 22675 preload.go:254] verifying checksum of /home/developer/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.31.0-docker-overlay2-amd64.tar.lz4 ...
I0918 16:45:58.960893 22675 cache.go:59] Finished verifying existence of preloaded tar for v1.31.0 on docker
I0918 16:45:58.961268 22675 profile.go:143] Saving config to /home/developer/.minikube/profiles/minikube/config.json ...
I0918 16:45:58.961330 22675 lock.go:35] WriteFile acquiring /home/developer/.minikube/profiles/minikube/config.json: {Name:mkff2598918981c5c5097eedf01e6d4b22cad0b8 Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0918 16:45:58.970983 22675 start.go:360] acquireMachinesLock for minikube: {Name:mk00aedb1b9e3fba046bbc6f5ba019a836089e26 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0918 16:45:58.971109 22675 start.go:364] duration metric: took 106.826µs to acquireMachinesLock for "minikube"
I0918 16:45:58.971513 22675 start.go:93] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:2200 CPUs:2 DiskSize:20000 Driver:qemu2 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:8443 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.31.0 ClusterName:minikube Namespace:default APIServerHAVIP: 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:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:builtin Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/developer:/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 GPUs: AutoPauseInterval:1m0s} &{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}
I0918 16:45:58.971709 22675 start.go:125] createHost starting for "" (driver="qemu2")
I0918 16:45:58.976849 22675 out.go:235] 🔥 Creating qemu2 VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
I0918 16:45:58.977142 22675 start.go:159] libmachine.API.Create for "minikube" (driver="qemu2")
I0918 16:45:58.977192 22675 client.go:168] LocalClient.Create starting
I0918 16:45:58.977622 22675 main.go:141] libmachine: Creating CA: /home/developer/.minikube/certs/ca.pem
I0918 16:45:59.177110 22675 main.go:141] libmachine: Creating client certificate: /home/developer/.minikube/certs/cert.pem
I0918 16:45:59.349671 22675 main.go:141] libmachine: port range: 0 -> 65535
I0918 16:45:59.349876 22675 main.go:141] libmachine: Downloading /home/developer/.minikube/cache/boot2docker.iso from file:///home/developer/.minikube/cache/iso/amd64/minikube-v1.34.0-amd64.iso...
I0918 16:45:59.699472 22675 main.go:141] libmachine: Creating SSH key...
I0918 16:45:59.775144 22675 main.go:141] libmachine: Creating Disk image...
I0918 16:45:59.775156 22675 main.go:141] libmachine: Creating 20000 MB hard disk image...
I0918 16:45:59.775595 22675 main.go:141] libmachine: executing: qemu-img convert -f raw -O qcow2 /home/developer/.minikube/machines/minikube/disk.qcow2.raw /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:45:59.802439 22675 main.go:141] libmachine: STDOUT:
I0918 16:45:59.802454 22675 main.go:141] libmachine: STDERR:
I0918 16:45:59.802497 22675 main.go:141] libmachine: executing: qemu-img resize /home/developer/.minikube/machines/minikube/disk.qcow2 +20000M
I0918 16:45:59.816777 22675 main.go:141] libmachine: STDOUT: Image resized.

I0918 16:45:59.816787 22675 main.go:141] libmachine: STDERR:
I0918 16:45:59.816797 22675 main.go:141] libmachine: DONE writing to /home/developer/.minikube/machines/minikube/disk.qcow2.raw and /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:45:59.816802 22675 main.go:141] libmachine: Starting QEMU VM...
I0918 16:45:59.816816 22675 qemu.go:418] Using kvm for hardware acceleration
I0918 16:45:59.816924 22675 main.go:141] libmachine: executing: qemu-system-x86_64 -cpu max -display none -accel kvm -m 2200 -smp 2 -boot d -cdrom /home/developer/.minikube/machines/minikube/boot2docker.iso -qmp unix:/home/developer/.minikube/machines/minikube/monitor,server,nowait -pidfile /home/developer/.minikube/machines/minikube/qemu.pid -nic user,model=virtio,hostfwd=tcp::42839-:22,hostfwd=tcp::36419-:2376,hostname=minikube -daemonize /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:45:59.840672 22675 main.go:141] libmachine: STDOUT:
I0918 16:45:59.840684 22675 main.go:141] libmachine: STDERR: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied

I0918 16:45:59.840794 22675 client.go:171] duration metric: took 863.587987ms to LocalClient.Create
I0918 16:46:01.840990 22675 start.go:128] duration metric: took 2.869215503s to createHost
I0918 16:46:01.841009 22675 start.go:83] releasing machines lock for "minikube", held for 2.869893804s
W0918 16:46:01.841034 22675 start.go:714] error starting host: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
I0918 16:46:01.859918 22675 out.go:177] 🔥 Deleting "minikube" in qemu2 ...
W0918 16:46:01.888493 22675 out.go:270] 🤦 StartHost failed, but will try again: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
I0918 16:46:01.888576 22675 start.go:729] Will try again in 5 seconds ...
I0918 16:46:06.889227 22675 start.go:360] acquireMachinesLock for minikube: {Name:mk00aedb1b9e3fba046bbc6f5ba019a836089e26 Clock:{} Delay:500ms Timeout:13m0s Cancel:}
I0918 16:46:06.889470 22675 start.go:364] duration metric: took 145.641µs to acquireMachinesLock for "minikube"
I0918 16:46:06.889507 22675 start.go:93] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-amd64.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:2200 CPUs:2 DiskSize:20000 Driver:qemu2 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:8443 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.31.0 ClusterName:minikube Namespace:default APIServerHAVIP: 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:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:builtin Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/developer:/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 GPUs: AutoPauseInterval:1m0s} &{Name: IP: Port:8443 KubernetesVersion:v1.31.0 ContainerRuntime:docker ControlPlane:true Worker:true}
I0918 16:46:06.889594 22675 start.go:125] createHost starting for "" (driver="qemu2")
I0918 16:46:06.893955 22675 out.go:235] 🔥 Creating qemu2 VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
I0918 16:46:06.894187 22675 start.go:159] libmachine.API.Create for "minikube" (driver="qemu2")
I0918 16:46:06.894228 22675 client.go:168] LocalClient.Create starting
I0918 16:46:06.894318 22675 main.go:141] libmachine: Reading certificate data from /home/developer/.minikube/certs/ca.pem
I0918 16:46:06.894372 22675 main.go:141] libmachine: Decoding PEM data...
I0918 16:46:06.894388 22675 main.go:141] libmachine: Parsing certificate...
I0918 16:46:06.894444 22675 main.go:141] libmachine: Reading certificate data from /home/developer/.minikube/certs/cert.pem
I0918 16:46:06.894462 22675 main.go:141] libmachine: Decoding PEM data...
I0918 16:46:06.894470 22675 main.go:141] libmachine: Parsing certificate...
I0918 16:46:06.894743 22675 main.go:141] libmachine: port range: 0 -> 65535
I0918 16:46:06.894887 22675 main.go:141] libmachine: Downloading /home/developer/.minikube/cache/boot2docker.iso from file:///home/developer/.minikube/cache/iso/amd64/minikube-v1.34.0-amd64.iso...
I0918 16:46:07.111492 22675 main.go:141] libmachine: Creating SSH key...
I0918 16:46:07.328569 22675 main.go:141] libmachine: Creating Disk image...
I0918 16:46:07.328580 22675 main.go:141] libmachine: Creating 20000 MB hard disk image...
I0918 16:46:07.328712 22675 main.go:141] libmachine: executing: qemu-img convert -f raw -O qcow2 /home/developer/.minikube/machines/minikube/disk.qcow2.raw /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:46:07.343747 22675 main.go:141] libmachine: STDOUT:
I0918 16:46:07.343755 22675 main.go:141] libmachine: STDERR:
I0918 16:46:07.343789 22675 main.go:141] libmachine: executing: qemu-img resize /home/developer/.minikube/machines/minikube/disk.qcow2 +20000M
I0918 16:46:07.356500 22675 main.go:141] libmachine: STDOUT: Image resized.

I0918 16:46:07.356507 22675 main.go:141] libmachine: STDERR:
I0918 16:46:07.356515 22675 main.go:141] libmachine: DONE writing to /home/developer/.minikube/machines/minikube/disk.qcow2.raw and /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:46:07.356518 22675 main.go:141] libmachine: Starting QEMU VM...
I0918 16:46:07.356529 22675 qemu.go:418] Using kvm for hardware acceleration
I0918 16:46:07.356620 22675 main.go:141] libmachine: executing: qemu-system-x86_64 -cpu max -display none -accel kvm -m 2200 -smp 2 -boot d -cdrom /home/developer/.minikube/machines/minikube/boot2docker.iso -qmp unix:/home/developer/.minikube/machines/minikube/monitor,server,nowait -pidfile /home/developer/.minikube/machines/minikube/qemu.pid -nic user,model=virtio,hostfwd=tcp::43727-:22,hostfwd=tcp::34459-:2376,hostname=minikube -daemonize /home/developer/.minikube/machines/minikube/disk.qcow2
I0918 16:46:07.372540 22675 main.go:141] libmachine: STDOUT:
I0918 16:46:07.372552 22675 main.go:141] libmachine: STDERR: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied

I0918 16:46:07.372628 22675 client.go:171] duration metric: took 478.394965ms to LocalClient.Create
I0918 16:46:09.373333 22675 start.go:128] duration metric: took 2.4837064s to createHost
I0918 16:46:09.373368 22675 start.go:83] releasing machines lock for "minikube", held for 2.483889657s
W0918 16:46:09.373522 22675 out.go:270] 😿 Failed to start qemu2 VM. Running "minikube delete" may fix it: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
I0918 16:46:09.379300 22675 out.go:201]
W0918 16:46:09.382853 22675 out.go:270] ❌ Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: creating host: create: creating: Could not access KVM kernel module: Permission denied
qemu-system-x86_64: -accel kvm: failed to initialize kvm: Permission denied: exit status 1
W0918 16:46:09.382903 22675 out.go:270]
W0918 16:46:09.383751 22675 out.go:293] ╭───────────────────────────────────────────────────────────────────────────────────────────╮


│ 😿 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. │


╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0918 16:46:09.387837 22675 out.go:201]

Operating System

Windows

Driver

VirtualBox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant