-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhwa-23.1
-
None
Description of the problem:
Wrong representation of the unhealthy condition's status
Steps to reproduce:
1. Create NHC with custom unhealthy condition
apiVersion: remediation.medik8s.io/v1alpha1 kind: NodeHealthCheck metadata: name: nhc-test spec: minHealthy: 30% remediationTemplate: apiVersion: self-node-remediation.medik8s.io/v1alpha1 kind: SelfNodeRemediationTemplate name: self-node-remediation-resource-deletion-template namespace: openshift-operators selector: matchExpressions: - key: node-role.kubernetes.io/worker operator: Exists unhealthyConditions: - duration: 30s status: 'Status' type: Type
2. Compare Unhealthy conditions on two pages:
- Compute\NodeHealthChecks/nhc-test/Details page
- Compute\NodeHealthChecks/nhc-test/Details page/Actions/Edit NodeHealthCheck
Actual result:
Status of unhealthy condition is not the same for two pages
Expected result:
Status is the same or error message about wrong status