Description of problem: After applying the hybrid overlay patch to an OVN cluster, the k8s.ovn.org/hybrid-overlay-node-subnet and k8s.ovn.org/hybrid-overlay-distributed-router-gateway-mac annotations are missing. This is a regression, and is required for Windows. Version-Release number of selected component (if applicable): 4.5.0-0.ci-2020-03-05-134327 How reproducible: Steps to Reproduce: 1.Apply the hybrid overlay patch to an ovn cluster oc patch network.operator cluster --type=merge -p '{"spec":{"defaultNetwork":{"ovnKubernetesConfig":{"hybridOverlayConfig":{"hybridClusterNetwork":[{"cidr":"10.132.0.0/14","hostPrefix":23}]}}}}}' 2. Check the node annotations: oc get no -o jsonpath='{.items[*].metadata.annotations}' Actual results: Annotations are missing Expected results: The k8s.ovn.org/hybrid-overlay-node-subnet and k8s.ovn.org/hybrid-overlay-distributed-router-gateway-mac annotations are present on each node Additional info:
*** This bug has been marked as a duplicate of bug 1810608 ***
Can you grab ovnkube node container logs from an affected node? ovnkube master container logs would also be useful.
Handed over my cluster to @dcbw for debugging.
https://github.com/openshift/cluster-network-operator/pull/500 appears to have quoting issues, Phil/Jacob will fix. This is preventing the ovnkube master from enabling hybrid overlay.
And https://github.com/openshift/cluster-network-operator/pull/515 for master/4.5
https://github.com/openshift/cluster-network-operator/pull/514 for 4.4
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409