<div dir="ltr"><div><div>Hi, <br><br></div>Shirly looked at the issue and she thinks that its related to bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1540260">https://bugzilla.redhat.com/show_bug.cgi?id=1540260</a><br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 28, 2018 at 12:36 PM, Dafna Ron <span dir="ltr">&lt;<a href="mailto:dron@redhat.com" target="_blank">dron@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"><div><div>Hi, <br><br></div>We have a failure in test 002_bootstrap.verify_add_<wbr>hosts. <br><br></div>the issue seems to be a miss-configured role in ansible<br><br><br><b style="font-weight:normal" id="m_7124073658639926859gmail-docs-internal-guid-e8ba4241-dc66-699a-a2e8-1c5f4a8857c4"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Link and headline of suspected patches: </span></p></b><b style="font-weight:normal" id="m_7124073658639926859gmail-docs-internal-guid-e8ba4241-dc66-699a-a2e8-1c5f4a8857c4">Remove use of end_play and fail module - <a href="https://gerrit.ovirt.org/#/c/88250/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>88250/</a><br><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);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><a href="http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-4.2_change-queue-tester/<wbr>950/</a><br><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);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><a href="http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/artifacts" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-4.2_change-queue-tester/<wbr>950/artifacts</a><br><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);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><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">&lt;error&gt;</span></p><br></b><br><pre>2018-02-28 05:01:29,984 p=17139 u=ovirt |  TASK [oVirt.ovirt-include-vars-<wbr>files : Include oVirt metrics config.yml.d vars directory] ***
2018-02-28 05:01:30,007 p=17139 u=ovirt |  ok: [lago-basic-suite-4-2-host-0 -&gt; localhost] =&gt; {
    &quot;ansible_facts&quot;: {}, 
    &quot;ansible_included_var_files&quot;: [], 
    &quot;changed&quot;: false
}
2018-02-28 05:01:30,016 p=17139 u=ovirt |  TASK [oVirt.ovirt-initial-<wbr>validations/validate-config-<wbr>yml : If output plugin is elasticsearch, validate host address is set] ***
2018-02-28 05:01:30,047 p=17139 u=ovirt |  changed: [lago-basic-suite-4-2-host-0 -&gt; localhost] =&gt; {}

MSG:

ERROR oVirt Metrics store is not configured. This host will not be configured to send metrics

2018-02-28 05:01:30,056 p=17139 u=ovirt |  TASK [oVirt.ovirt-initial-<wbr>validations/validate-config-<wbr>yml : If output plugin is fluentd, validate host address is set] ***
2018-02-28 05:01:30,073 p=17139 u=ovirt |  skipping: [lago-basic-suite-4-2-host-0] =&gt; {
    &quot;changed&quot;: false, 
    &quot;skip_reason&quot;: &quot;Conditional result was False&quot;
}
2018-02-28 05:01:30,082 p=17139 u=ovirt |  TASK [oVirt.ovirt-initial-<wbr>validations/validate-config-<wbr>yml : Validate viaq_metrics_store parameter is set] ***
2018-02-28 05:01:30,111 p=17139 u=ovirt |  changed: [lago-basic-suite-4-2-host-0 -&gt; localhost] =&gt; {}

MSG:

ERROR viaq_metrics_store parameter is mandatory. Please set the parameter to &#39;true&#39; or &#39;false&#39;.

2018-02-28 05:01:30,119 p=17139 u=ovirt |  TASK [oVirt.ovirt-initial-<wbr>validations/validate-config-<wbr>yml : Validate viaq_metrics_store parameter] ***
2018-02-28 05:01:30,137 p=17139 u=ovirt |  skipping: [lago-basic-suite-4-2-host-0] =&gt; {
    &quot;changed&quot;: false, 
    &quot;skip_reason&quot;: &quot;Conditional result was False&quot;
}
2018-02-28 05:01:30,146 p=17139 u=ovirt |  TASK [oVirt.ovirt-initial-<wbr>validations/validate-config-<wbr>yml : Validate openshift_deployment_type parameter is set] ***
2018-02-28 05:01:30,168 p=17139 u=ovirt |  fatal: [lago-basic-suite-4-2-host-0]: FAILED! =&gt; {}

MSG:

The conditional check &#39;viaq_metrics_store == true&#39; failed. The error was: error while evaluating conditional (viaq_metrics_store == true): &#39;viaq_metrics_store&#39; is undefined

The error appears to have been in &#39;/usr/share/ansible/roles/<wbr>oVirt.metrics/roles/oVirt.<wbr>ovirt-initial-validations/<wbr>validate-config-yml/tasks/<wbr>main.yml&#39;: line 48, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: &quot;Validate openshift_deployment_type parameter is set&quot;
  ^ here

</pre><b style="font-weight:normal" id="m_7124073658639926859gmail-docs-internal-guid-e8ba4241-dc66-699a-a2e8-1c5f4a8857c4"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">&lt;/error&gt;</span></p></b><b style="font-weight:normal" id="m_7124073658639926859gmail-docs-internal-guid-e8ba4241-dc66-699a-a2e8-1c5f4a8857c4"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Thanks, <br></span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Dafna<br></span></p><br></b></div>
</blockquote></div><br></div>