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

monitoring ClusterOperator should not blip Available=False with reason=UpdatingPrometheusOperatorFailed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.21
    • Monitoring
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Seen in 4.21 CI upgrade jobs
      example1
      example2
      example3

       

      : [Monitor:legacy-cvo-invariants][bz-Monitoring] clusteroperator/monitoring should not change condition/Available expand_lessRun #0: Failed expand_less1h49m10s{  0 unexpected clusteroperator state transitions during e2e test run, as desired.
      3 unwelcome but acceptable clusteroperator state transitions during e2e test run.  These should not happen, but because they are tied to exceptions, the fact that they did happen is not sufficient to cause this test-case to fail:
      
      Dec 01 20:58:53.651 E clusteroperator/monitoring condition/Available reason/UpdatingPrometheusOperatorFailed status/False UpdatingPrometheusOperator: reconciling Prometheus Operator NetworkPolicy failed: networkpolicies.networking.k8s.io "prometheus-operator" is forbidden: User "system:serviceaccount:openshift-monitoring:cluster-monitoring-operator" cannot get resource "networkpolicies" in API group "networking.k8s.io" in the namespace "openshift-monitoring" (exception: https://issues.redhat.com/browse/OCPBUGS-23745)
      Dec 01 20:58:53.651 - 200s  E clusteroperator/monitoring condition/Available reason/UpdatingPrometheusOperatorFailed status/False UpdatingPrometheusOperator: reconciling Prometheus Operator NetworkPolicy failed: networkpolicies.networking.k8s.io "prometheus-operator" is forbidden: User "system:serviceaccount:openshift-monitoring:cluster-monitoring-operator" cannot get resource "networkpolicies" in API group "networking.k8s.io" in the namespace "openshift-monitoring" (exception: https://issues.redhat.com/browse/OCPBUGS-23745)
      Dec 01 21:02:14.261 W clusteroperator/monitoring condition/Available reason/RollOutDone status/True Successfully rolled out the stack. (exception: Available=True is the happy case)
      } 

      However, OCPBUGS-23745 has been closed and shipped with 4.15.
      We use this bug to track the issue in 4.21.
      https://github.com/openshift/origin/pull/30552 to refresh the CI code

              juzhao@redhat.com Junqi Zhao
              hongkliu Hongkai Liu
              None
              None
              Junqi Zhao Junqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: