Bug 1823400 - Allow to only enable hybrid overlay without specifying Windows networks CIDRs
Summary: Allow to only enable hybrid overlay without specifying Windows networks CIDRs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.5.0
Assignee: Jacob Tanenbaum
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks: 1823399
TreeView+ depends on / blocked
 
Reported: 2020-04-13 15:21 UTC by Ricardo Carrillo Cruz
Modified: 2020-07-13 17:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1823399
Environment:
Last Closed: 2020-07-13 17:27:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 575 0 None closed Allow to only enable hybrid overlay and not handle Windows networks 2021-01-15 20:05:36 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:27:45 UTC

Description Ricardo Carrillo Cruz 2020-04-13 15:21:59 UTC
The Hybrid Overlay feature allows to connect to external Windows networks.
For that, a config needs to be added to networks.operator.openshift.io similar to this:

spec:
  defaultNetwork:
    type: OVNKubernetes
    ovnKubernetesConfig:
      hybridOverlayConfig:
        hybridClusterNetwork:
        - cidr: 10.132.0.0/14
          hostPrefix: 23

However OVN Kubernetes already has that CIDR has default value, thus there's no point to forcing user to specify that.
Moreover, on the hybrid overlay external GW work that is been developed we want to leverage the VXLAN tunnels created by hybrid overlay but we don't care about Windows networks.

Comment 1 Anurag saxena 2020-04-13 18:51:10 UTC
Looks good to me on 4.5.0-0.nightly-2020-04-13-133703
# oc patch network.operator cluster --type=merge -p '{"spec":{"defaultNetwork":{"ovnKubernetesConfig":{"hybridOverlayConfig":{}}}}}'

Network operator reconcile this change successfully and restarts pods under openshift-ovn-kubernetes project to reflect the same

Comment 5 errata-xmlrpc 2020-07-13 17:27:22 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.