podman-desktop / extension-minikube

Apache License 2.0
3 stars 9 forks source link

Sometime cannot create Minikube cluster with Error downloading kic artifacts #28

Open odockal opened 9 months ago

odockal commented 9 months ago

This is a placeholder for an issue filled in kubernetes/minikube repo.

Old reproducer: I would like to add steps to reproduce here: I managed to reproduce an issue with PD 1.7.0 with installed minikube extension (0.3.0-next) and with podman machine that got --rootful and --user-mode-networking flags.

New reproducer: Pure instability. If this error appears when creating minikube cluster via PD:

Error: Failed to create minikube cluster. E0125 05:58:08.614734 408 cache.go:189] Error downloading kic artifacts: not yet implemented, see issue https://github.com/kubernetes/minikube/issues/8426 ! StartHost failed, but will try again: driver start: start: podman start 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: podman start minikube: exit status 125 stdout: stderr: Error: no container with name or ID "minikube" found: no such container X Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: driver start: start: podman start minikube: exit status 125 stdout: stderr: Error: no container with name or ID "minikube" found: no such container * ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ * 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. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯

then one is not able to create cluster via PD anymore. Possible helper in this situation can be: go to cli:

minikube delete

Try again in PD. If did not help, try:

minikube delete
minikube config set rootless true

Start again.

rostalan commented 6 months ago

Reproduced on fedora 40 with PD 1.10.0 and podman 5.0.1