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

ClusterOperator Conditions Update on Reordering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.12.z
    • 4.12
    • Monitoring
    • None
    • Moderate
    • False
    • Hide

      None

      Show
      None
    • NA
    • Rejected

      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:

      Always

      Steps to Reproduce:

      kubectl get clusteroperator monitoring -oyaml --watch
      

      Actual results:

      status:   
        conditions: 
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          message: Successfully rolled out the stack.
          reason: RollOutDone
          status: "True"
          type: Available
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          status: "False"
          type: Progressing
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          message: 'Prometheus is running without persistent storage which can lead to data
            loss during upgrades and cluster disruptions. Please refer to the official documentation
            to see how to configure storage for Prometheus: https://docs.openshift.com/container-platform/4.8/monitoring/configuring-the-monitoring-stack.html'
          reason: PrometheusDataPersistenceNotConfigured
          status: "False"
          type: Degraded
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          status: "True"
          type: Upgradeable
      

      Expected results:

      I would have expected no update, since nothing changed.

      status:   
        conditions:   
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          status: "True"
          type: Upgradeable
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          message: Successfully rolled out the stack.
          reason: RollOutDone
          status: "True"
          type: Available
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          status: "False"
          type: Progressing
        - lastTransitionTime: "2022-08-25T23:39:59Z"
          message: 'Prometheus is running without persistent storage which can lead to data
            loss during upgrades and cluster disruptions. Please refer to the official documentation
            to see how to configure storage for Prometheus: https://docs.openshift.com/container-platform/4.8/monitoring/configuring-the-monitoring-stack.html'
          reason: PrometheusDataPersistenceNotConfigured
          status: "False"
          type: Degraded
       

      Additional info:

       

            spasquie@redhat.com Simon Pasquier
            ehila@redhat.com Egli Hila
            Tai Gao Tai Gao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: