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

This is a multi-part message in MIME format. --------------C919754174FE6754A6E941D5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, we had a failure in 002_bootstrap.add_dc in ovirt 4.1. I think that it's a dependency packaging issue for ruby-gem with the ovirt-host packages. ** *Link to suspected patches: https://gerrit.ovirt.org/#/c/83403/1* ** * Link to Job: * http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227 ** *Link to all logs:* * *http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/j... * * *http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exp... ** *http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/ * * * (Relevant) error snippet from the log: ** <error> *from the test: Error: The response content type 'text/html; charset=UTF-8' isn't the expected JSON looking at the logs: ---> Package ruby-irb.noarch 0:2.0.0.648-30.el7 will be installed ---> Package rubygem-json.x86_64 0:1.7.7-30.el7 will be installed --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 2017-10-31 11:18:16,122::ssh.py::ssh::96::lago.ssh::DEBUG::Command 2fed0ea0 on lago-basic-suite-4-1-host-0 errors: Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm-client >= 4.20.0 Available: vdsm-client-4.19.35-2.gitc1d5a55.el7.centos.noarch (alocalsync) vdsm-client = 4.19.35-2.gitc1d5a55.el7.centos Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm >= 4.20.0 Available: vdsm-4.19.35-2.gitc1d5a55.el7.centos.x86_64 (alocalsync) vdsm = 4.19.35-2.gitc1d5a55.el7.centos ** *</error>* ** --------------C919754174FE6754A6E941D5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>Hi, <br> </p> <p>we had a failure in 002_bootstrap.add_dc in ovirt 4.1. <br> </p> <p>I think that it's a dependency packaging issue for ruby-gem with the ovirt-host packages. <br> </p> <p><b style="font-weight:normal;" id="docs-internal-guid-5859b7a1-7246-dc32-8f4a-e8b8e6fd2969"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Link to suspected patches: <a class="moz-txt-link-freetext" href="https://gerrit.ovirt.org/#/c/83403/1">https://gerrit.ovirt.org/#/c/83403/1</a></span></p> </b><br> <b style="font-weight:normal;" id="docs-internal-guid-5859b7a1-7246-dc32-8f4a-e8b8e6fd2969"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Link to Job:</span></p> </b></p> <p><a class="moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227">http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227</a></p> <p><br> <b style="font-weight:normal;" id="docs-internal-guid-5859b7a1-7246-dc32-8f4a-e8b8e6fd2969"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Link to all logs:</span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"> </span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b><a class="moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/junit/(root)/002_bootstrap/add_dc/">http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/junit/(root)/002_bootstrap/add_dc/</a></b></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"></span></p> </b><br> <b style="font-weight:normal;" id="docs-internal-guid-5859b7a1-7246-dc32-8f4a-e8b8e6fd2969"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b><a class="moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exported-artifacts/basic-suit-4.1-el7/test_logs/basic-suite-4.1/post-002_bootstrap.py/lago_logs/lago.log">http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exported-artifacts/basic-suit-4.1-el7/test_logs/basic-suite-4.1/post-002_bootstrap.py/lago_logs/lago.log</a></b></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b> </b></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b><a class="moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/">http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/</a> </b></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"></span></p> </b><br> <b style="font-weight:normal;" id="docs-internal-guid-5859b7a1-7246-dc32-8f4a-e8b8e6fd2969"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">(Relevant) error snippet from the log: </span></p> </b><b style="font-weight:normal;" id="docs-internal-guid-5859b7a1-7246-dc32-8f4a-e8b8e6fd2969"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><error></span></p> <br> </b>from the test: <br> </p> <pre style="box-sizing: border-box; white-space: pre-wrap; word-wrap: break-word; margin: 0px; color: rgb(51, 51, 51); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Error: The response content type 'text/html; charset=UTF-8' isn't the expected JSON looking at the logs: </pre> <pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">---> Package ruby-irb.noarch 0:2.0.0.648-30.el7 will be installed ---> Package rubygem-json.x86_64 0:1.7.7-30.el7 will be installed --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 2017-10-31 11:18:16,122::ssh.py::<a class="moz-txt-link-freetext" href="ssh::96::lago.ssh::DEBUG::Command">ssh::96::lago.ssh::DEBUG::Command</a> 2fed0ea0 on lago-basic-suite-4-1-host-0 errors: Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm-client >= 4.20.0 Available: vdsm-client-4.19.35-2.gitc1d5a55.el7.centos.noarch (alocalsync) vdsm-client = 4.19.35-2.gitc1d5a55.el7.centos Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm >= 4.20.0 Available: vdsm-4.19.35-2.gitc1d5a55.el7.centos.x86_64 (alocalsync) vdsm = 4.19.35-2.gitc1d5a55.el7.centos</pre> <p><b style="font-weight:normal;" id="docs-internal-guid-5859b7a1-7246-dc32-8f4a-e8b8e6fd2969"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"></error></span></p> </b><br class="Apple-interchange-newline"> </p> </body> </html> --------------C919754174FE6754A6E941D5--

We shouldn't be installing ovirt-host (at the moment) in 4.1. If we are, it's probably because I messed up somewhere... And it should not be installed ovirt-host-4.2.0 anyway (that's not my fault, I hope!) Y. On Tue, Oct 31, 2017 at 1:57 PM, Dafna Ron <dron@redhat.com> wrote:
Hi,
we had a failure in 002_bootstrap.add_dc in ovirt 4.1.
I think that it's a dependency packaging issue for ruby-gem with the ovirt-host packages.
*Link to suspected patches: https://gerrit.ovirt.org/#/c/83403/1 <https://gerrit.ovirt.org/#/c/83403/1>*
* Link to Job: *
http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227
*Link to all logs:*
* http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/j... <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/junit/(root)/002_bootstrap/add_dc/> *
* http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exp... <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exported-artifacts/basic-suit-4.1-el7/test_logs/basic-suite-4.1/post-002_bootstrap.py/lago_logs/lago.log> http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/ <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/> *
* (Relevant) error snippet from the log: *
* <error> *from the test:
Error: The response content type 'text/html; charset=UTF-8' isn't the expected JSON
looking at the logs:
---> Package ruby-irb.noarch 0:2.0.0.648-30.el7 will be installed ---> Package rubygem-json.x86_64 0:1.7.7-30.el7 will be installed --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
2017-10-31 11:18:16,122::ssh.py::ssh::96::lago.ssh::DEBUG::Command 2fed0ea0 on lago-basic-suite-4-1-host-0 errors: Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm-client >= 4.20.0 Available: vdsm-client-4.19.35-2.gitc1d5a55.el7.centos.noarch (alocalsync) vdsm-client = 4.19.35-2.gitc1d5a55.el7.centos Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm >= 4.20.0 Available: vdsm-4.19.35-2.gitc1d5a55.el7.centos.x86_64 (alocalsync) vdsm = 4.19.35-2.gitc1d5a55.el7.centos
*</error>*
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

We shouldn't be installing ovirt-host (at the moment) in 4.1. If we are, it's probably because I messed up somewhere...
And it should not be installed ovirt-host-4.2.0 anyway (that's not my fault, I hope!) Y.
On Tue, Oct 31, 2017 at 1:57 PM, Dafna Ron <dron@redhat.com> wrote:
Hi,
we had a failure in 002_bootstrap.add_dc in ovirt 4.1.
I think that it's a dependency packaging issue for ruby-gem with the ovirt-host packages.
*Link to suspected patches: https://gerrit.ovirt.org/#/c/83403/1 <https://gerrit.ovirt.org/#/c/83403/1>*
* Link to Job: *
http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227
*Link to all logs:*
* http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/j... <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/junit/(root)/002_bootstrap/add_dc/> *
* http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exp... <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exported-artifacts/basic-suit-4.1-el7/test_logs/basic-suite-4.1/post-002_bootstrap.py/lago_logs/lago.log> http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/ <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/> *
* (Relevant) error snippet from the log: *
* <error> *from the test:
Error: The response content type 'text/html; charset=UTF-8' isn't the expected JSON
looking at the logs:
---> Package ruby-irb.noarch 0:2.0.0.648-30.el7 will be installed ---> Package rubygem-json.x86_64 0:1.7.7-30.el7 will be installed --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
2017-10-31 11:18:16,122::ssh.py::ssh::96::lago.ssh::DEBUG::Command 2fed0ea0 on lago-basic-suite-4-1-host-0 errors: Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync)
We need to findout why ovirt-host 4.2 is avaialble on 4.1 repo, this is
On Tue, Oct 31, 2017 at 3:04 PM, Yaniv Kaul <ykaul@redhat.com> wrote: probably the issue.
Requires: vdsm-client >= 4.20.0
Available: vdsm-client-4.19.35-2.gitc1d5a55.el7.centos.noarch (alocalsync) vdsm-client = 4.19.35-2.gitc1d5a55.el7.centos Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm >= 4.20.0 Available: vdsm-4.19.35-2.gitc1d5a55.el7.centos.x86_64 (alocalsync) vdsm = 4.19.35-2.gitc1d5a55.el7.centos
*</error>*
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal edri MANAGER RHV DevOps EMEA VIRTUALIZATION R&D Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)

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 On Tue, Oct 31, 2017 at 3:13 PM, Eyal Edri <eedri@redhat.com> wrote:
On Tue, Oct 31, 2017 at 3:04 PM, Yaniv Kaul <ykaul@redhat.com> wrote:
We shouldn't be installing ovirt-host (at the moment) in 4.1. If we are, it's probably because I messed up somewhere...
And it should not be installed ovirt-host-4.2.0 anyway (that's not my fault, I hope!) Y.
On Tue, Oct 31, 2017 at 1:57 PM, Dafna Ron <dron@redhat.com> wrote:
Hi,
we had a failure in 002_bootstrap.add_dc in ovirt 4.1.
I think that it's a dependency packaging issue for ruby-gem with the ovirt-host packages.
*Link to suspected patches: https://gerrit.ovirt.org/#/c/83403/1 <https://gerrit.ovirt.org/#/c/83403/1>*
* Link to Job: *
http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227
*Link to all logs:*
* http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/j... <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/testReport/junit/(root)/002_bootstrap/add_dc/> *
* http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exp... <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/exported-artifacts/basic-suit-4.1-el7/test_logs/basic-suite-4.1/post-002_bootstrap.py/lago_logs/lago.log> http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/ <http://jenkins.ovirt.org/job/ovirt-4.1_change-queue-tester/1227/artifact/> *
* (Relevant) error snippet from the log: *
* <error> *from the test:
Error: The response content type 'text/html; charset=UTF-8' isn't the expected JSON
looking at the logs:
---> Package ruby-irb.noarch 0:2.0.0.648-30.el7 will be installed ---> Package rubygem-json.x86_64 0:1.7.7-30.el7 will be installed --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
2017-10-31 11:18:16,122::ssh.py::ssh::96::lago.ssh::DEBUG::Command 2fed0ea0 on lago-basic-suite-4-1-host-0 errors: Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync)
We need to findout why ovirt-host 4.2 is avaialble on 4.1 repo, this is probably the issue.
Requires: vdsm-client >= 4.20.0
Available: vdsm-client-4.19.35-2.gitc1d5a55.el7.centos.noarch (alocalsync) vdsm-client = 4.19.35-2.gitc1d5a55.el7.centos Error: Package: ovirt-host-4.2.0-0.0.master.20171019135233.git1921fc6.el7.centos.noarch (alocalsync) Requires: vdsm >= 4.20.0 Available: vdsm-4.19.35-2.gitc1d5a55.el7.centos.x86_64 (alocalsync) vdsm = 4.19.35-2.gitc1d5a55.el7.centos
*</error>*
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
--
Eyal edri
MANAGER
RHV DevOps
EMEA VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> phone: +972-9-7692018 <+972%209-769-2018> irc: eedri (on #tlv #rhev-dev #rhev-integ)
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- *GAL bEN HAIM* RHV DEVOPS

On 31 October 2017 at 17:56, Gal Ben Haim <gbenhaim@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

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@redhat.com> wrote:
On 31 October 2017 at 17:56, Gal Ben Haim <gbenhaim@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (6)
-
Barak Korren
-
Dafna Ron
-
Eyal Edri
-
Gal Ben Haim
-
Yaniv Kaul
-
Yuval Turgeman