Open MazenElzanaty opened 3 months ago
Checklist:
argocd version
Describe the bug Some apps are stuck at syncing, and if i try to terminate it, it says "Unable to terminate operation: Unable to terminate operation. No operation is in progress"
To Reproduce Deploy this example app of apps
apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: argocd-apps-aws namespace: argocd spec: destination: name: '' namespace: argocd server: 'https://kubernetes.default.svc' source: path: apps-aws/ repoURL: 'git@github.com:xxxxxx/apps.git' targetRevision: main directory: recurse: true project: default syncPolicy: automated: prune: true selfHeal: true
and add any apps inside of it
It happens with different kinds of apps too, application sets, etc
Expected behavior
It should threw and error, or terminate the sync
Screenshots
Version
❯ argocd version argocd: v2.11.2+25f7504 BuildDate: 2024-05-23T15:31:09Z GitCommit: 25f7504ecc198e7d7fdc055fdb83ae50eee5edd0 GitTreeState: clean GoVersion: go1.22.3 Compiler: gc Platform: darwin/arm64 argocd-server: v2.11.2+25f7504 BuildDate: 2024-05-23T13:32:13Z GitCommit: 25f7504ecc198e7d7fdc055fdb83ae50eee5edd0 GitTreeState: clean GoVersion: go1.21.9 Compiler: gc Platform: linux/amd64 Kustomize Version: v5.2.1 2023-10-19T20:13:51Z Helm Version: v3.14.4+g81c902a Kubectl Version: v0.26.11 Jsonnet Version: v0.20.0``` **Logs** no errors related to this in logs
Related issues https://github.com/argoproj/argo-cd/issues/7890, https://github.com/argoproj/argo-cd/issues/17155
I was able to unfreeze that state only after the restart the argocd-application-controller pod
argocd-application-controller
Checklist:
argocd version
.Describe the bug Some apps are stuck at syncing, and if i try to terminate it, it says "Unable to terminate operation: Unable to terminate operation. No operation is in progress"
To Reproduce Deploy this example app of apps
apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: argocd-apps-aws namespace: argocd spec: destination: name: '' namespace: argocd server: 'https://kubernetes.default.svc' source: path: apps-aws/ repoURL: 'git@github.com:xxxxxx/apps.git' targetRevision: main directory: recurse: true project: default syncPolicy: automated: prune: true selfHeal: true
and add any apps inside of it
It happens with different kinds of apps too, application sets, etc
Expected behavior
It should threw and error, or terminate the sync
Screenshots
Version