Skip to content
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

Resources are recreated when provider Pod is restarted #141

Closed
irizzant opened this issue Jan 14, 2025 · 2 comments
Closed

Resources are recreated when provider Pod is restarted #141

irizzant opened this issue Jan 14, 2025 · 2 comments

Comments

@irizzant
Copy link

Hi again!
I'm using the latest Provider version 0.17.0 with the latest Crossplane release.
I noticed that when the provider Pod is restarted, some managed resources which where previously created and in Ready status are considered to recreate.
This leads to the situation where the managed resouces already exists and it errors out, and it makes our team to go hunting for them and manually fix them.
Any idea?

@irizzant irizzant changed the title Resources are recreated when provider is restarted Resources are recreated when provider Pod is restarted Jan 14, 2025
@irizzant
Copy link
Author

irizzant commented Jan 14, 2025

Maybe related to crossplane/crossplane#5918 and also to #137, see this Slack thread also

@irizzant
Copy link
Author

irizzant commented Jan 16, 2025

It looks like the problem was related to crossplane/crossplane#5918 and a missing LateInitialize in managementPolicies of the TeamMembership resource.

This in turn caused TeamMembership resources to be queued endlessly, causing very long workqueue and high load.

After I add the LateInitialize back, I noticed the workqueue became empty and became much more stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant