-
Bug
-
Resolution: Unresolved
-
Critical
-
RHOAI_2.7.0, RHOAI_2.8.0, RHOAI_2.9.0, RHOAI_2.10.0
-
False
-
-
False
-
Release Notes
-
No
-
-
Known Issue
-
Done
-
No
-
-
-
Testable
When installing the DSC, if kserve is enabled and servicemesh and serverless are not installed on the cluster, the DSC correctly reports that KServe is not ready:
- lastHeartbeatTime: '2024-02-29T00:03:14Z' lastTransitionTime: '2024-02-29T00:03:14Z' message: "Component reconciliation failed: 2 errors occurred:\n\t* operator servicemeshoperator not found. Please install the operator before enabling kserve component\n\t* operator serverless-operator not found. Please install the operator before enabling kserve component\n\n" reason: ReconcileFailed status: 'False' type: kserveReady
However, the degraded status still shows False even thought it is reporting an error:
- lastHeartbeatTime: '2024-02-29T00:03:21Z' lastTransitionTime: '2024-02-28T23:58:11Z' message: "DataScienceCluster resource reconciled with component errors: 2 errors occurred:\n\t* operator servicemeshoperator not found. Please install the operator before enabling kserve component\n\t* operator serverless-operator not found. Please install the operator before enabling kserve component\n\n" reason: ReconcileCompletedWithComponentErrors status: 'False' type: Degraded
When an error is present, the operator should report `status: 'True'`
To Reproduce:
Create the default DSC without the serverless and servicemesh operators installed.
Tested on 2.7 with OpenShift 4.15
- mentioned on