Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5379

Create periodic reconciliation in case of missing image in ImageStream

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 1.8.0.Final
    • Operator
    • None
    • 2021 Week 37-39 (from Sep 13)

      In case there is no tag in ImageStream for KogitoRuntime then Kogito operator throws Reconciler error.
      Reconciler error causes the reconciliation loops to extend their period progressively, so when the image is finally available then it takes significant amount of time for KogitoRuntime to reconcile.

      For example when KogitoBuild and KogitoRuntime are created at the same time (KogitoRuntime leverage image created by KogitoBuild) then it can take several minutes for KogitoRuntime to reconcile after all the builds of KogitoBuild are finished.

      Intention of this JIRA is to replace Reconcile error in case of missing image by periodic reconciliation loop with specifies retry interval.

      Can be reproduced by https://github.com/kiegroup/kogito-operator/blob/master/examples/process-quarkus-example.yaml when both CRs are created at the same time.
      For simplicity reproducibility it can be reproduced by using KogitoRuntime CR only:

      apiVersion: app.kiegroup.org/v1beta1
      kind: KogitoRuntime
      metadata:
        name: example-quarkus
      

            vajain Vaibhav Jain
            ksuta Karel Suta
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: