-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.16.0
-
Low
-
No
-
Hypershift Sprint 253
-
1
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
Logs like the following are constantly emitted by the clustersizing controller: {"level":"error","ts":"2024-05-13T11:30:43Z","msg":"Reconciler error","controller":"hostedclustersizing","controllerGroup":"hypershift.openshift.io","controllerKind":"HostedCluster","HostedCluster":{"name":"dry-4","namespace":"ocm-staging-2b611n1002jcb8ikrn3to0vbds64qup9"},"namespace":"ocm-staging-2b611n1002jcb8ikrn3to0vbds64qup9","name":"dry-4","reconcileID":"7e4c2fa1-a2cb-40e7-bed3-38d2d498e59d","error":"could not get hosted cluster ocm-staging-2b611n1002jcb8ikrn3to0vbds64qup9/dry-4: HostedCluster.hypershift.openshift.io \"dry-4\" not found","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/opt/app-root/src/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/opt/app-root/src/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/opt/app-root/src/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}
Version-Release number of selected component (if applicable):
4.16.0
How reproducible:
sometimes
Steps to Reproduce:
1. Set up a management cluster with size tagging 2. Create a hosted cluster 3. Delete the hosted cluster
Actual results:
The hypershift operator continues logging about not being able to find the deleted hosted cluster.
Expected results:
No additional logging happens.
Additional info:
The clusterszing controller returns an error when it can't find a hostedcluster instead of returning nil. This causes that hostedcluster to be requeued indefinitely.
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update