Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-4741

cluster-logging-operator reconciling dozens of times with each ClusterLogForwarder change

    XMLWordPrintable

Details

    • False
    • None
    • False
    • NEW
    • NEW
    • Hide
      Before this change, the ClusterLoggingOperator would undergo numerous reconciliations whenever there was a change in the ClusterLogForwarder. This fix addresses the reconciliations by disregarding status changes in the collector daemonsets that would trigger a reconciliation.
      Show
      Before this change, the ClusterLoggingOperator would undergo numerous reconciliations whenever there was a change in the ClusterLogForwarder. This fix addresses the reconciliations by disregarding status changes in the collector daemonsets that would trigger a reconciliation.
    • Bug Fix
    • Log Collection - Sprint 244, Log Collection - Sprint 245

    Description

      Description of problem: 

      Whenever a reconcile is needed for ClusterLogForwarder, the forwarder controller reconciles many times (dozens of times) until it settles. The CR status does not get changed in anything except for Status: Conditions: Last Transition Time, which change with every reconcile loop.

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

      5.8

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a ClusterLogging
      2. Create a ClusterLogForwarder
      3. Watch cluster-logging-operator logs

       

      Find attached the log I see, and the CL and CLF I am using. When the ClusterLogging is applied, it runs one or two times the reconcile loop. When the ClusterLogForwarder is created, the reconciler starts running like crazy many times. I am testing with a CLF with HTTP Receiver enabled, but other CLFs I tried had the same behaviour. See also the cluster_log_forwarder_app.yaml.

      Attachments

        1. clf.log
          2.61 MB
        2. cluster_log_forwarder_app.yaml
          0.2 kB
        3. cluster_log_forwarder_http.yaml
          0.3 kB
        4. loki_cluster_logging.yaml
          0.2 kB

        Activity

          People

            rh-ee-calee Calvin Lee
            rhn-engineering-jlarriba Juan Larriba
            Anping Li Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: