-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 start after previous delete fails with "network ... is already being used by a cni configuration" #10379
Comments
@adamish try running |
@BLasan i have same problem. Cluster seems to work correctly. Steps to reproduce the issue:
Full output of failed command: Full output of stderr: β Unable to create dedicated network, this might result in cluster IP change after restart: un-retryable: create network minikube 192.168.49.0/24: sudo -n podman network create --driver=bridge --subnet=192.168.49.0/24 --gateway=192.168.49.1 minikube: exit status 125 stderr: π Preparing Kubernetes v1.20.2 on CRI-O 1.19.1 ... β /usr/local/bin/kubectl is version 1.18.2-0-g52c56ce, which may have incompatibilites with Kubernetes 1.20.2. Optional: Full output of |
I think we need to run the command |
Related to #9705 - we were relying on docker labels to do the cleanup, but they were either buggy or missing in podman... The correct implementation would be to clean up the volumes and networks explicitly, and then only do labels as a fallback. |
Can I take up this issue? |
/assign |
hi, Thanks a lot |
Yuh. we need to clean up those configurations from the minikube clean up process instead of running the command manually :) |
@medyagh Can we close this issue sir? |
Yeah, this issue should be fixed at HEAD and will be included in the next release. I'll close this for now. |
Steps to reproduce the issue:
Full output of
minikube start
command usedThe cause is that minikube delete doesn't clean up the network it created with podman, and the subsequent start command then sees the network and complains about it.
This can be worked around with the following, however this isn't obvious
The text was updated successfully, but these errors were encountered: