fleet
fleet copied to clipboard
GitRepos not being deleted until force-updated
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
I had some GitRepos stuck in Git Updating status.
I clicked on 'Delete' bulk action button but the GitRepos remained in the GitRepo table.
The GitRepos went away only after clicking 'Force Update' action in the row menu.
Expected Behavior
The GitRepos should be deleted as soon as user clicks on Delete action.
Steps To Reproduce
- Install Rancher via docker -
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.11-9b286b6f24221c1834ed777a27fd52faef31daca-head - Create a new GitRepo
- The GitRepo should go in
Git Updatingstatus - Select the GitRepo and click Delete
https://github.com/user-attachments/assets/735cbe15-1b70-48cb-bbf4-5bd8415631bd
Environment
- Rancher: v2.11-9b286b6f24221c1834ed777a27fd52faef31daca-head
Logs
Anything else?
No response
Are you able to capture the status fields of such a stuck GitRepo?
https://fleet.rancher.io/troubleshooting#fetch-detailed-status-from-gitrepos-and-bundles