Skip to content

Diagnosing stuck Ansible moulti sessions #15

Answered by xavierog
huyz asked this question in Q&A
Discussion options

You must be logged in to vote

Diagnosis

What happens?

Expected behaviour

When Moulti's Ansible plugin needs to add lines to an existing Moulti step, it runs a moulti pass command and pipes those lines to the standard input of the resulting child process.
When a new step is to be created, the plugin closes this pipe and waits until the child process exits.
On the other end, the Moulti instance receives EOF and responds to the initial "pass" message by sending a simple reply (usually "done: True, error: None").
Upon reception of this reply, moulti pass exits, ending the plugin's wait.
The plugin can then resume its activity.

Encountered behaviour

Same as the expected behaviour except that, at some point, the Moulti inst…

Replies: 3 comments 30 replies

Comment options

You must be logged in to vote
9 replies
@xavierog
Comment options

@huyz
Comment options

@xavierog
Comment options

@xavierog
Comment options

@huyz
Comment options

Comment options

You must be logged in to vote
5 replies
@huyz
Comment options

@xavierog
Comment options

@huyz
Comment options

@huyz
Comment options

@xavierog
Comment options

Comment options

You must be logged in to vote
16 replies
@huyz
Comment options

@xavierog
Comment options

@xavierog
Comment options

@xavierog
Comment options

Answer selected by huyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants