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

argocd-autopilot v0.2.24 hangs on repo uninstall #204

Open
vainkop opened this issue Nov 18, 2021 · 2 comments
Open

argocd-autopilot v0.2.24 hangs on repo uninstall #204

vainkop opened this issue Nov 18, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@vainkop
Copy link

vainkop commented Nov 18, 2021

k3s v1.21.5+k3s2
argocd-autopilot v0.2.24

argocd-autopilot repo uninstall hangs on waiting for 'autopilot-bootstrap' to be finish syncing.. until I hit ctrl+c & then it hangs on secret "autopilot-secret" deleted & never finishes.

Before executing argocd-autopilot repo uninstall I've previously successfully deleted the only project with argocd-autopilot project delete argocd-demo

INFO cloning repo: https://github.com/vainkop/argocd-autopilot-demo.git 
Enumerating objects: 18, done.
Counting objects: 100% (18/18), done.
Compressing objects: 100% (14/14), done.
Total 18 (delta 1), reused 18 (delta 1), pack-reused 0
INFO pushing changes to remote                    
waiting for 'autopilot-bootstrap' to be finish syncing.. ^Cgot signal: interrupt

INFO Deleting cluster resources                   
application.argoproj.io "argocd-demo-new-app" deleted
application.argoproj.io "argocd-demo-new-app-2" deleted
application.argoproj.io "cluster-resources-in-cluster" deleted
application.argoproj.io "root" deleted
application.argoproj.io "argocd-demo-demoapp" deleted
application.argoproj.io "autopilot-bootstrap" deleted
application.argoproj.io "argo-cd" deleted
secret "autopilot-secret" deleted

@roi-codefresh
Copy link
Contributor

Hey @vainkop, can you check if it's still reproduces for you?
Also I added a workaround that should make it easier. I exposed the --force flag on the repo uninstall command. This flag should ignore some steps that may fail during the installation and will try to leave the cluster and repo as clean as possible. You can take a look here #243 .

@roi-codefresh roi-codefresh added the bug Something isn't working label Mar 10, 2022
@mitchross
Copy link

same issue here, force doesnt help either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants