-
Bug
-
Resolution: Done
-
Major
-
4.19.z
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
No
-
None
-
None
-
CORENET Sprint 276
-
1
-
In Progress
-
Feature
-
Promotion of RouteAdvertisements feature from TechPreview to GA
-
None
-
None
-
None
-
None
Description of problem:
After built a payload with https://github.com/openshift/api/pull/2425 , which is enable the BGP feature by default in featuregate, However spec.defaultNetwork.ovnKubernetesConfig.routeAdvertisements is not existing when enable this by cno $oc patch Network.operator.openshift.io cluster --type=merge -p='{"spec":{"additionalRoutingCapabilities": {"providers": ["FRR"]}, "defaultNetwork":{"ovnKubernetesConfig":{"routeAdvertisements":"Enabled"}}}}' Warning: unknown field "spec.defaultNetwork.ovnKubernetesConfig.routeAdvertisements"
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. pre-merge build payload with https://github.com/openshift/api/pull/2425 and setup cluster 2. enable BGP by oc patch Network.operator.openshift.io cluster --type=merge -p='{"spec":{"additionalRoutingCapabilities": {"providers": ["FRR"]}, "defaultNetwork":{"ovnKubernetesConfig":{"routeAdvertisements":"Enabled"}}}}' 3.
Actual results:
Warning: unknown field "spec.defaultNetwork.ovnKubernetesConfig.routeAdvertisements"
Expected results:
Additional info:
this issue was fixed in 4.20 by https://github.com/openshift/cluster-network-operator/pull/2720 but also fixed on 4.19.z