-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
crio on minikube: could not add IP address to "cni0": permission denied #3555
Comments
@mccv1r0 anything come to mind? |
I am having the same problem but it happens only on one node. I created 10 replicas of a busybox and they got created on other nodes except one node.
Version info:
|
Getting the same issue. Restart the server and i am now getting the same error. This is on kubernetes and not minikube.
Getting this error for coredns and k8s dashboard:
|
@afbjorklund have you encountered this? |
I think that networking was recently changed to use "kindnet" instead, but I can take another look. |
I was able to resolve my issue finally. I don't remember exactly what I did before it started to not work, but to resolve it I disabled ipv6. Once I disabled ipv6 it still gave the same error and then once I updated the bridge config to remove ipv6 range, it started to work ok and the error message went away. |
No it wasn't kindnet but the "default networking" (mybridge). And it seemed to work better ? Reverting that change and going with crio-bridge (instead of rkt.kubernetes.io), to try it again. |
I wonder if this is related: f4214be (both crio and podman using 10.88.0.0)
cri-o-1.17: /etc/cni/net.d/100-crio-bridge.conf
|
I tried this method and it works. The crio cni files have ipv6 by default. My host did not have IPv6 enabled. This work around is useful in cases IPv6 is disabled on the host or not correctly configured. @medyagh FYI |
Given the work around, can this issue be considered closed, or is there a change folks would like to see? |
closing, please reopen if you disagree or the work around does not work for you |
I confirm that enabling IPv6 solves the problem! Thank you! |
FYI for folks finding this, we have an alternative CNI file and description of when to use it here |
Thx, i fix it with: sysctl -w net.ipv6.conf.all.disable_ipv6=0
sysctl -w net.ipv6.conf.default.disable_ipv6=0
sysctl -w net.ipv6.conf.tun0.disable_ipv6=0
sysctl -p |
I've encountered the 'permission denied' error before and fixed as @Wang-Kai solution |
I think, this is a misunderstanding. Things like |
hi we have added crio run-time to our newest minikube drivers (docker and podman). we have a an issue that was hoping you could help us find the root cause,
currently only in docker driver (not our VM drivers) the coreDNS container is stuck in creating and gives this error:
so the error is:
but doesnt say what kind of permission it needs and any way we could see more details?
we apply the same cni overlay network for containerd (and containerd works in docker driver) but crio doesnt work. any chance anyone here knows why?
here is the related issue on minikube repo if you need more debugging notes: kubernetes/minikube#7380
The text was updated successfully, but these errors were encountered: