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

dex CrashLoopBackOff - /shared/argocd-dex: no such file or directory #14452

Closed
3 tasks done
HSoulat opened this issue Jul 11, 2023 · 2 comments
Closed
3 tasks done

dex CrashLoopBackOff - /shared/argocd-dex: no such file or directory #14452

HSoulat opened this issue Jul 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@HSoulat
Copy link

HSoulat commented Jul 11, 2023

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

Argocd DEX pod crash due to missing file / directory.
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/shared/argocd-dex": stat /shared/argocd-dex: no such file or directory: unknown

To Reproduce

argocd-dex-server include an empty-dir volume.

      volumes:
      - emptyDir: {}
        name: static-files

Expected behavior

file or directory should exist, or usage should be removed from argocd-dex-server deployment.

Version

argocd-server: v2.6.12+52497ce
  BuildDate: 2023-07-05T19:43:11Z
  GitCommit: 52497ce0fb35a637f0de2f373c708be9affbae0a
  GitTreeState: clean
  GoVersion: go1.19.10
  Compiler: gc
  Platform: linux/amd64
  Kustomize Version: v4.5.7 2022-08-02T16:35:54Z
  Helm Version: v3.10.3+g835b733
  Kubectl Version: v0.24.2
  Jsonnet Version: v0.19.1
@HSoulat HSoulat added the bug Something isn't working label Jul 11, 2023
@Angelin01
Copy link

Angelin01 commented Jul 15, 2023

If you are using the Helm Chart, this PR may help you: argoproj/argo-helm#2161

In our case, the init container that copies the /shared/argocd-dex file was being killed after using too much memory. Increasing the resources for the init container to about 144Mi was enough to stop crashes consistently.

@HSoulat
Copy link
Author

HSoulat commented Jul 17, 2023

I'm deploying argocd with install-ha manifest. I've not found any cpu/memory boundaries in.

@jgwest jgwest closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
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