Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-6819

Operator is reconciling unchanged IstioRevision resource in a loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • OSSM 3.0-TP1
    • None
    • Sail Operator
    • None

      e2e OCP tests found an issue with operator reconciling unchanged IstioRevision resource in a loop

      It's happening randomly for different control plane versions.

      Operator is logging following even when there is no change to Istio or IstioRevision:

      2024-07-12T12:22:57Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "662d04d2-defd-4b7b-ad2f-ad9f3451bbb6"} 2024-07-12T12:22:58Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "662d04d2-defd-4b7b-ad2f-ad9f3451bbb6"} 2024-07-12T12:23:12Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "991b1199-52fa-493f-9ba9-00a06230c0a1"} 2024-07-12T12:23:13Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "991b1199-52fa-493f-9ba9-00a06230c0a1"} 2024-07-12T12:23:27Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "ffd48f0d-f14e-40fc-9584-33a9424f6c97"} 2024-07-12T12:23:28Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "ffd48f0d-f14e-40fc-9584-33a9424f6c97"} 2024-07-12T12:23:42Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "2aedd1d3-b5da-4b04-9dd6-bb48e51e4b88"} 2024-07-12T12:23:44Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "2aedd1d3-b5da-4b04-9dd6-bb48e51e4b88"} 2024-07-12T12:23:57Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "f7c0cc72-8263-4309-8238-4b24ab3551ac"} 2024-07-12T12:23:58Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "f7c0cc72-8263-4309-8238-4b24ab3551ac"} 2024-07-12T12:24:12Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "8b133af3-d9f5-4444-a196-9cd0ab3eb60e"} 2024-07-12T12:24:13Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "8b133af3-d9f5-4444-a196-9cd0ab3eb60e"} 2024-07-12T12:24:27Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "3b586de5-3551-434b-a9cd-921df0f65978"} 2024-07-12T12:24:29Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "3b586de5-3551-434b-a9cd-921df0f65978"} 2024-07-12T12:24:42Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "19c9922d-0583-4dd2-adb8-3d317068d5d7"} 2024-07-12T12:24:44Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "19c9922d-0583-4dd2-adb8-3d317068d5d7"} 2024-07-12T12:24:57Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "b04ee164-74a5-4ace-84a9-b39dbe1ef08a"} 2024-07-12T12:24:58Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "b04ee164-74a5-4ace-84a9-b39dbe1ef08a"} 2024-07-12T12:25:27Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "45ce050d-fbe8-4146-8a99-da4e10ba3be1"} 2024-07-12T12:25:29Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "45ce050d-fbe8-4146-8a99-da4e10ba3be1"} 2024-07-12T12:25:57Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "7cb1df7a-053d-409a-a4c7-6e331c561dff"} 2024-07-12T12:25:59Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "7cb1df7a-053d-409a-a4c7-6e331c561dff"} 2024-07-12T12:26:12Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "5e85a3b5-1b20-43ee-a996-a7dc9efe8542"} 2024-07-12T12:26:14Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "5e85a3b5-1b20-43ee-a996-a7dc9efe8542"} 2024-07-12T12:26:27Z INFO ctrlr.istiorev Installing Helm chart {"IstioRevision": "default", "reconcileID": "4369606f-9984-415d-8d91-9b7993e46226"} 2024-07-12T12:26:29Z INFO ctrlr.istiorev Reconciliation done. Updating status. {"IstioRevision": "default", "reconcileID": "4369606f-9984-415d-8d91-9b7993e46226"}

      Note that sometimes the

      Reconciliation done. Updating status.
      

      msg is logged each 15s and sometimes each 30s

      Test is failing because it's expecting not to see "Reconciliation done" msg in the operator log for at least 30s. Which is failing/passing depending on timing when the operator log is inspected. We should use probably last 28s to have more robust test but question is if those msg are expected at all when there are no changes.

              mluksa@redhat.com Marko Luksa
              fbrychta@redhat.com Filip Brychta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: