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

interactive-session-cleanup: cronjob fails but manual execution succeeds #694

Closed
mdonadoni opened this issue Jul 11, 2024 · 0 comments · Fixed by reanahub/reana#820
Closed
Assignees
Labels

Comments

@mdonadoni
Copy link
Member

Seen on PROD

The cronjob that periodically closes inactive interactive sessions fails when trying to close a notebook:

Starting to close interactive sessions running longer than 14 days..
Fetching interactive session pods..
Couldn't close interactive session 'reana-run-session-[...]': 

No error message is displayed. Note that however the command succeeds when it's executed manually from reana-server.

This is probably due to the fact that reana-workflow-controller's network policy does not allow connections from the cronjob: https://github.com/reanahub/reana/blob/aff5c8f9837af51a42c52d5621cac6e040096941/helm/reana/templates/reana-workflow-controller.yaml#L28-L32

@mdonadoni mdonadoni self-assigned this Aug 7, 2024
@mdonadoni mdonadoni added this to 0.95.0 Aug 8, 2024
@mdonadoni mdonadoni moved this to In review in 0.95.0 Aug 8, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in 0.95.0 Aug 28, 2024
mdonadoni added a commit to mdonadoni/reana that referenced this issue Dec 2, 2024
mdonadoni added a commit to mdonadoni/reana that referenced this issue Dec 2, 2024
mdonadoni added a commit to mdonadoni/reana that referenced this issue Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant