This is a clone of issue OCPBUGS-35874. The following is the description of the original issue:
—
Description of problem:
The ovnkube-sbdb route removal is missing a management cluster capabilities check and thus fails on a Kubernetes based management cluster.
Version-Release number of selected component (if applicable):
4.15.z, 4.16.0, 4.17.0
How reproducible:
Always
Steps to Reproduce:
Deploy an OpenShift version 4.16.0-rc.6 cluster control plane using HyperShift on a Kubernetes based management cluster.
Actual results:
Cluster control plane deployment fails because the cluster-network-operator pod is stuck in Init state due to the following error: {"level":"error","ts":"2024-06-19T20:51:37Z","msg":"Reconciler error","controller":"hostedcontrolplane","controllerGroup":"hypershift.openshift.io","controllerKind":"HostedControlPlane","HostedControlPlane":{"name":"cppjslm10715curja3qg","namespace":"master-cppjslm10715curja3qg"},"namespace":"master-cppjslm10715curja3qg","name":"cppjslm10715curja3qg","reconcileID":"037842e8-82ea-4f6e-bf28-deb63abc9f22","error":"failed to update control plane: failed to reconcile cluster network operator: failed to clean up ovnkube-sbdb route: error getting *v1.Route: no matches for kind \"Route\" in version \"route.openshift.io/v1\"","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}
Expected results:
Cluster control plane deployment succeeds.
Additional info:
https://ibm-argonauts.slack.com/archives/C01C8502FMM/p1718832205747529
- blocks
-
OCPBUGS-35935 Missing management cluster capabilities check on ovnkube-sbdb route removal
-
- Verified
-
- clones
-
OCPBUGS-35874 Missing management cluster capabilities check on ovnkube-sbdb route removal
-
- Verified
-
- is blocked by
-
OCPBUGS-35874 Missing management cluster capabilities check on ovnkube-sbdb route removal
-
- Verified
-
- is cloned by
-
OCPBUGS-35935 Missing management cluster capabilities check on ovnkube-sbdb route removal
-
- Verified
-
- links to
-
RHBA-2024:4316 OpenShift Container Platform 4.16.z bug fix update