argo-cd: Problem syncing app sync failed without message
Describe the bug We try to sync our project but it gives errors in the log without any clue what the error is.
It used to be running fine, it is a large project but we never ran into problems like this.
When doing helm template on the project and apply them manually they are all synced fine.
When doing a partial sync it works fine sometimes for some resources but others fail, it is very hard to find out why Is there any pattern we should use to debug these issues?
Is there any way we can show the real error message?
To Reproduce run : argocd app sync <application>
in the log errors appear.
Expected behavior Syncing of course 😉
Screenshots If applicable, add screenshots to help explain your problem.
Version 1.0.0
argocd-server: v1.0.0+c74ca22
BuildDate: 2019-05-16T20:04:21Z
GitCommit: c74ca22023cbee245cb83fb23224978fbe23703c
GitTreeState: clean
GoVersion: go1.11.4
Compiler: gc
Platform: linux/amd64
Ksonnet Version: 0.13.1
Logs
this is a subset of the errors. the message is empty
partial sync
Helm Values: values-prd-cluster.yaml
Sync Policy: <none>
Sync Status: OutOfSync from HEAD (921e418)
Health Status: Healthy
Operation: Sync
Sync Revision: 921e418f047f91740559c623f32c36c4b83ceb47
Phase: Succeeded
Start: 2019-07-05 18:28:26 +0200 DST
Finished: 2019-07-05 18:28:32 +0200 DST
Duration: 6s
Message: successfully synced (no manifests)
level=info msg="added resource RoleBinding/forza-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:17Z" level=info msg="added resource RoleBinding/forza-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:18Z" level=info msg="added resource RoleBinding/ir-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:18Z" level=info msg="added resource RoleBinding/inpai-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:18Z" level=info msg="added resource RoleBinding/dag-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:20Z" level=info msg="added resource RoleBinding/ir-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:20Z" level=info msg="added resource RoleBinding/ir-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:21Z" level=info msg="added resource RoleBinding/forza-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
time="2019-07-05T15:54:21Z" level=info msg="added resource RoleBinding/ant-rolebinding status: SyncFailed, message: " application=forza-prd-gitops
Have you thought about contributing a fix yourself?
Open Source software thrives with your contribution. It not only gives skills you might not be able to get in your day job, it also looks amazing on your resume.
If you want to get involved, check out the contributing guide, then reach out to us on Slack so we can see how to get you started.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (6 by maintainers)
Commits related to this issue
- Log more error information. See #1887 — committed to alexec/argo-cd by alexec 5 years ago
- Log more error information. See #1887 (#1891) — committed to argoproj/argo-cd by alexec 5 years ago
- Log more error information. See #1887 (#1891) — committed to argoproj/argo-cd by alexec 5 years ago
the controller oomkilled because the increased processors i presume. Alright will return the timeout and try again