-
Notifications
You must be signed in to change notification settings - Fork 229
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
fleet-agent cleanup continually deleting releases #523
Comments
Haven't been able to repro, if anyone else see's this let us know. |
For now, it would seem a workaround is possible with the method described in #795 (comment) |
@0x4c6565 as far it concerns helm charts. For manifests, there is no such thing as release names as I understand |
@papanito it does appear to also work for non-helm bundles (this results in a generated helm chart for the manifests)
|
This should really be fixed as it causes more problem down the line due to other controllers/operators starting to do stuff each time the resources get recreated... :( |
@mattfarina @manno , given that the fix made it into 0.4.0 release candidate, should the milestone be changed to 2.6.9 that includes Fleet 0.4.0? |
@snasovich correct. I made the change. |
Verified on Reproduced on Steps to reproduce:
Steps for validation:
|
The cleanup loop in
fleet-agent
isn't able to properly identify releases with bundles. For a given release, it looks for the bundle deployment associated to that release. If the release has a different name than fleet-agent expects (based on the bundle deployment) then fleet-agent deletes the release.The problem is that then a release with the exact same name is created and the next time the cleanup loop runs, fleet-agent will delete the release again.
For example, a bundle deployment with name
mcc-anupamafinalrcrke2-managed-system-upgrade
creates a release with namemcc-anupamafinalrcrke2-managed-system-upgrade-c-407d2
.It seems that this function should look at
status.release
as well when trying to determine the name of the release from a bundle deployment.The text was updated successfully, but these errors were encountered: