On 31 October 2017 at 17:56, Gal Ben Haim <gbenhaim(a)redhat.com> wrote:
The thing that bothers me is why the deploy script returned status 0
even
though yum failed:
2017-10-31 11:18:14,496::ssh.py::ssh::58::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::lago.ssh::DEBUG::Command 2fed0ea0 on
lago-basic-suite-4-1-host-0 returned with 0
By the look of it, it may be that the script is not running with 'set -e'.
--
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. |
redhat.com/trusted