Bug 1810756 - Hybrid overlay annotations missing from nodes
Summary: Hybrid overlay annotations missing from nodes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Phil Cameron
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-05 20:38 UTC by Sebastian Soto
Modified: 2020-07-13 17:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:18:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:18:54 UTC

Description Sebastian Soto 2020-03-05 20:38:59 UTC
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:

Comment 1 Dan Williams 2020-03-05 20:53:22 UTC

*** This bug has been marked as a duplicate of bug 1810608 ***

Comment 2 Dan Williams 2020-03-05 21:04:05 UTC
Can you grab ovnkube node container logs from an affected node?

ovnkube master container logs would also be useful.

Comment 3 Aravindh Puthiyaparambil 2020-03-05 21:09:08 UTC
Handed over my cluster to @dcbw for debugging.

Comment 4 Dan Williams 2020-03-05 22:28:19 UTC
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.

Comment 5 Dan Williams 2020-03-05 22:49:33 UTC
And https://github.com/openshift/cluster-network-operator/pull/515 for master/4.5

Comment 6 Dan Williams 2020-03-05 22:49:56 UTC
https://github.com/openshift/cluster-network-operator/pull/514 for 4.4

Comment 11 errata-xmlrpc 2020-07-13 17:18:35 UTC
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


Note You need to log in before you can comment on or make changes to this bug.