Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-7706

Improve Log Messaging for Reconciled Resources in hosted-cluster-config-operator and Related HyperShift Controllers

XMLWordPrintable

    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Proposed title of this feature request

      Improve Log Messaging for Reconciled Resources in hosted-cluster-config-operator and Related HyperShift Controllers

      2. What is the nature and description of the request?

      When reconciling resources like the kubeadmin-password-hash secret, logs output by hosted-cluster-config-operator frequently show empty fields:

      hosted-cluster-config-operator-6dd6f99448-qnj58/hosted-cluster-config-operator/hosted-cluster-config-operator/logs/current.log:2025-06-10T04:28:10.388450974Z {"level":"info","ts":"2025-06-10T04:28:10Z","msg":"reconciling kubeadmin password hash secret","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"6346c31e-20bb-4c57-b989-5c68ccfc90d0"}
      
      {"level":"info","ts":"2025-06-11T04:49:43Z","msg":"reconciling openshift oauth apiserver service","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"6505e6a7-9109-47f4-ad0b-addda3ef745f"}
      {"level":"info","ts":"2025-06-11T04:49:43Z","msg":"reconciling openshift oauth apiserver endpoints","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"6505e6a7-9109-47f4-ad0b-addda3ef745f"}
      {"level":"info","ts":"2025-06-11T04:49:43Z","msg":"reconciling kubeadmin password hash secret","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"6505e6a7-9109-47f4-ad0b-addda3ef745f"}
      {"level":"info","ts":"2025-06-11T04:49:43Z","msg":"reconciling kube apiserver service monitor","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"6505e6a7-9109-47f4-ad0b-addda3ef745f"} 

      3. Why does the customer need this? (List the business requirements here)

      While troubleshooting for failed installations, empty values creates confusions if the resources are actually being created or not.

      4. List any affected packages or components.

      HCCO - hypershift cluster config operator

              racedoro@redhat.com Ramon Acedo
              rhn-support-chdeshpa Chinmay Deshpande
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                None
                None