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

Minikube doesn't start with wsl2/podman/cri-o #20040

Open
blueberrycarrot opened this issue Dec 3, 2024 · 4 comments
Open

Minikube doesn't start with wsl2/podman/cri-o #20040

blueberrycarrot opened this issue Dec 3, 2024 · 4 comments

Comments

@blueberrycarrot
Copy link

What Happened?

$ uname -a
Linux [...] 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 GNU/Linux

$ cat /mnt/c/Users/user/.wslconfig
[wsl2]
memory=32GB
debugConsole=false
kernelCommandLine=cgroup_no_v1=all
defaultVhdSize=500G
networkingMode=mirrored
dnsTunneling=true

$ podman version
Client:       Podman Engine
Version:      5.3.1
API Version:  5.3.1
Go Version:   go1.23.3
Built:        Mon Nov 25 17:26:43 2024
OS/Arch:      linux/amd64

$ ./minikube-1.34.0 start --driver=podman --container-runtime=cri-o --alsologtostderr -v=7
I1203 15:03:21.070504    3477 out.go:345] Setting OutFile to fd 1 ...
I1203 15:03:21.070604    3477 out.go:358] Setting ErrFile to fd 2...
I1203 15:03:21.070726    3477 root.go:338] Updating PATH: /home/user/.minikube/bin
I1203 15:03:21.071270    3477 out.go:352] Setting JSON to false
I1203 15:03:21.082154    3477 start.go:129] hostinfo: {"hostname":"hostname","uptime":822,"bootTime":1733233779,"procs":36,"os":"linux","platform":"debian","platformFamily":"debian","platformVersion":"trixie/sid","kernelVersion":"5.15.167.4-microsoft-standard-WSL2","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"guest","hostId":"f03ae2fe-3711-4aa2-b3b3-f1c681f21826"}
I1203 15:03:21.082204    3477 start.go:139] virtualization:  guest
I1203 15:03:21.084285    3477 out.go:177] 😄  minikube v1.34.0 on Debian trixie/sid (amd64)
😄  minikube v1.34.0 on Debian trixie/sid (amd64)
I1203 15:03:21.085948    3477 out.go:177]     Γû¬ MINIKUBE_DRIVER=podman
    Γû¬ MINIKUBE_DRIVER=podman
I1203 15:03:21.086083    3477 notify.go:220] Checking for updates...
I1203 15:03:21.087571    3477 driver.go:394] Setting default libvirt URI to qemu:///system
I1203 15:03:21.329785    3477 podman.go:123] podman version: 5.3.1
I1203 15:03:21.331639    3477 out.go:177] ✨  Using the podman driver based on user configuration
✨  Using the podman driver based on user configuration
I1203 15:03:21.333033    3477 start.go:297] selected driver: podman
I1203 15:03:21.333043    3477 start.go:901] validating driver "podman" against <nil>
I1203 15:03:21.333052    3477 start.go:912] status for podman: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc: Version:}
I1203 15:03:21.333114    3477 cli_runner.go:164] Run: sudo -n podman system info --format json
I1203 15:03:21.767420    3477 info.go:288] podman info: {Host:{BuildahVersion:1.38.0 CgroupVersion:v2 Conmon:{Package:conmon_2.1.6+ds1-1_amd64 Path:/usr/bin/conmon Version:conmon version 2.1.6, commit: unknown} Distribution:{Distribution:debian Version:unknown} MemFree:32577363968 MemTotal:33659621376 OCIRuntime:{Name:crun Package:crun_1.8.1-1+deb12u1_amd64 Path:/usr/bin/crun Version:crun version 1.8.1
commit: f8a096be060b22ccd3d5f3ebe44108517fbf6c30
rundir: /run/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL} SwapFree:8589934592 SwapTotal:8589934592 Arch:amd64 Cpus:16 Eventlogger:journald Hostname:hostname Kernel:5.15.167.4-microsoft-standard-WSL2 Os:linux Security:{Rootless:false} Uptime:0h 14m 42.00s} Registries:{Search:[]} Store:{ConfigFile:/usr/share/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:2} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1203 15:03:21.767506    3477 start_flags.go:310] no existing cluster config was found, will generate one from the flags 
I1203 15:03:21.768021    3477 start_flags.go:393] Using suggested 8000MB memory alloc based on sys=32100MB, container=32100MB
I1203 15:03:21.768101    3477 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I1203 15:03:21.770667    3477 out.go:177] 📌  Using Podman driver with root privileges
📌  Using Podman driver with root privileges
I1203 15:03:21.772248    3477 cni.go:84] Creating CNI manager for ""
I1203 15:03:21.772263    3477 cni.go:143] "podman" driver + "crio" runtime found, recommending kindnet
I1203 15:03:21.772286    3477 start_flags.go:319] Found "CNI" CNI - setting NetworkPlugin=cni
I1203 15:03:21.772323    3477 start.go:340] cluster config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:8000 CPUs:2 DiskSize:20000 Driver:podman 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:crio 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:crio ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/user:/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}
I1203 15:03:21.773981    3477 out.go:177] 👍  Starting "minikube" primary control-plane node in "minikube" cluster
👍  Starting "minikube" primary control-plane node in "minikube" cluster
I1203 15:03:21.775337    3477 cache.go:121] Beginning downloading kic base image for podman with crio
I1203 15:03:21.776700    3477 out.go:177] 🚜  Pulling base image v0.0.45 ...
🚜  Pulling base image v0.0.45 ...
I1203 15:03:21.777986    3477 preload.go:131] Checking if preload exists for k8s version v1.31.0 and runtime crio
I1203 15:03:21.778003    3477 preload.go:146] Found local preload: /home/user/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.31.0-cri-o-overlay-amd64.tar.lz4
I1203 15:03:21.778008    3477 cache.go:56] Caching tarball of preloaded images
I1203 15:03:21.778039    3477 cache.go:149] Downloading gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 to local cache
I1203 15:03:21.778058    3477 preload.go:172] Found /home/user/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.31.0-cri-o-overlay-amd64.tar.lz4 in cache, skipping download
I1203 15:03:21.778064    3477 cache.go:59] Finished verifying existence of preloaded tar for v1.31.0 on crio
I1203 15:03:21.778114    3477 image.go:63] Checking for gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 in local cache directory
I1203 15:03:21.778124    3477 image.go:66] Found gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 in local cache directory, skipping pull
I1203 15:03:21.778128    3477 image.go:135] gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 exists in cache, skipping pull
I1203 15:03:21.778133    3477 cache.go:152] successfully saved gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 as a tarball
I1203 15:03:21.778242    3477 profile.go:143] Saving config to /home/user/.minikube/profiles/minikube/config.json ...
I1203 15:03:21.778253    3477 lock.go:35] WriteFile acquiring /home/user/.minikube/profiles/minikube/config.json: {Name:mk6327333169e91a1071710da22e1494715b6bb7 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
E1203 15:03:21.778321    3477 cache.go:189] Error downloading kic artifacts:  not yet implemented, see issue #8426
I1203 15:03:21.778325    3477 cache.go:194] Successfully downloaded all kic artifacts
I1203 15:03:21.778339    3477 start.go:360] acquireMachinesLock for minikube: {Name:mk648109fbde03481b35c47ade82f19f0f69ee02 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1203 15:03:21.778366    3477 start.go:364] duration metric: took 21.694┬╡s to acquireMachinesLock for "minikube"
I1203 15:03:21.778375    3477 start.go:93] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 Memory:8000 CPUs:2 DiskSize:20000 Driver:podman 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:crio 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:crio ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/user:/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:crio ControlPlane:true Worker:true}
I1203 15:03:21.778404    3477 start.go:125] createHost starting for "" (driver="podman")
I1203 15:03:21.781003    3477 out.go:235] 🔥  Creating podman container (CPUs=2, Memory=8000MB) ...
🔥  Creating podman container (CPUs=2, Memory=8000MB) ...
I1203 15:03:21.781115    3477 start.go:159] libmachine.API.Create for "minikube" (driver="podman")
I1203 15:03:21.781149    3477 client.go:168] LocalClient.Create starting
I1203 15:03:21.781191    3477 main.go:141] libmachine: Reading certificate data from /home/user/.minikube/certs/ca.pem
I1203 15:03:21.781471    3477 main.go:141] libmachine: Decoding PEM data...
I1203 15:03:21.781483    3477 main.go:141] libmachine: Parsing certificate...
I1203 15:03:21.781722    3477 main.go:141] libmachine: Reading certificate data from /home/user/.minikube/certs/cert.pem
I1203 15:03:21.781858    3477 main.go:141] libmachine: Decoding PEM data...
I1203 15:03:21.781865    3477 main.go:141] libmachine: Parsing certificate...
I1203 15:03:21.782552    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:21.846565    3477 cli_runner.go:164] Run: sudo -n podman network inspect minikube --format "{{range .}}{{if eq .Driver "bridge"}}{{(index .Subnets 0).Subnet}},{{(index .Subnets 0).Gateway}}{{end}}{{end}}"
W1203 15:03:21.911792    3477 cli_runner.go:211] sudo -n podman network inspect minikube --format "{{range .}}{{if eq .Driver "bridge"}}{{(index .Subnets 0).Subnet}},{{(index .Subnets 0).Gateway}}{{end}}{{end}}" returned with exit code 125
I1203 15:03:21.911859    3477 network_create.go:284] running [podman network inspect minikube] to gather additional debugging logs...
I1203 15:03:21.911884    3477 cli_runner.go:164] Run: sudo -n podman network inspect minikube
W1203 15:03:21.978437    3477 cli_runner.go:211] sudo -n podman network inspect minikube returned with exit code 125
I1203 15:03:21.978464    3477 network_create.go:287] error running [sudo -n podman network inspect minikube]: sudo -n podman network inspect minikube: exit status 125
stdout:
[]

stderr:
Error: network minikube: unable to find network with name or ID minikube: network not found
I1203 15:03:21.978474    3477 network_create.go:289] output of [sudo -n podman network inspect minikube]: -- stdout --
[]

-- /stdout --
** stderr ** 
Error: network minikube: unable to find network with name or ID minikube: network not found

** /stderr **
I1203 15:03:21.978521    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:22.043849    3477 cli_runner.go:164] Run: sudo -n podman network inspect podman --format "{{range .}}{{if eq .Driver "bridge"}}{{(index .Subnets 0).Subnet}},{{(index .Subnets 0).Gateway}}{{end}}{{end}}"
I1203 15:03:22.184918    3477 network.go:206] using free private subnet 192.168.49.0/24: &{IP:192.168.49.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.49.0/24 Gateway:192.168.49.1 ClientMin:192.168.49.2 ClientMax:192.168.49.254 Broadcast:192.168.49.255 IsPrivate:true Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:} reservation:0xc00178d120}
I1203 15:03:22.184958    3477 network_create.go:124] attempt to create podman network minikube 192.168.49.0/24 with gateway 192.168.49.1 and MTU of 0 ...
I1203 15:03:22.185000    3477 cli_runner.go:164] Run: sudo -n podman network create --driver=bridge --subnet=192.168.49.0/24 --gateway=192.168.49.1 --label=created_by.minikube.sigs.k8s.io=true --label=name.minikube.sigs.k8s.io=minikube minikube
I1203 15:03:22.280252    3477 network_create.go:108] podman network minikube 192.168.49.0/24 created
I1203 15:03:22.280272    3477 kic.go:121] calculated static IP "192.168.49.2" for the "minikube" container
I1203 15:03:22.280332    3477 cli_runner.go:164] Run: sudo -n podman ps -a --format {{.Names}}
I1203 15:03:22.351069    3477 cli_runner.go:164] Run: sudo -n podman volume create minikube --label name.minikube.sigs.k8s.io=minikube --label created_by.minikube.sigs.k8s.io=true
I1203 15:03:22.417670    3477 oci.go:103] Successfully created a podman volume minikube
I1203 15:03:22.417725    3477 cli_runner.go:164] Run: sudo -n podman run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.45 -d /var/lib
W1203 15:03:44.230104    3477 cli_runner.go:211] sudo -n podman run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.45 -d /var/lib returned with exit code 126
I1203 15:03:44.230121    3477 cli_runner.go:217] Completed: sudo -n podman run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.45 -d /var/lib: (21.812359484s)
I1203 15:03:44.230158    3477 client.go:171] duration metric: took 22.44899442s to LocalClient.Create
I1203 15:03:46.230688    3477 ssh_runner.go:195] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I1203 15:03:46.230830    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:46.297493    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:46.357640    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:46.357721    3477 retry.go:31] will retry after 229.472523ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:46.588354    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:46.648919    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:46.706422    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:46.706503    3477 retry.go:31] will retry after 226.23328ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:46.932975    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:47.244978    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:47.264266    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:47.264344    3477 retry.go:31] will retry after 395.579686ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:47.661051    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:47.683265    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:47.701995    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
W1203 15:03:47.702075    3477 start.go:268] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube

W1203 15:03:47.702082    3477 start.go:235] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:47.702118    3477 ssh_runner.go:195] Run: sh -c "df -BG /var | awk 'NR==2{print $4}'"
I1203 15:03:47.702144    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:47.721169    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:47.739268    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:47.739357    3477 retry.go:31] will retry after 322.550501ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:48.063087    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:48.085937    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:48.104597    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:48.104672    3477 retry.go:31] will retry after 392.080366ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:48.497486    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:48.520337    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:48.539540    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:48.539617    3477 retry.go:31] will retry after 739.336268ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:49.279569    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:49.302932    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:49.321509    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
W1203 15:03:49.321612    3477 start.go:283] error running df -BG /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube

W1203 15:03:49.321624    3477 start.go:240] error getting GiB of /var that is available: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:49.321630    3477 start.go:128] duration metric: took 27.543222606s to createHost
I1203 15:03:49.321635    3477 start.go:83] releasing machines lock for "minikube", held for 27.543262963s
W1203 15:03:49.321641    3477 start.go:714] error starting host: creating host: create: creating: setting up container node: preparing volume for minikube container: sudo -n podman run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.45 -d /var/lib: exit status 126
stdout:

stderr:
Trying to pull gcr.io/k8s-minikube/kicbase:v0.0.45...
Getting image source signatures
Copying blob sha256:70b0e931bdc12e184a0f9f3a4f4c2a538b18f5aca18e9cb7484f1dec129309bc
Copying config sha256:aeed0e1d4642008f872cbedd0f6935323c1e533683c40e800e0b01d063d11a3c
Writing manifest to image destination
Error: OCI runtime error: crun: unknown version specified
I1203 15:03:49.321887    3477 cli_runner.go:164] Run: sudo -n podman container inspect minikube --format={{.State.Status}}
W1203 15:03:49.340996    3477 cli_runner.go:211] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 125
I1203 15:03:49.341068    3477 delete.go:82] Unable to get host status for minikube, assuming it has already been deleted: state: unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: no such container minikube
W1203 15:03:49.341129    3477 out.go:270] 🤦  StartHost failed, but will try again: creating host: create: creating: setting up container node: preparing volume for minikube container: sudo -n podman run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.45 -d /var/lib: exit status 126
stdout:

stderr:
Trying to pull gcr.io/k8s-minikube/kicbase:v0.0.45...
Getting image source signatures
Copying blob sha256:70b0e931bdc12e184a0f9f3a4f4c2a538b18f5aca18e9cb7484f1dec129309bc
Copying config sha256:aeed0e1d4642008f872cbedd0f6935323c1e533683c40e800e0b01d063d11a3c
Writing manifest to image destination
Error: OCI runtime error: crun: unknown version specified

🤦  StartHost failed, but will try again: creating host: create: creating: setting up container node: preparing volume for minikube container: sudo -n podman run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.45 -d /var/lib: exit status 126
stdout:

stderr:
Trying to pull gcr.io/k8s-minikube/kicbase:v0.0.45...
Getting image source signatures
Copying blob sha256:70b0e931bdc12e184a0f9f3a4f4c2a538b18f5aca18e9cb7484f1dec129309bc
Copying config sha256:aeed0e1d4642008f872cbedd0f6935323c1e533683c40e800e0b01d063d11a3c
Writing manifest to image destination
Error: OCI runtime error: crun: unknown version specified

I1203 15:03:49.341137    3477 start.go:729] Will try again in 5 seconds ...
I1203 15:03:54.341573    3477 start.go:360] acquireMachinesLock for minikube: {Name:mk648109fbde03481b35c47ade82f19f0f69ee02 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1203 15:03:54.341643    3477 start.go:364] duration metric: took 39.223┬╡s to acquireMachinesLock for "minikube"
I1203 15:03:54.341748    3477 start.go:96] Skipping create...Using existing machine configuration
I1203 15:03:54.341757    3477 fix.go:54] fixHost starting: 
I1203 15:03:54.341895    3477 cli_runner.go:164] Run: sudo -n podman container inspect minikube --format={{.State.Status}}
W1203 15:03:54.366425    3477 cli_runner.go:211] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 125
I1203 15:03:54.366464    3477 fix.go:112] recreateIfNeeded on minikube: state= err=unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:54.366482    3477 fix.go:117] machineExists: true. err=unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: no such container minikube
W1203 15:03:54.366486    3477 fix.go:138] unexpected machine state, will restart: unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:54.378326    3477 out.go:177] 🔄  Restarting existing podman container for "minikube" ...
🔄  Restarting existing podman container for "minikube" ...
I1203 15:03:54.379689    3477 cli_runner.go:164] Run: sudo -n podman start --cgroup-manager cgroupfs minikube
W1203 15:03:54.399373    3477 cli_runner.go:211] sudo -n podman start --cgroup-manager cgroupfs minikube returned with exit code 125
I1203 15:03:54.399433    3477 cli_runner.go:164] Run: sudo -n podman inspect minikube
I1203 15:03:54.419402    3477 errors.go:84] Postmortem inspect ("sudo -n podman inspect minikube"): -- stdout --
[
     {
          "Name": "minikube",
          "Driver": "local",
          "Mountpoint": "/var/lib/containers/storage/volumes/minikube/_data",
          "CreatedAt": "2024-12-03T15:03:22.411097467+01:00",
          "Labels": {
               "created_by.minikube.sigs.k8s.io": "true",
               "name.minikube.sigs.k8s.io": "minikube"
          },
          "Scope": "local",
          "Options": {},
          "MountCount": 0,
          "LockNumber": 0
     }
]

-- /stdout --
I1203 15:03:54.419445    3477 cli_runner.go:164] Run: sudo -n podman logs --timestamps minikube
W1203 15:03:54.438184    3477 cli_runner.go:211] sudo -n podman logs --timestamps minikube returned with exit code 125
W1203 15:03:54.438205    3477 errors.go:89] Failed to get postmortem logs. sudo -n podman logs --timestamps minikube :sudo -n podman logs --timestamps minikube: exit status 125
stdout:

stderr:
Error: no container with name or ID "minikube" found: no such container
I1203 15:03:54.438245    3477 cli_runner.go:164] Run: sudo -n podman system info --format json
I1203 15:03:54.603355    3477 info.go:288] podman info: {Host:{BuildahVersion:1.38.0 CgroupVersion:v2 Conmon:{Package:conmon_2.1.6+ds1-1_amd64 Path:/usr/bin/conmon Version:conmon version 2.1.6, commit: unknown} Distribution:{Distribution:debian Version:unknown} MemFree:31176216576 MemTotal:33659621376 OCIRuntime:{Name:crun Package:crun_1.8.1-1+deb12u1_amd64 Path:/usr/bin/crun Version:crun version 1.8.1
commit: f8a096be060b22ccd3d5f3ebe44108517fbf6c30
rundir: /run/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL} SwapFree:8589934592 SwapTotal:8589934592 Arch:amd64 Cpus:16 Eventlogger:journald Hostname:hostname Kernel:5.15.167.4-microsoft-standard-WSL2 Os:linux Security:{Rootless:false} Uptime:0h 14m 15.00s} Registries:{Search:[]} Store:{ConfigFile:/usr/share/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:3} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1203 15:03:54.603397    3477 errors.go:106] postmortem podman info: {Host:{BuildahVersion:1.38.0 CgroupVersion:v2 Conmon:{Package:conmon_2.1.6+ds1-1_amd64 Path:/usr/bin/conmon Version:conmon version 2.1.6, commit: unknown} Distribution:{Distribution:debian Version:unknown} MemFree:31176216576 MemTotal:33659621376 OCIRuntime:{Name:crun Package:crun_1.8.1-1+deb12u1_amd64 Path:/usr/bin/crun Version:crun version 1.8.1
commit: f8a096be060b22ccd3d5f3ebe44108517fbf6c30
rundir: /run/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL} SwapFree:8589934592 SwapTotal:8589934592 Arch:amd64 Cpus:16 Eventlogger:journald Hostname:hostname Kernel:5.15.167.4-microsoft-standard-WSL2 Os:linux Security:{Rootless:false} Uptime:0h 14m 15.00s} Registries:{Search:[]} Store:{ConfigFile:/usr/share/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:3} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1203 15:03:54.603443    3477 network_create.go:284] running [podman network inspect minikube] to gather additional debugging logs...
I1203 15:03:54.603475    3477 cli_runner.go:164] Run: sudo -n podman network inspect minikube
I1203 15:03:54.634365    3477 network_create.go:289] output of [sudo -n podman network inspect minikube]: -- stdout --
[
     {
          "name": "minikube",
          "id": "3f735a40a38d92bb97a52aa9bbbc9b93798a7223ecf3901d7cb59826e4fcf240",
          "driver": "bridge",
          "network_interface": "podman1",
          "created": "2024-12-03T15:03:22.276911671+01:00",
          "subnets": [
               {
                    "subnet": "192.168.49.0/24",
                    "gateway": "192.168.49.1"
               }
          ],
          "ipv6_enabled": false,
          "internal": false,
          "dns_enabled": true,
          "labels": {
               "created_by.minikube.sigs.k8s.io": "true",
               "name.minikube.sigs.k8s.io": "minikube"
          },
          "ipam_options": {
               "driver": "host-local"
          },
          "containers": {}
     }
]

-- /stdout --
I1203 15:03:54.634421    3477 cli_runner.go:164] Run: sudo -n podman system info --format json
I1203 15:03:54.796019    3477 info.go:288] podman info: {Host:{BuildahVersion:1.38.0 CgroupVersion:v2 Conmon:{Package:conmon_2.1.6+ds1-1_amd64 Path:/usr/bin/conmon Version:conmon version 2.1.6, commit: unknown} Distribution:{Distribution:debian Version:unknown} MemFree:31171862528 MemTotal:33659621376 OCIRuntime:{Name:crun Package:crun_1.8.1-1+deb12u1_amd64 Path:/usr/bin/crun Version:crun version 1.8.1
commit: f8a096be060b22ccd3d5f3ebe44108517fbf6c30
rundir: /run/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL} SwapFree:8589934592 SwapTotal:8589934592 Arch:amd64 Cpus:16 Eventlogger:journald Hostname:hostname Kernel:5.15.167.4-microsoft-standard-WSL2 Os:linux Security:{Rootless:false} Uptime:0h 14m 15.00s} Registries:{Search:[]} Store:{ConfigFile:/usr/share/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:3} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1203 15:03:54.796100    3477 ssh_runner.go:195] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I1203 15:03:54.796130    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:54.815883    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:54.836576    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:54.836664    3477 retry.go:31] will retry after 196.805039ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:55.034087    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:55.054025    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:55.078530    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:55.078637    3477 retry.go:31] will retry after 436.280844ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:55.515297    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:55.538482    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:55.556953    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:55.557035    3477 retry.go:31] will retry after 285.482646ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:55.844025    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:55.870835    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:55.889435    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:55.889513    3477 retry.go:31] will retry after 901.87527ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:56.791640    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:56.826856    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:56.847335    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
W1203 15:03:56.847415    3477 start.go:268] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube

W1203 15:03:56.847423    3477 start.go:235] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:56.847461    3477 ssh_runner.go:195] Run: sh -c "df -BG /var | awk 'NR==2{print $4}'"
I1203 15:03:56.847489    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:56.865812    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:56.884391    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:56.884467    3477 retry.go:31] will retry after 181.747294ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:57.066999    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:57.086489    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:57.107395    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:57.107472    3477 retry.go:31] will retry after 317.539342ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:57.426168    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:57.446897    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:57.466672    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1203 15:03:57.466745    3477 retry.go:31] will retry after 710.282157ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:58.177588    3477 cli_runner.go:164] Run: sudo -n podman version --format {{.Version}}
I1203 15:03:58.200765    3477 cli_runner.go:164] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1203 15:03:58.220429    3477 cli_runner.go:211] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
W1203 15:03:58.220508    3477 start.go:283] error running df -BG /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube

W1203 15:03:58.220517    3477 start.go:240] error getting GiB of /var that is available: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: no such container minikube
I1203 15:03:58.220523    3477 fix.go:56] duration metric: took 3.878766608s for fixHost
I1203 15:03:58.220527    3477 start.go:83] releasing machines lock for "minikube", held for 3.878878549s
W1203 15:03:58.220583    3477 out.go:270] 😿  Failed to start podman container. Running "minikube delete" may fix it: driver start: start: sudo -n podman start --cgroup-manager cgroupfs minikube: exit status 125
stdout:

stderr:
Error: no container with name or ID "minikube" found: no such container

😿  Failed to start podman container. Running "minikube delete" may fix it: driver start: start: sudo -n podman start --cgroup-manager cgroupfs minikube: exit status 125
stdout:

stderr:
Error: no container with name or ID "minikube" found: no such container

I1203 15:03:58.233269    3477 out.go:201] 

W1203 15:03:58.234565    3477 out.go:270] ❌  Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: driver start: start: sudo -n podman start --cgroup-manager cgroupfs minikube: exit status 125
stdout:

stderr:
Error: no container with name or ID "minikube" found: no such container

❌  Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: driver start: start: sudo -n podman start --cgroup-manager cgroupfs minikube: exit status 125
stdout:

stderr:
Error: no container with name or ID "minikube" found: no such container

W1203 15:03:58.234573    3477 out.go:270] 

W1203 15:03:58.235049    3477 out.go:293] �[31mΓò¡ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓò«�[0m
�[31mΓöé�[0m                                                                                           �[31mΓöé�[0m
�[31mΓöé�[0m    ≡ƒÿ┐  If the above advice does not help, please let us know:                             �[31mΓöé�[0m
�[31mΓöé�[0m    ≡ƒæë  https://github.com/kubernetes/minikube/issues/new/choose                           �[31mΓöé�[0m
�[31mΓöé�[0m                                                                                           �[31mΓöé�[0m
�[31mΓöé�[0m    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    �[31mΓöé�[0m
�[31mΓöé�[0m                                                                                           �[31mΓöé�[0m
�[31mΓò░ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓò»�[0m
�[31mΓò¡ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓò«�[0m
�[31mΓöé�[0m                                                                                           �[31mΓöé�[0m
�[31mΓöé�[0m    ≡ƒÿ┐  If the above advice does not help, please let us know:                             �[31mΓöé�[0m
�[31mΓöé�[0m    ≡ƒæë  https://github.com/kubernetes/minikube/issues/new/choose                           �[31mΓöé�[0m
�[31mΓöé�[0m                                                                                           �[31mΓöé�[0m
�[31mΓöé�[0m    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    �[31mΓöé�[0m
�[31mΓöé�[0m                                                                                           �[31mΓöé�[0m
�[31mΓò░ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓò»�[0m
I1203 15:03:58.237013    3477 out.go:201] 

Attach the log file

$ minikube logs --file=log.txt

❌  Exiting due to GUEST_STATUS: Unable to get machine status: state: unknown state "minikube": sudo -n podman container inspect minikube --format=<no value>: exit status 125
stdout:

stderr:
Error: no such container minikube

Operating System

Other

Driver

Podman

@arixmkii
Copy link

arixmkii commented Dec 4, 2024

@blueberrycarrot Did you try both rootful and rootless Podman machine setups? Did it ended in different errors?

Last time I tried minikube on Podman machine I had to use rootful machine.

@kundan2707
Copy link
Contributor

/co podman-driver

@blueberrycarrot
Copy link
Author

blueberrycarrot commented Dec 5, 2024

@arixmkii AFAIU, Podman is only rootful when and whenever it's run via sudo, i.e. under root. Minikube logs show that all podman commands are run via sudo. Brief searching showed that the concept of a "Podman machine" only applies whenever Podman runs in a VM creates and maintains a VM to run containers in, which is not my case as my Podman runs natively in the Linux environment. But I'm not a Podman expert and if I misunderstood you, please correct me.

@arixmkii
Copy link

arixmkii commented Dec 5, 2024

@blueberrycarrot my bad, I assumed the Podman Machine VM with WSL2. If you have your custom setup, then my knowledge probably doesn't apply here. Recap of it would be that for me minikube was working in Podman machine VM only, when I specifically set it into rootful. Hope it will be helpful for someone else still.

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

3 participants