argo-cd: Application sync hang with "unable to fork off sideband demultiplexer"
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
.
Describe the bug
Moving from ArgoCD 2.2.5 to 2.4.3. After that application gets stuck in sync with:
rpc error: code = Internal desc = Failed to fetch default: git fetch origin --tags --force
failed exit status 128: error: cannot create async thread: Operation not permitted fatal: fetch-pack: unable to fork off sideband demultiplexer
Connection status for all repositories is successful.
To Reproduce
Expected behavior
Same configuration used as in version 2.2.5. Before moving to 2.4.3 everything works normally.
Screenshots
Version 2.4.3 (Helm chart 4.9.11): { “Version”: “v2.4.3+471685f”, “BuildDate”: “2022-06-27T21:02:55Z”, “GitCommit”: “471685feae063c1c2e36a5ff268c4da87c697b85”, “GitTreeState”: “clean”, “GoVersion”: “go1.18.3”, “Compiler”: “gc”, “Platform”: “linux/amd64”, “KustomizeVersion”: “v4.4.1 2021-11-11T23:36:27Z”, “HelmVersion”: “v3.8.1+g5cb9af4”, “KubectlVersion”: “v0.23.1”, “JsonnetVersion”: “v0.18.0” }
Logs
Paste any relevant application logs here.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 2
- Comments: 17 (2 by maintainers)
After having the same problem, it would come from the version of docker/containerd which is deployed.
The new GLIBC library in 22.04 uses CLONE3 for syscal which is not supported by SECCOMP profile older versions of Docker.
Workaround:
Recommendation :
With this minimal
Dockerfile
I’ve created a somehow reproducible environment:old-ubuntu-fix.sh
:Using as
VERSION
s:21.04
22.04
21.04
22.04
This effectively confirms that:
Ubuntu 16.04.7 LTS
/ VMware Tanzu host?)git
binary withoutlibpthread
causes the issuegit
version doesn’t really matter (bitnami’s git worked well there, but libpthread was present on the image I’ve tried)Now the question is:
I use the same Argo CD instance to manage multiple clusters. There is one repository containing the manifests for each cluster. Only the apps which are running in the same cluster than the Argo CD instance with their manifests saved in the same repository as the ones from Argo CD are showing the error “unable to fork off sideband demultiplexer”. All other apps are synced properly.