<div dir="ltr">I think you need to change the external bash call from `bash -s` to `bash -se`</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 10:03 PM, Barak Korren <span dir="ltr">&lt;<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 31 October 2017 at 17:56, Gal Ben Haim <span dir="ltr">&lt;<a href="mailto:gbenhaim@redhat.com" target="_blank">gbenhaim@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The thing that bothers me is why the deploy script returned status 0 even though yum failed:<div><br></div><div><pre style="color:rgb(0,0,0)">2017-10-31 11:18:14,496::ssh.py::ssh::58:<wbr>:lago.ssh::DEBUG::Running 2fed0ea0 on lago-basic-suite-4-1-host-0: bash -s &lt; &quot;#!/bin/bash -xe
yum -y install ovirt-host
rm -rf /dev/shm/*.rpm /dev/shm/yum
&quot;
2017-10-31 11:18:16,121::ssh.py::ssh::81:<wbr>:lago.ssh::DEBUG::Command 2fed0ea0 on lago-basic-suite-4-1-host-0 returned with 0</pre></div></div></blockquote><div><br></div></span><div>By the look of it, it may be that the script is not running with &#39;set -e&#39;.<span class="HOEnZb"><font color="#888888"><br></font></span></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_1040371227068368418gmail_signature" data-smartmail="gmail_signature">Barak Korren<br>RHV DevOps team , RHCE, RHCi<br>Red Hat EMEA<br><a href="http://redhat.com" target="_blank">redhat.com</a> | TRIED. TESTED. TRUSTED. | <a href="http://redhat.com/trusted" target="_blank">redhat.com/trusted</a></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div>