[ovirt-devel] [ OST Failure Report ] [ oVirt 4.1] [ 31 Oct 2017 ] [ 002_bootstrap.add_dc ]

Yuval Turgeman yuvalt at redhat.com
Wed Nov 1 07:47:40 UTC 2017


I think you need to change the external bash call from `bash -s` to `bash
-se`

On Tue, Oct 31, 2017 at 10:03 PM, Barak Korren <bkorren at redhat.com> wrote:

>
>
> On 31 October 2017 at 17:56, Gal Ben Haim <gbenhaim at 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
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20171101/465867d8/attachment.html>


More information about the Infra mailing list