Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-499

ClusterOperator Conditions Update on Reordering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Undefined
    • None
    • 4.12
    • Insights Operator
    • Moderate
    • 3
    • OCP VE Sprint 228
    • 1
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      ClusterOperator status get's updated when the conditions are re-ordered. There doesn't seem to be any change to the conditions except the reorder.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Running the below command will show changes to the yaml

       kubectl get clusteroperator insights -oyaml --watch

      Actual results:

      The results below were updates but reordered.

      status:
        conditions:
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          message: Monitoring the cluster
          reason: AsExpected
          status: "False"
          type: Progressing
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          reason: AsExpected
          status: "False"
          type: Degraded
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          reason: AsExpected
          status: "False"
          type: Disabled
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          reason: AsExpected
          status: "True"
          type: Available 

      Expected results:

      I would have expected no change since nothing was altered.

      status:
        conditions:
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          reason: AsExpected
          status: "False"
          type: Degraded
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          reason: AsExpected
          status: "False"
          type: Disabled
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          reason: AsExpected
          status: "True"
          type: Available
        - lastTransitionTime: "2022-08-18T15:55:24Z"
          message: Monitoring the cluster
          reason: AsExpected
          status: "False"
          type: Progressing 

       

      Attachments

        Issue Links

          Activity

            People

              ehila@redhat.com Egli Hila
              ehila@redhat.com Egli Hila
              Joao Bastos Fula Joao Bastos Fula
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: