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

conformance test about EnsureCNOOperatorConfiguration failed due to Networktype is not OVNKubernetes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.21.0
    • HyperShift
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      TestCreateClusterCustomConfig/Main/EnsureCNOOperatorConfiguration: Invalid value: "object": ovnKubernetesConfig is forbidden when networkType is not OVNKubernetes
          

      Version-Release number of selected component (if applicable):

           4.21 
          

      How reproducible:

          Always 
          

      Steps to Reproduce:

          1. Install hosted cluster with Networktype  not OVNKubernetes
          2. Check e2e test:    TestCreateClusterCustomConfig/Main/EnsureCNOOperatorConfiguration
          3. Tested failed with error: 
      
      {code:java}
      {Failed  === RUN   TestCreateClusterCustomConfig/Main/EnsureCNOOperatorConfiguration
          util.go:4272: Updating HostedCluster e2e-clusters-qtw7q/custom-config-7kg8m with custom OVN internal subnets
          util.go:193: failed to patch object custom-config-7kg8m, will retry: HostedCluster.hypershift.openshift.io "custom-config-7kg8m" is invalid: spec: Invalid value: "object": ovnKubernetesConfig is forbidden when networkType is not OVNKubernetes
          util.go:4290: 
              failed to update HostedCluster with custom OVN config
              Unexpected error:
                  <*errors.StatusError | 0xc0019da460>: 
                  HostedCluster.hypershift.openshift.io "custom-config-7kg8m" is invalid: spec: Invalid value: "object": ovnKubernetesConfig is forbidden when networkType is not OVNKubernetes
      
          Actual results:{code:none}
          EnsureCNOOperatorConfiguration failed 
          

      Expected results:

         Should skip the test when networkType is not OVNKubernetes
          

      Additional info:

      
          

              rhn-support-wewang Wen Wang
              rhn-support-wewang Wen Wang
              None
              None
              Wen Wang Wen Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: