-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.21.0
-
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: