<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 31 October 2017 at 17:56, Gal Ben Haim <span dir="ltr"><<a href="mailto:gbenhaim@redhat.com" target="_blank">gbenhaim@redhat.com</a>></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 < "#!/bin/bash -xe
yum -y install ovirt-host
rm -rf /dev/shm/*.rpm /dev/shm/yum
"
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><div>By the look of it, it may be that the script is not running with 'set -e'.<br></div></div><br><br clear="all"><br>-- <br><div class="gmail_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>
</div></div>