-
Notifications
You must be signed in to change notification settings - Fork 905
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
Crossplane fails to synchronize claims with XRs #5400
Comments
As suggested by @haarchri I set |
do you using realtime compositions ? for reference we disabled the tests for realtime compositions with #5296 |
looks like:
|
think its related to: #5151 |
@haarchri were you able to confirm positively that this behavior is related to realtime compositions? i.e. it only manifests when |
Yes and i can reproduce this issue with enabled Realtime compositions - currently debugging it |
Awesome dude! thanks for confirming - tracking this as part of the maturing realtime compositions epic: |
after new claims created all new XRs have no SYNCED, READY or status - during crossplane startup you can see the following log line:
problem starts around here - think we can hit this issue also without real-time compositions - here is no feature flag block around : and then we hit the following: if i add a long sleep here - its working - so i wonder if the setup is to fast an we need to find a way to wait https://github.com/crossplane/crossplane/blob/v1.15.0/internal/controller/apiextensions/definition/reconciler.go#L474 |
So we do think this is something that is hitting mainstream scenarios in v1.15? Is there reason to believe that we should backport any of these PRs for a v1.15 patch release? |
To replicate the issue, first install Crossplane version 1.15.0 and run with
Wait all Claim, XR and managed resources ready Start crossplane
If the issue doesn't occur, restart Crossplane and create more claims than you did previously. You will then observe the error "cannot list in CompositionRevision handler" in the logs. |
What happened?
From time to time I see that claims and XRs loose sync such as here (see second resource):
And this does not change until I do a rollout restart of crossplane deployment. Logs in crossplane deployment look to be on a loop continuously prompting logs such these:
How can we reproduce it?
What environment did it happen in?
Crossplane version: universal-crossplane-1.14.5-up.1
EKS v1.27.9-eks-5e0fdde
Relevant PRs
The text was updated successfully, but these errors were encountered: