kubernetes / minikube

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

failed to create vm using kvm2 driver #14766

Closed armittal89 closed 1 year ago

armittal89 commented 2 years ago

What Happened?

I had minikube cluster running before on my machine but due to some issue, I had to cleanup the cluster.

Next time when I ran minikube start --driver=kvm2 --alsologtostderr -v=99

The minikube vm did not start. I tried minikube delete and started few times but nothing helped.

I0808 20:02:49.677123 207157 out.go:298] Setting OutFile to fd 1 ... I0808 20:02:49.677281 207157 out.go:350] isatty.IsTerminal(1) = true I0808 20:02:49.677291 207157 out.go:311] Setting ErrFile to fd 2... I0808 20:02:49.677301 207157 out.go:350] isatty.IsTerminal(2) = true I0808 20:02:49.677389 207157 root.go:313] Updating PATH: /home/arun/.minikube/bin I0808 20:02:49.677656 207157 out.go:305] Setting JSON to false I0808 20:02:49.697941 207157 start.go:111] hostinfo: {"hostname":"arun-XPS-15-9530","uptime":1207590,"bootTime":1658806579,"procs":360,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"20.04","kernelVersion":"5.8.0-36-generic","kernelArch":"x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostId":"09540aa8-4c76-4033-9348-687b77e83c09"} I0808 20:02:49.698079 207157 start.go:121] virtualization: kvm host I0808 20:02:49.705659 207157 out.go:177] ๐Ÿ˜„ minikube v1.23.1 on Ubuntu 20.04 ๐Ÿ˜„ minikube v1.23.1 on Ubuntu 20.04 I0808 20:02:49.705897 207157 notify.go:169] Checking for updates... I0808 20:02:49.706023 207157 driver.go:343] Setting default libvirt URI to qemu:///system I0808 20:02:49.746896 207157 out.go:177] โœจ Using the kvm2 driver based on user configuration โœจ Using the kvm2 driver based on user configuration I0808 20:02:49.746939 207157 start.go:278] selected driver: kvm2 I0808 20:02:49.746959 207157 start.go:751] validating driver "kvm2" against I0808 20:02:49.746984 207157 start.go:762] status for kvm2: {Installed:true Healthy:true Running:true NeedsImprovement:false Error: Reason: Fix: Doc:} I0808 20:02:49.747458 207157 install.go:52] acquiring lock: {Name:mk900956b073697a4aa6c80a27c6bb0742a99a53 Clock:{} Delay:500ms Timeout:10m0s Cancel:} I0808 20:02:49.747634 207157 install.go:117] Validating docker-machine-driver-kvm2, PATH=/home/arun/.minikube/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin I0808 20:02:49.763331 207157 install.go:137] /home/arun/.minikube/bin/docker-machine-driver-kvm2 version is 1.23.1 I0808 20:02:49.763381 207157 start_flags.go:264] no existing cluster config was found, will generate one from the flags I0808 20:02:49.764005 207157 start_flags.go:719] Wait components to verify : map[apiserver:true system_pods:true] I0808 20:02:49.764026 207157 cni.go:93] Creating CNI manager for "" I0808 20:02:49.764038 207157 cni.go:167] CNI unnecessary in this configuration, recommending no CNI I0808 20:02:49.764046 207157 start_flags.go:278] config: {Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de Memory:8000 CPUs:4 DiskSize:300000 VMDriver: Driver:kvm2 HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 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.22.1 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0} I0808 20:02:49.764128 207157 iso.go:123] acquiring lock: {Name:mk769be5ae2c6f08b34a9b58c507fda16abff0d9 Clock:{} Delay:500ms Timeout:10m0s Cancel:} I0808 20:02:49.772378 207157 out.go:177] ๐Ÿ‘ Starting control plane node minikube in cluster minikube ๐Ÿ‘ Starting control plane node minikube in cluster minikube I0808 20:02:49.772399 207157 preload.go:131] Checking if preload exists for k8s version v1.22.1 and runtime docker I0808 20:02:49.772422 207157 preload.go:147] Found local preload: /home/arun/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v13-v1.22.1-docker-overlay2-amd64.tar.lz4 I0808 20:02:49.772430 207157 cache.go:57] Caching tarball of preloaded images I0808 20:02:49.772526 207157 preload.go:173] Found /home/arun/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v13-v1.22.1-docker-overlay2-amd64.tar.lz4 in cache, skipping download I0808 20:02:49.772548 207157 cache.go:60] Finished verifying existence of preloaded tar for v1.22.1 on docker I0808 20:02:49.772815 207157 profile.go:148] Saving config to /home/arun/.minikube/profiles/minikube/config.json ... I0808 20:02:49.772838 207157 lock.go:36] WriteFile acquiring /home/arun/.minikube/profiles/minikube/config.json: {Name:mk0c236b2153d6158d702c8363467ba05a707d1f Clock:{} Delay:500ms Timeout:1m0s Cancel:} I0808 20:02:49.772950 207157 cache.go:206] Successfully downloaded all kic artifacts I0808 20:02:49.772976 207157 start.go:313] acquiring machines lock for minikube: {Name:mk719a3b36cd1e3f1e398da540291fc58683b42a Clock:{} Delay:500ms Timeout:13m0s Cancel:} I0808 20:02:49.773026 207157 start.go:317] acquired machines lock for "minikube" in 36.8ยตs I0808 20:02:49.773042 207157 start.go:89] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.23.1.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de Memory:8000 CPUs:4 DiskSize:300000 VMDriver: Driver:kvm2 HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 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.22.1 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.22.1 ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0} &{Name: IP: Port:8443 KubernetesVersion:v1.22.1 ControlPlane:true Worker:true} I0808 20:02:49.773103 207157 start.go:126] createHost starting for "" (driver="kvm2") I0808 20:02:49.777502 207157 out.go:204] ๐Ÿ”ฅ Creating kvm2 VM (CPUs=4, Memory=8000MB, Disk=300000MB) ... ๐Ÿ”ฅ Creating kvm2 VM (CPUs=4, Memory=8000MB, Disk=300000MB) ...| I0808 20:02:49.777663 207157 main.go:130] libmachine: Found binary path at /home/arun/.minikube/bin/docker-machine-driver-kvm2 I0808 20:02:49.777711 207157 main.go:130] libmachine: Launching plugin server for driver kvm2 I0808 20:02:49.794143 207157 main.go:130] libmachine: Plugin server listening at address 127.0.0.1:34585 I0808 20:02:49.794480 207157 main.go:130] libmachine: () Calling .GetVersion I0808 20:02:49.795042 207157 main.go:130] libmachine: Using API Version 1 I0808 20:02:49.795064 207157 main.go:130] libmachine: () Calling .SetConfigRaw I0808 20:02:49.795375 207157 main.go:130] libmachine: () Calling .GetMachineName I0808 20:02:49.795528 207157 main.go:130] libmachine: (minikube) Calling .GetMachineName I0808 20:02:49.795655 207157 main.go:130] libmachine: (minikube) Calling .DriverName I0808 20:02:49.795794 207157 start.go:160] libmachine.API.Create for "minikube" (driver="kvm2") I0808 20:02:49.795823 207157 client.go:168] LocalClient.Create starting I0808 20:02:49.795849 207157 main.go:130] libmachine: Reading certificate data from /home/arun/.minikube/certs/ca.pem I0808 20:02:49.795894 207157 main.go:130] libmachine: Decoding PEM data... I0808 20:02:49.795915 207157 main.go:130] libmachine: Parsing certificate... I0808 20:02:49.795986 207157 main.go:130] libmachine: Reading certificate data from /home/arun/.minikube/certs/cert.pem I0808 20:02:49.796016 207157 main.go:130] libmachine: Decoding PEM data... I0808 20:02:49.796032 207157 main.go:130] libmachine: Parsing certificate... I0808 20:02:49.796054 207157 main.go:130] libmachine: Running pre-create checks... I0808 20:02:49.796066 207157 main.go:130] libmachine: (minikube) Calling .PreCreateCheck I0808 20:02:49.796379 207157 main.go:130] libmachine: (minikube) Calling .GetConfigRaw I0808 20:02:49.796716 207157 main.go:130] libmachine: Creating machine... I0808 20:02:49.796756 207157 main.go:130] libmachine: (minikube) Calling .Create I0808 20:02:49.796872 207157 main.go:130] libmachine: (minikube) Creating KVM machine... I0808 20:02:49.797802 207157 main.go:130] libmachine: (minikube) DBG | found existing default KVM network I0808 20:02:49.798559 207157 main.go:130] libmachine: (minikube) DBG | I0808 20:02:49.798421 207178 network.go:288] reserving subnet 192.168.39.0 for 1m0s: &{mu:{state:0 sema:0} read:{v:{m:map[] amended:true}} dirty:map[192.168.39.0:0xc000010840] misses:0} I0808 20:02:49.798596 207157 main.go:130] libmachine: (minikube) DBG | I0808 20:02:49.798527 207178 network.go:235] using free private subnet 192.168.39.0/24: &{IP:192.168.39.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.39.0/24 Gateway:192.168.39.1 ClientMin:192.168.39.2 ClientMax:192.168.39.254 Broadcast:192.168.39.255 Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:}} I0808 20:02:49.808334 207157 main.go:130] libmachine: (minikube) DBG | trying to create private KVM network mk-minikube 192.168.39.0/24... / I0808 20:02:49.889176 207157 main.go:130] libmachine: (minikube) DBG | private KVM network mk-minikube 192.168.39.0/24 created I0808 20:02:49.889213 207157 main.go:130] libmachine: (minikube) Setting up store path in /home/arun/.minikube/machines/minikube ... I0808 20:02:49.889232 207157 main.go:130] libmachine: (minikube) Building disk image from file:///home/arun/.minikube/cache/iso/minikube-v1.23.1.iso I0808 20:02:49.889248 207157 main.go:130] libmachine: (minikube) DBG | I0808 20:02:49.889155 207178 common.go:108] Making disk image using store path: /home/arun/.minikube I0808 20:02:49.889277 207157 main.go:130] libmachine: (minikube) Downloading /home/arun/.minikube/cache/boot2docker.iso from file:///home/arun/.minikube/cache/iso/minikube-v1.23.1.iso...

๐Ÿ”ฅ Deleting "minikube" in kvm2 ... I0808 20:02:52.208915 207157 main.go:130] libmachine: (minikube) Calling .Remove I0808 20:02:52.209077 207157 main.go:130] libmachine: (minikube) DBG | Removing machine... I0808 20:02:52.209932 207157 main.go:130] libmachine: (minikube) DBG | Trying to delete the networks (if possible) I0808 20:02:52.210865 207157 main.go:130] libmachine: (minikube) DBG | Checking if network mk-minikube exists... I0808 20:02:52.211105 207157 main.go:130] libmachine: (minikube) DBG | Network mk-minikube exists I0808 20:02:52.211162 207157 main.go:130] libmachine: (minikube) DBG | Trying to list all domains... I0808 20:02:52.211325 207157 main.go:130] libmachine: (minikube) DBG | Listed all domains: total of 1 domains I0808 20:02:52.211365 207157 main.go:130] libmachine: (minikube) DBG | Trying to get name of domain... I0808 20:02:52.211406 207157 main.go:130] libmachine: (minikube) DBG | Got domain name: minikube I0808 20:02:52.211430 207157 main.go:130] libmachine: (minikube) DBG | Skipping domain as it is us... I0808 20:02:52.211447 207157 main.go:130] libmachine: (minikube) DBG | Trying to delete network mk-minikube... I0808 20:02:52.211690 207157 main.go:130] libmachine: (minikube) DBG | Destroying active network mk-minikube I0808 20:02:52.453120 207157 main.go:130] libmachine: (minikube) DBG | Undefining inactive network mk-minikube I0808 20:02:52.454028 207157 main.go:130] libmachine: (minikube) DBG | Network mk-minikube deleted I0808 20:02:52.454101 207157 main.go:130] libmachine: (minikube) Successfully deleted networks I0808 20:02:52.454133 207157 main.go:130] libmachine: (minikube) DBG | Checking if the domain needs to be deleted I0808 20:02:52.454519 207157 main.go:130] libmachine: (minikube) Domain minikube exists, removing... I0808 20:02:52.454868 207157 main.go:130] libmachine: (minikube) Domain minikube already destroyed, skipping... I0808 20:02:52.455821 207157 main.go:130] libmachine: (minikube) Removing static IP address... I0808 20:02:52.455909 207157 main.go:130] libmachine: (minikube) DBG | skip deleting static IP from network mk-minikube - couldn't find host DHCP lease matching {name: "", mac: "", ip: ""} I0808 20:02:52.455955 207157 main.go:130] libmachine: (minikube) Removed static IP address W0808 20:02:52.489039 207157 out.go:242] ๐Ÿคฆ StartHost failed, but will try again: creating host: create: Error creating machine: Error in driver during machine creation: error creating VM: virError(Code=70, Domain=34, Message='Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /etc/libvirt/hooks/qemu minikube prepare begin -) unexpected exit status 1') ๐Ÿคฆ StartHost failed, but will try again: creating host: create: Error creating machine: Error in driver during machine creation: error creating VM: virError(Code=70, Domain=34, Message='Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /etc/libvirt/hooks/qemu minikube prepare begin -) unexpected exit status 1') I0808 20:02:52.489065 207157 start.go:537] Will try again in 5 seconds ... I0808 20:02:57.489986 207157 start.go:313] acquiring machines lock for minikube: {Name:mk719a3b36cd1e3f1e398da540291fc58683b42a Clock:{} Delay:500ms Timeout:13m0s Cancel:} I0808 20:02:57.490260 207157 start.go:317] acquired machines lock for "minikube" in 169.369ยตs I0808 20:02:57.490325 207157 start.go:89] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.23.1.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de Memory:8000 CPUs:4 DiskSize:300000 VMDriver: Driver:kvm2 HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 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.22.1 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.22.1 ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0} &{Name: IP: Port:8443 KubernetesVersion:v1.22.1 ControlPlane:true Worker:true} I0808 20:02:57.490475 207157 start.go:126] createHost starting for "" (driver="kvm2") I0808 20:02:57.499010 207157 out.go:204] ๐Ÿ”ฅ Creating kvm2 VM (CPUs=4, Memory=8000MB, Disk=300000MB) ... ๐Ÿ”ฅ Creating kvm2 VM (CPUs=4, Memory=8000MB, Disk=300000MB) ...I0808 20:02:57.499182 207157 main.go:130] libmachine: Found binary path at /home/arun/.minikube/bin/docker-machine-driver-kvm2 | I0808 20:02:57.499255 207157 main.go:130] libmachine: Launching plugin server for driver kvm2 I0808 20:02:57.517333 207157 main.go:130] libmachine: Plugin server listening at address 127.0.0.1:34213 I0808 20:02:57.517639 207157 main.go:130] libmachine: () Calling .GetVersion I0808 20:02:57.517996 207157 main.go:130] libmachine: Using API Version 1 I0808 20:02:57.518016 207157 main.go:130] libmachine: () Calling .SetConfigRaw I0808 20:02:57.518257 207157 main.go:130] libmachine: () Calling .GetMachineName I0808 20:02:57.518416 207157 main.go:130] libmachine: (minikube) Calling .GetMachineName I0808 20:02:57.518562 207157 main.go:130] libmachine: (minikube) Calling .DriverName I0808 20:02:57.518722 207157 start.go:160] libmachine.API.Create for "minikube" (driver="kvm2") I0808 20:02:57.518756 207157 client.go:168] LocalClient.Create starting I0808 20:02:57.518795 207157 main.go:130] libmachine: Reading certificate data from /home/arun/.minikube/certs/ca.pem I0808 20:02:57.518833 207157 main.go:130] libmachine: Decoding PEM data... I0808 20:02:57.518865 207157 main.go:130] libmachine: Parsing certificate... I0808 20:02:57.518936 207157 main.go:130] libmachine: Reading certificate data from /home/arun/.minikube/certs/cert.pem I0808 20:02:57.518966 207157 main.go:130] libmachine: Decoding PEM data... I0808 20:02:57.518990 207157 main.go:130] libmachine: Parsing certificate... I0808 20:02:57.519023 207157 main.go:130] libmachine: Running pre-create checks... I0808 20:02:57.519039 207157 main.go:130] libmachine: (minikube) Calling .PreCreateCheck I0808 20:02:57.519195 207157 main.go:130] libmachine: (minikube) Calling .GetConfigRaw I0808 20:02:57.519552 207157 main.go:130] libmachine: Creating machine... I0808 20:02:57.519571 207157 main.go:130] libmachine: (minikube) Calling .Create I0808 20:02:57.519703 207157 main.go:130] libmachine: (minikube) Creating KVM machine... I0808 20:02:57.520692 207157 main.go:130] libmachine: (minikube) DBG | found existing default KVM network I0808 20:02:57.521440 207157 main.go:130] libmachine: (minikube) DBG | I0808 20:02:57.521296 207462 network.go:288] reserving subnet 192.168.39.0 for 1m0s: &{mu:{state:0 sema:0} read:{v:{m:map[] amended:true}} dirty:map[192.168.39.0:0xc0001905f0] misses:0} I0808 20:02:57.521489 207157 main.go:130] libmachine: (minikube) DBG | I0808 20:02:57.521403 207462 network.go:235] using free private subnet 192.168.39.0/24: &{IP:192.168.39.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.39.0/24 Gateway:192.168.39.1 ClientMin:192.168.39.2 ClientMax:192.168.39.254 Broadcast:192.168.39.255 Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:}} I0808 20:02:57.529926 207157 main.go:130] libmachine: (minikube) DBG | trying to create private KVM network mk-minikube 192.168.39.0/24... / I0808 20:02:57.608950 207157 main.go:130] libmachine: (minikube) DBG | private KVM network mk-minikube 192.168.39.0/24 created I0808 20:02:57.608984 207157 main.go:130] libmachine: (minikube) DBG | I0808 20:02:57.608924 207462 common.go:108] Making disk image using store path: /home/arun/.minikube I0808 20:02:57.608998 207157 main.go:130] libmachine: (minikube) Setting up store path in /home/arun/.minikube/machines/minikube ... I0808 20:02:57.609013 207157 main.go:130] libmachine: (minikube) Building disk image from file:///home/arun/.minikube/cache/iso/minikube-v1.23.1.iso I0808 20:02:57.609036 207157 main.go:130] libmachine: (minikube) Downloading /home/arun/.minikube/cache/boot2docker.iso from file:///home/arun/.minikube/cache/iso/minikube-v1.23.1.iso...

๐Ÿ˜ฟ Failed to start kvm2 VM. Running "minikube delete" may fix it: creating host: create: Error creating machine: Error in driver during machine creation: error creating VM: virError(Code=70, Domain=34, Message='Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /etc/libvirt/hooks/qemu minikube prepare begin -) unexpected exit status 1') I0808 20:03:00.553269 207157 out.go:177]

W0808 20:03:00.553475 207157 out.go:242] โŒ Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: Error creating machine: Error in driver during machine creation: error creating VM: virError(Code=70, Domain=34, Message='Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /etc/libvirt/hooks/qemu minikube prepare begin -) unexpected exit status 1') โŒ Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: Error creating machine: Error in driver during machine creation: error creating VM: virError(Code=70, Domain=34, Message='Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /etc/libvirt/hooks/qemu minikube prepare begin -) unexpected exit status 1') W0808 20:03:00.553505 207157 out.go:242]

Attach the log file

Because my minikube vm is not running, I get following error

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

Operating System

Ubuntu

Driver

KVM2

armittal89 commented 2 years ago

minikube version minikube version: v1.23.1 commit: 84d52cd81015effbdd40c632d9de13db91d48d43

virsh -c qemu:///system list --all Id Name State

virsh net-list Name State Autostart Persistent

default active yes yes mk-minikube active yes yes

RA489 commented 2 years ago

/kind support

armittal89 commented 2 years ago

Hi

I will really appreciate if someone can help with this.

Thank you!

klaases commented 2 years ago

Hi @armittal89, are you still experiencing this issue?

Why not run minikube delete --all to see if that helps? It sounds like things are working intermittently, maybe deleting the existing profiles will help bring a more consistent experience.

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

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

$ minikube logs --file=logs.txt

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

/triage needs-information

armittal89 commented 2 years ago

logs.txt

@klaases Thank you for your response. I have tried everything but it just does not work. Please see attached log file.

k8s-triage-robot commented 1 year ago

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

This bot triages issues and PRs according to the following rules:

You can:

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

/lifecycle stale

k8s-triage-robot commented 1 year ago

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

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 1 year ago

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

This bot triages issues according to the following rules:

You can:

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

/close not-planned

k8s-ci-robot commented 1 year ago

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

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