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

Dfdaemon crashloopbackoff when /var/run/dragonfly is mounted on hostPath and dfdaemon crashes unexpectedly #3782

Open
e-ngo opened this issue Jan 23, 2025 · 1 comment
Labels

Comments

@e-ngo
Copy link

e-ngo commented Jan 23, 2025

Bug report:

When upgrading to dragonfly's helm version 1.3.3+, the uds is now mounted on hostpath (with no way to opt out). Upon non graceful restarts such as process OOMKill, the dfdaemon will be stuck in crashloopbackoff state as it is unable to bind to the UDS.

Expected behavior:

Restarts should verify that the UDS is freed. If not, it should explicitly unbind it, before going through its normal binding process.

How to reproduce it:

Upgrade to helm 1.3.3. Mount dfdaemon's /var/run/dragonfly/ socket-dir as hostpath as per the helm above.

Run kill -9 PID of the dfdaemon client

Observe the log line:

2025-01-23T18:56:45.912674754+00:00 ERROR  dfdaemon download grpc server failed: Address already in use (os error 98)
    at dragonfly-client/src/bin/dfdaemon/main.rs:360

and crashloopbackoffs

Environment:

  • Dragonfly version:
  • OS:
  • Kernel (e.g. uname -a):
  • Others:
    • helm: 1.3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant