kubernetes/minikube
View on GitHubCillium CNI in VM Drivers fails "address family not supported by protocol""
Open
#18,851 opened on May 10, 2024
area/cnihelp wantedpriority/important-soon
Description
for ISO (qemu driver) I get this error in the pod logs
"failed while reinitializing datapath: listing routing rules: address family not supported by protocol"
fixAndUpdateCiliumCNI ✓
$ kc get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system cilium-cssbc 0/1 CrashLoopBackOff 7 (99s ago) 13m
kube-system cilium-operator-64664858c8-xbs79 1/1 Running 0 13m
kube-system coredns-7db6d8ff4d-xvrmk 0/1 Pending 0 13m
kube-system etcd-minikube 1/1 Running 0 13m
kube-system kube-apiserver-minikube 1/1 Running 0 13m
kube-system kube-controller-manager-minikube 1/1 Running 0 13m
kube-system kube-proxy-d96m9 1/1 Running 0 13m
kube-system kube-scheduler-minikube 1/1 Running 0 13m
kube-system storage-provisioner 0/1 Pending 0 13m
the log for container
$ kc logs cilium-cssbc -n kube-system | grep error
Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), clean-cilium-state (init), install-cni-binaries (init)
time="2024-05-09T23:45:53Z" level=info msg=" --kvstore-max-consecutive-quorum-errors='2'" subsys=daemon
time="2024-05-09T23:45:54Z" level=error msg="Start hook failed" error="daemon creation failed: error while initializing daemon: failed while reinitializing datapath: listing routing rules: address family not supported by protocol" function="cmd.newDaemonPromise.func1 (cmd/daemon_main.go:1686)" subsys=hive
time="2024-05-09T23:45:54Z" level=error msg="Observer job stopped with an error" error="context canceled" func="auth.(*authMapGarbageCollector).handleIdentityChange" name="auth gc-identity-events" subsys=auth
time="2024-05-09T23:45:54Z" level=error msg="Observer job stopped with an error" error="context canceled" func="auth.(*AuthManager).handleAuthRequest" name="auth request-authentication" subsys=auth
time="2024-05-09T23:45:54Z" lev
but it could be only for ISO https://github.com/cilium/cilium/issues/29965
Originally posted by @medyagh in https://github.com/kubernetes/minikube/issues/18846#issuecomment-2103619261