-
Notifications
You must be signed in to change notification settings - Fork 237
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
[backport v2.10] [SURE-9460] Fleet not picking up gitrepo updates, no job created to update #3252
Comments
Port of: rancher#3239 Refers to rancher#3252 Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
Tested in Rancher Test steps
Observations
Error
I repeated the same with 15 workers (1 per 2 gitrepos) and the results were similar, both for checking the validity of the fix and the occasional job failure for rate limiting. Video with real-time check with and without fix here: Screencast.from.2025-01-28.16-12-00.mov |
Refers to rancher#3252 Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
Refers to #3252 Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
This is a backport issue for #3138, automatically created via GitHub Actions workflow initiated by @0xavi0
Original issue body:
SURE-9460
Issue description
After upgrading Rancher to 2.9.3 / fleet to v0.10.4, some gitrepos are no longer receiving updates. Customer update the repository, but changes are not pushed to the clusters. No Job is created to pull in the changes that should be tracked by the gitRepo.
In fleet v0.10.4, there were changes made to how jobs are managed in fleet. Could these changes be the cause of the issue here? #2932 seems to change how jobs are managed.
Business impact:
Unable to receive updates to applications using fleet for continuous delivery.
Troubleshooting steps:
GitJob pod, does not show that jobs are completing for those gitRepos, We are also unable to find jobs for the
Repro steps:
Upgrade to Rancher 2.9.3 from 2.9.2
Workaround:
Is a workaround available and implemented? yes
What is the workaround:
Customer found that by editing a gitRepo in the Rancher UI, changing nothing, then saving, it will eventually cause the repo to pull the change and make the necessary updates.
When making those changes, a couple lines are changed within the gitRepo:
spec.correctDrift: {} is added
status.commit is updated
status.lastPollingTriggered time is updated (time changed by more than a day).
Actual behavior:
repositories are not updated.
Expected behavior:
Repositories are updated.
The text was updated successfully, but these errors were encountered: