-
Task
-
Resolution: Done
-
Minor
-
MCE 2.7.0
-
None
-
1
-
False
-
None
-
False
-
-
-
Installer Sprint 2024-42, Installer Sprint 2024-43
-
None
In the MCE operator, when an error occurs there is a chance that a similar error message will display in the logs:
2024-07-17T16:19:17.163Z INFO Warning: Reconciler returned both a non-zero result and a non-nil error. The result will always be ignored if the error is non-nil and the non-nil error causes reqeueuing with exponential backoff. For more details, see: https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/reconcile#Reconciler {"controller": "multiclusterengine", "controllerGroup": "multicluster.openshift.io", "controllerKind": "MultiClusterEngine", "MultiClusterEngine": {"name":"multiclusterengine"}, "namespace": "", "name": "multiclusterengine", "reconcileID": "40ed1484-fe1d-4074-a1cb-0ca401ef331b"}
This is occurring because we are returning both a non-zero and non-nil result during runtime. To fix this, we should return only one of the option and leave the other one as nil to avoid this warning.
- clones
-
ACM-12801 Remediate reconciler non-zero result and non-nil error warning for MCH
- Closed