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 stuck at Syncing, can't terminate it #18613

Open
MazenElzanaty opened this issue Jun 12, 2024 · 3 comments
Open

ArgoCD stuck at Syncing, can't terminate it #18613

MazenElzanaty opened this issue Jun 12, 2024 · 3 comments
Labels
bug Something isn't working component:core Syncing, diffing, cluster state cache version:2.11 Latest confirmed affected version is 2.11

Comments

@MazenElzanaty
Copy link

Checklist:

  • [Yes] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • [Yes] I've included steps to reproduce the bug.
  • [Yes] I've pasted the output of 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

image
image

image

image

image

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
@MazenElzanaty MazenElzanaty added the bug Something isn't working label Jun 12, 2024
@christianh814 christianh814 added the component:core Syncing, diffing, cluster state cache label Jun 13, 2024
@rumstead
Copy link
Member

Related issues #7890, #17155

@xbulat
Copy link

xbulat commented Jun 18, 2024

I was able to unfreeze that state only after the restart the argocd-application-controller pod

@andrii-korotkov-verkada andrii-korotkov-verkada added the version:2.11 Latest confirmed affected version is 2.11 label Nov 11, 2024
@keyolk
Copy link

keyolk commented Nov 27, 2024

in my case it has been resolved after doing some partial syncs. Was no luck just restarting application controller, server, cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:core Syncing, diffing, cluster state cache version:2.11 Latest confirmed affected version is 2.11
Projects
None yet
Development

No branches or pull requests

6 participants