Uploaded image for project: 'Cluster Observability Operator'
  1. Cluster Observability Operator
  2. COO-385

Updating UIPlugin resource status causes the reconciliation to loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      As reported in GitHub: https://github.com/rhobs/observability-operator/issues/564

      I've noticed that when enabling the UIPlugin, the operator does one reconciliation after another.

      It seems the problem is due to always setting the conditions with new last transition time timestamp, leading to new generation of the resource and new reconciliation loop.

      https://github.com/rhobs/observability-operator/blob/main/pkg/controllers/uiplugin/controller.go#L214.

      I suspect other stacks have similar issue as well.

            gbernal@redhat.com Gabriel Bernal
            gbernal@redhat.com Gabriel Bernal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: