ansible: gracefully return (and explain) ChannelError in ContextService.
When Ansible abnormally shuts down, the broker begins force-disconnecting every context, including those for which connection is currently in-progress. When that happens, .call(init_child) throws ChannelError, and that needs returned back to the worker, assuming the worker still even exists. This solution is incomplete: with sick nodes, it's also possible the worker died naturally, and so the worker should perhaps respond by retrying the connection. Previously, the unhandled ChannelError would spam the console when e.g. fork() began returning EAGAIN.pull/372/head
parent
e5d421e5f4
commit
3c6b72b452
Loading…
Reference in New Issue