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

[release-4.11] ClusterOperator Conditions Update on Reordering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 4.11.z
    • Insights Operator
    • Moderate
    • 3
    • False
    • Hide

      None

      Show
      None

      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 

       

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

              Created:
              Updated:
              Resolved: