<div dir="ltr">If you did not install the Openshift based metrics store you need to remove the /etc/ovirt-engine-metrics-config.yml file.<div>It is only required while setting up the metrics store.</div><div><br></div><div>This should fix you host install issue, ansible will skip the roles related to the metrics configuration on the host.</div><div>If you are interested in setting up the metrics store you can have a look at <a href="https://www.ovirt.org/develop/release-management/features/metrics/metrics-store/">https://www.ovirt.org/develop/release-management/features/metrics/metrics-store/</a></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><pre cols="72" style="white-space:pre-wrap"><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px"><font color="#666666">--</font></span></pre><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SHIRLY</span> <span>RADCO</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>BI SeNIOR SOFTWARE ENGINEER</span><span style="color:rgb(170,170,170);margin:0px"></span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px;text-decoration:none" target="_blank">Red Hat <span>Israel</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="text-decoration:none;color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, May 4, 2018 at 1:20 AM, Young, Matthew (Numerical Algorithms Group) <span dir="ltr"><<a href="mailto:Matthew.Young3@bp.com" target="_blank">Matthew.Young3@bp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-5288749359728388241WordSection1">
<p class="MsoNormal">I’ve gotten past that error with “oc delete route/docker-registry” before restart the playbook<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Matt<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Young, Matthew (Numerical Algorithms Group) <br>
<b>Sent:</b> Thursday, May 3, 2018 4:02 PM<br>
<b>To:</b> 'Shirly Radco' <<a href="mailto:sradco@redhat.com" target="_blank">sradco@redhat.com</a>><br>
<b>Cc:</b> users <<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br>
<b>Subject:</b> RE: [ovirt-users] ansible failure during host install<u></u><u></u></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Ovirt-engine-metrics v1.1.3.4<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">/etc/ovirt-engine-metrics/<wbr>config.yml:<u></u><u></u></p>
<p class="MsoNormal"> ovirt_env_name: data-science-sandbox<u></u><u></u></p>
<p class="MsoNormal"> fluentd_elasticsearch_host: <a href="http://ovirt-metrics.datasci.bp.com" target="_blank">ovirt-metrics.datasci.bp.com</a><u></u><u></u></p>
<p class="MsoNormal"> ovirt_elasticsearch_mounted_<wbr>storage_path: /data<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have not gotten the openshift based metrics store running. It is consistently timing out while performing “TASK [openshift_hosted : Configure a passthrough route for docker-registry].”<u></u><u></u></p>
<p class="MsoNormal">Failure summary:<u></u><u></u></p>
<p class="MsoNormal"> 1. Hosts: localhost<u></u><u></u></p>
<p class="MsoNormal"> Play: Create Hosted Resources - registry<u></u><u></u></p>
<p class="MsoNormal"> Task: Configure a passthrough route for docker-registry<u></u><u></u></p>
<p class="MsoNormal"> Message: {u'cmd': u'/usr/bin/oc replace -f /tmp/docker-registry-DtGZqz --force -n default', u'returncode': 1, u'results': {}, u'stderr': u'error: timed out waiting for the condition\n', u'stdout': u'route "docker-registry" deleted\n'}<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Matt Young <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>From:</b> Shirly Radco <<a href="mailto:sradco@redhat.com" target="_blank">sradco@redhat.com</a>>
<br>
<b>Sent:</b> Thursday, April 12, 2018 4:04 PM<br>
<b>To:</b> Young, Matthew (Numerical Algorithms Group) <<a href="mailto:Matthew.Young3@bp.com" target="_blank">Matthew.Young3@bp.com</a>><br>
<b>Cc:</b> users <<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br>
<b>Subject:</b> Re: [ovirt-users] ansible failure during host install<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What version of ovirt-engine-metrics are you using?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Did you already setup the OpenShift based metrics store to connect to?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Have you configured /etc/ovirt-engine-metrics/<wbr>config.yml?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">--<br>
<br>
SHIRLY RADCO<br>
<br>
BI SENIOR SOFTWARE ENGINEER<br>
<br>
Red Hat Israel<br>
<br>
<br>
TRIED. TESTED. TRUSTED.<br>
<br>
<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Thu, Apr 12, 2018, 21:35 Young, Matthew (Numerical Algorithms Group) <<a href="mailto:Matthew.Young3@bp.com" target="_blank">Matthew.Young3@bp.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Hello all,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I have been working on adding a new host to an oVirt cluster. The installation is failing in the ansible portion, specifically installing the ansible elasticsearch ca cert. I
have no experience with ansible. Does anyone know what is causing this issue? Or how to create this ca cert?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">**** from ansible log****<u></u><u></u></p>
<p class="MsoNormal">…<u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,114 p=56616 u=ovirt | TASK [oVirt.ovirt-fluentd/fluentd-<wbr>setup : Create fluentd.conf] *****************<u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,730 p=56616 u=ovirt | ok: [10.222.10.156] => {<u></u><u></u></p>
<p class="MsoNormal"> "changed": false,<u></u><u></u></p>
<p class="MsoNormal"> "checksum": "<wbr>c9f88b60cd12ab8e3f3ffce1ae0765<wbr>4c89b06ef6",<u></u><u></u></p>
<p class="MsoNormal"> "gid": 0,<u></u><u></u></p>
<p class="MsoNormal"> "group": "root",<u></u><u></u></p>
<p class="MsoNormal"> "mode": "0640",<u></u><u></u></p>
<p class="MsoNormal"> "owner": "root",<u></u><u></u></p>
<p class="MsoNormal"> "path": "/etc/fluentd/fluent.conf",<u></u><u></u></p>
<p class="MsoNormal"> "secontext": "system_u:object_r:etc_t:s0",<u></u><u></u></p>
<p class="MsoNormal"> "size": 58,<u></u><u></u></p>
<p class="MsoNormal"> "state": "file",<u></u><u></u></p>
<p class="MsoNormal"> "uid": 0<u></u><u></u></p>
<p class="MsoNormal">}<u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,739 p=56616 u=ovirt | TASK [oVirt.ovirt-fluentd/fluentd-<wbr>setup : Install fluentd certificate] *********<u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,759 p=56616 u=ovirt | skipping: [10.222.10.156] => {<u></u><u></u></p>
<p class="MsoNormal"> "changed": false,<u></u><u></u></p>
<p class="MsoNormal"> "skip_reason": "Conditional result was False"<u></u><u></u></p>
<p class="MsoNormal">}<u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,768 p=56616 u=ovirt | TASK [oVirt.ovirt-fluentd/fluentd-<wbr>setup : Install fluentd elasticsearch CA certificate] ***<u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,810 p=56616 u=ovirt | fatal: [10.222.10.156]: FAILED! => {<u></u><u></u></p>
<p class="MsoNormal"> "changed": false<u></u><u></u></p>
<p class="MsoNormal">}<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">MSG:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">src (or content) is required<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,812 p=56616 u=ovirt | PLAY RECAP ******************************<wbr>******************************<wbr>*********<u></u><u></u></p>
<p class="MsoNormal">2018-04-12 09:32:18,812 p=56616 u=ovirt | 10.222.10.156 : ok=33 changed=4 unreachable=0 failed=1<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">************<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>