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

How to re-run a task stuck in submitted or running? #5177

Closed
dpmatthews opened this issue Oct 5, 2022 · 2 comments
Closed

How to re-run a task stuck in submitted or running? #5177

dpmatthews opened this issue Oct 5, 2022 · 2 comments
Labels
duplicate This is a duplicate of something else

Comments

@dpmatthews
Copy link
Contributor

A task can remain stuck in submitted or running if a platform becomes unreachable (so polling cannot determine the task state).
How can you re-trigger the task?
You may be able to use cylc remove and then trigger the task (not tested) but that could result in the workflow shutting down if there were no other tasks in the pool.

With Cylc 7 you could have used reset-state

See https://cylc.discourse.group/t/7-to-8-first-steps/514/6

@dpmatthews dpmatthews added the question Flag this as a question for the next Cylc project meeting. label Oct 5, 2022
@dpmatthews dpmatthews added this to the cylc-8.x milestone Oct 5, 2022
@hjoliver
Copy link
Member

hjoliver commented Oct 9, 2022

The simplest solution would be to take the trigger command at face value and allow retriggering of (supposedly-)already-active tasks. The (arguable) downside of this is that task ID globs might have to be more specific, to avoid already-active tasks if you don't want to retrigger them.

Alternatively, add a new option: cylc trigger --force.

@dpmatthews
Copy link
Contributor Author

Sorry, already raised as a question: #5147

@dpmatthews dpmatthews added duplicate This is a duplicate of something else and removed question Flag this as a question for the next Cylc project meeting. labels Oct 10, 2022
@dpmatthews dpmatthews removed this from the cylc-8.x milestone Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This is a duplicate of something else
Projects
None yet
Development

No branches or pull requests

2 participants