Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2981

StatefulSet reconciliation infinitely looping [GHI#38846]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      operator

      Describe the bug

      As described in https://github.com/operator-framework/java-operator-sdk/issues/2249 there's a weakness to the SSA change detection logic coupled with how the operator SDK tracks its own changes (that's my fault) which will keep an operator constantly reconciling a given resource.

      In this case it's the problem of the SSA matching logic not understanding defaults - and there's no existing override handling the case of fieldRef apiVersions, which was introduced by https://github.com/keycloak/keycloak/issues/36383

      Version

      26.2

      Regression

      [ ] The issue is a regression

      Expected behavior

      Not infinitely loop.

      Actual behavior

      Infinitely re-reconcile.

      How to Reproduce?

      Install the operator and deploy a keycloak.

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Cloud Native
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: