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

CMO may generate Kubernetes events with a wrong object reference

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.11
    • Monitoring
    • None
    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When CMO restarts after all monitoring components are deployed, the event recorder would use the alertmanager-main statefulset as the object's reference in events.

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

      4.11

      How reproducible:

      Always

      Steps to Reproduce:

      1. Deploy a cluster
      2. Delete the openshift-monitoring/metrics-client-certs secret 
      3. oc get events -n openshift-monitoring
      

      Actual results:

      Events about certificate generation are related to statefulset/alertmanager-main

      Expected results:

      Events should be related to deployment/cluster-monitoring-operator

      Additional info:

       

       

              spasquie@redhat.com Simon Pasquier
              spasquie@redhat.com Simon Pasquier
              Hongyan Li Hongyan Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: