Comment 3 for bug 2007162

Revision history for this message
George Kraft (cynerva) wrote :

The kube-ovn-controller pod logs this error repeatedly:

E0213 10:02:01.196909 6 subnet.go:186] error syncing 'ovn-default': gateway 192.168.0.1 is not in cidr 192.168.252.0/22, requeuing

Which prevents it from annotating nodes and such with the information that kube-ovn-cni needs to progress. This leads the kube-ovn-cni containers to CrashLoopBackOff, which leaves the kube-ovn charm stuck waiting forever.

I see in bundle.yaml that the kube-ovn charm is configured with `default-cidr: 192.168.252.0/22`. For this to work, it also needs to be configured with `default-gateway: 192.168.252.1`. I think if you add that to the bundle, it should work.