fleet icon indicating copy to clipboard operation
fleet copied to clipboard

GitRepos not being deleted until force-updated

Open torchiaf opened this issue 10 months ago • 1 comments

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

  1. Install Rancher via docker - docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.11-9b286b6f24221c1834ed777a27fd52faef31daca-head
  2. Create a new GitRepo
  3. The GitRepo should go in Git Updating status
  4. 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

torchiaf avatar Feb 17 '25 12:02 torchiaf

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

manno avatar Feb 21 '25 10:02 manno