Uploaded image for project: 'Red Hat Workload Availability'
  1. Red Hat Workload Availability
  2. RHWA-218

[NHC-UI] Wrong representation of the unhealthy condition's status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhwa-23.1
    • None
    • Low

      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

        1. image (65).png
          136 kB
          Anna Savina Frances

              brotman@redhat.com Bat-Zion Rotman
              annsavina Anna Savina Frances (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: