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

Secret controller logger has incorrect output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.20.0
    • Windows Containers
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 0
    • None
    • None
    • None
    • None
    • WINC - Sprint 277, WINC - Sprint 278
    • 2
    • In Progress
    • Bug Fix
    • Hide
      *Cause*: Secret controller logger was being unintentionally mutated each secret reconciliation
      *Consequence*: Logs regarding secret changes grow in size with unrelated data
      *Fix*: Logger is no longer being mutated
      *Result*: Bug doesn’t present anymore.
      Show
      *Cause*: Secret controller logger was being unintentionally mutated each secret reconciliation *Consequence*: Logs regarding secret changes grow in size with unrelated data *Fix*: Logger is no longer being mutated *Result*: Bug doesn’t present anymore.
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-61559. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-61122. The following is the description of the original issue:

      Description of problem:

          

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Cause multiple secret reconciliations
          2. Observe log output
      
          

      Actual results:

       Logs show multiple secret names:
        
       {"level":"info","ts":"2025-08-28T07:43:51Z","logger":"controllers.secret","msg":"updating secret","secret":{"name":"cloud-private-key","namespace":"openshift-windows-machine-config-operator"},"name":"windows-user-data"}

      Expected results:

      Only one secret name should be reported

      Additional info:

          

              rh-ee-ssoto Sebastian Soto
              rh-ee-ssoto Sebastian Soto
              None
              None
              Aharon Rasouli Aharon Rasouli
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: