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

CMO updates secret annotation 6 times within 1 second

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.19.z, 4.20.0
    • Monitoring
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      checked with 4.19.0-0.nightly-2025-07-02-143253/4.20.0-0.nightly-2025-07-01-051543

      see from CMO logs: https://drive.google.com/file/d/1btrF6FLP_FhsE1XsTQ6FEAa14gBLQdYu/view?usp=sharing

      CMO tries to update secret annotation 6 times within 1 second, example

      I0707 01:25:24.922115       1 annotations.go:31] Updating "openshift.io/owning-component" annotation for metrics-client-certs/openshift-monitoring, diff:   string(
      -     "",
      +     "Monitoring",
        )
      I0707 01:25:24.941426       1 annotations.go:31] Updating "openshift.io/owning-component" annotation for metrics-client-certs/openshift-monitoring, diff:   string(
      -     "",
      +     "Monitoring",
        )
      I0707 01:25:24.947334       1 annotations.go:31] Updating "openshift.io/owning-component" annotation for metrics-client-certs/openshift-monitoring, diff:   string(
      -     "",
      +     "Monitoring",
        )
      I0707 01:25:24.952055       1 annotations.go:31] Updating "openshift.io/owning-component" annotation for metrics-client-certs/openshift-monitoring, diff:   string(
      -     "",
      +     "Monitoring",
        )
      I0707 01:25:24.956281       1 annotations.go:31] Updating "openshift.io/owning-component" annotation for metrics-client-certs/openshift-monitoring, diff:   string(
      -     "",
      +     "Monitoring",
        )
      I0707 01:25:24.965005       1 annotations.go:31] Updating "openshift.io/owning-component" annotation for metrics-client-certs/openshift-monitoring, diff:   string(
      -     "",
      +     "Monitoring",
        ) 

      see for other secrets

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

      4.19+

      How reproducible:

      always  

      Steps to Reproduce:

      1. check CMO logs
          

      Actual results:

      CMO updates secret annotation 6 times within 1 second

      Expected results:

      update once is fine

              jfajersk@redhat.com Jan Fajerski
              juzhao@redhat.com Junqi Zhao
              None
              None
              Junqi Zhao Junqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: