cylc.flow.main_loop.reset_bad_hosts

Resets the list of bad hosts.

The scheduler stores a set of hosts which it has been unable to contact to save contacting these hosts again.

This list is cleared if a task cannot be submitted because all of the hosts it might use cannot be reached.

If a task succeeds in submitting a job on the second host it tries, then the first host remains in the set of unreachable (bad) hosts, even though the failure might have been transitory. For this reason, this plugin periodically clears the set.

Suggested interval - an hour.

Python API

Coroutines

reset_bad_hosts

Empty bad_hosts.

async cylc.flow.main_loop.reset_bad_hosts.reset_bad_hosts(scheduler, _)

Empty bad_hosts.