-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ctrl): Change reconciliation of int in error #4793
fix(ctrl): Change reconciliation of int in error #4793
Conversation
🐫 Thank you for contributing! Code Coverage Report ✔️ - Coverage unchanged. |
605823a
to
c563d10
Compare
🐫 Thank you for contributing! Code Coverage Report ✔️ - Coverage unchanged. |
I am moving it back to draft to make a first PR with E2E test on existing behavior. |
* When the integration is in Error with the Kit condition in error, then if the integration kit referenced is still in error then finish the reconciliation process without any change to the integration.
c563d10
to
60fa5fb
Compare
🐫 Thank you for contributing! Code Coverage Report ✔️ - Coverage unchanged. |
So let's recap a little: The solution proposed is to stop early on the process (before it get to the apply part) when the following conditions are ALL met:
From the e2e test I gathered the following:
I really don't see any use case where an IntegrationKit in Error will be able to recover without the creation of a new one. Is there such a process or something that could act directly on an IntegrationKit CR without acting from the Integration CR ? |
do we expose in some ways (conditions, phase) at what stage the reconciliation stops ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, given that the test in #4815 are now passing.
@lburgazzoli given the new E2E test provided by @gansheer, I think we are safe to merge this PR. Basically we stop the latest reconciliation loop to apply traits when both the Integration and the Kit are in an error state. Hence, there is no reason to continue applying trait logic. Do you have any further concern? |
None that I could tell for the Integration CR. As for the IntegrationKit CR its reconciliation after 5 failed builds and I suppose you could consider the |
Description
When the integration is in Error with the Kit condition in error, then if the integration kit referenced is still in error then finish the reconciliation process without any change to the integration.
Fix the health trait to avoid panic errors.
Release Note