Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-61185

routeAdvertisements field not exiting when enable BGP for 4.19.z

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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 

              sseethar Surya Seetharaman
              zzhao1@redhat.com Zhanqi Zhao
              None
              None
              Zhanqi Zhao Zhanqi Zhao
              Jason Boxman Jason Boxman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: