Uploaded image for project: 'Openshift sandboxed containers'
  1. Openshift sandboxed containers
  2. KATA-4287

Tight reconcile loop caused by timestamps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • OSC 1.11
    • None
    • Operator
    • None
    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Denali #5

      Description

      Daemonset deployment testing revealed that the timestamp update of the KataConfig status can cause the controller to enter a tight reconcile loop.

      Steps to reproduce

      1. Install OSC 1.10.3
      2. Enable daemonset deployment in the feature gate CM
      3. Create kataconfig
      4. Wait for kata to be fully deployed
      5. Run oc logs -n openshift-sandboxed-containers-operator deployments/controller-manager -f

      Expected result

      Log should be still.

      Actual result

      A new reconcile is logged every few seconds.

      Impact

      Waste resources

      Env

      Additional helpful info

      Analysis highlighted that this issue could potentially happen with the MCO depoyment as well by just adding a time.Sleep.

              rhgkurz Greg Kurz
              rhgkurz Greg Kurz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: