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

kerberos: too long wait after job finishes #450

Closed
mdonadoni opened this issue Apr 11, 2024 · 0 comments · Fixed by reanahub/reana-auth-krb5#18 or reanahub/reana-commons#454
Closed
Assignees

Comments

@mdonadoni
Copy link
Member

Due to how auto-renewal of Kerberos tickets is implemented, it might happen that a job keeps running for many seconds (up to KRB5_STATUS_FILE_CHECK_INTERVAL, by default 15s) after the job finishes. This is not a problem for long-lasting jobs, but it impacts workflows with many short-lasting jobs (e.g. https://github.com/reanahub/reana-demo-agc-cms-ttbar-coffea)

@mdonadoni mdonadoni self-assigned this Apr 11, 2024
mdonadoni added a commit to mdonadoni/reana-commons that referenced this issue Apr 11, 2024
Use `inotifwait` instead of `sleep` when waiting for the status file to
be created, so that the pod stops immediately after the file creation.

Closes reanahub/reana-job-controller#450
mdonadoni added a commit to mdonadoni/reana-auth-krb5 that referenced this issue Apr 11, 2024
mdonadoni added a commit to mdonadoni/reana-commons that referenced this issue Apr 11, 2024
Use `inotifwait` instead of `sleep` when waiting for the status file to
be created, so that the pod stops immediately after the file creation.

Closes reanahub/reana-job-controller#450
mdonadoni added a commit to mdonadoni/reana-auth-krb5 that referenced this issue Apr 11, 2024
mdonadoni added a commit to mdonadoni/reana-commons that referenced this issue Apr 17, 2024
Use `inotifwait` instead of `sleep` when waiting for the status file to
be created, so that the pod stops immediately after the file creation.

Closes reanahub/reana-job-controller#450
mdonadoni added a commit to mdonadoni/reana-commons that referenced this issue Apr 17, 2024
Use `inotifywait` instead of `sleep` when waiting for the status file to
be created, so that the pod stops immediately after the file creation.

Closes reanahub/reana-job-controller#450
mdonadoni added a commit to mdonadoni/reana-commons that referenced this issue Apr 18, 2024
Use `inotifywait` instead of `sleep` when waiting for the status file to
be created, so that the pod stops immediately after the file creation.

Closes reanahub/reana-job-controller#450
@mdonadoni mdonadoni added this to 0.95.0 Aug 8, 2024
@mdonadoni mdonadoni moved this to Done in 0.95.0 Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
1 participant