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

Unable to rollback to a revision in the history when git repository is down #21480

Open
3 tasks done
carlosrodfern opened this issue Jan 14, 2025 · 0 comments
Open
3 tasks done
Labels
component:core Syncing, diffing, cluster state cache enhancement New feature or request

Comments

@carlosrodfern
Copy link

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version (grabbed from the server ui)

Describe the bug

When git repositories are down, argo-cd is unable to rollback even though the history is there. This is something that can be done in other tools like helm which preserves the revision local in the cluster. This makes it harder to revert app changes that coincidentally happen when the git repo is not accessible to ArgoCD.

To Reproduce

Deploy a kustomize app with ArgoCD and then cut communications with the git repo.

Expected behavior

ArgoCD rolls back the app based on the historical data preserved.

Screenshots

The error in the UI says:

Unable to rollback application: application spec for **** is invalid: InvalidSpecError: repository not accesible: .... repo client error while testing repository: rpc error = ... context deadline exceeded (Client.Timeout exceeded while awaiting headers).

Version

v2.13.1+af54ef8

@carlosrodfern carlosrodfern added the bug Something isn't working label Jan 14, 2025
@agaudreault agaudreault added enhancement New feature or request component:core Syncing, diffing, cluster state cache and removed bug Something isn't working labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:core Syncing, diffing, cluster state cache enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants