On Tue, Mar 17, 2015 at 05:31:29PM +0100, Petr Pudlak wrote:
> From: Niklas Hambuechen <[email protected]>
> 
> When the forked (Python) job process dies for any reason, then the next `read`
> from its pipe will fail, giving an unhelpful error like:
> 
>    GenericError "<file descriptor: 13>: hWaitForInput: end of file"
> 
> This commit adds an error log message when reading or writing the
> pipe fails.
> 
> Signed-off-by: Niklas Hambuechen <[email protected]>
> Reviewed-by: Hrvoje Ribicic <[email protected]>
> Signed-off-by: Klaus Aehlig <[email protected]>
> 
> Conflicts:
>       src/Ganeti/Query/Exec.hs - merge changes from both branches
> 
> Cherry-picked-from: 208c6166d9176e36495ce3d8dff9a649662e72f5
> Signed-off-by: Petr Pudlak <[email protected]>
> ---
>  src/Ganeti/Query/Exec.hs | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to