<div dir="ltr">Hi,<div><br></div><div>I&#39;m sorry to hear you&#39;re having trouble. Could you please tell me the version of ovirt-hosted-engine-setup that you&#39;re using and provide the log file located at <span style="font-size:12.8px">/var/log/ovirt-hosted-engine-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setup/ovirt-hosted-engine-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setup-20180425043425-savh7b.</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">log?</span><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks!</span></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-Phillip Bailey</div></div></div>
<br><div class="gmail_quote">On Wed, Apr 25, 2018 at 1:06 AM,  <span dir="ltr">&lt;<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.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>Hi, </div><div> I deploy hosted engine by hosted-engine --deploy,  but it go wrong .</div><div> </div><div>I do not know how to debug? thanks.</div><div><br></div><div>[ INFO  ] TASK [Clean /etc/hosts for the engine VM]</div><div>[ INFO  ] skipping: [localhost]</div><div>[ INFO  ] TASK [Copy /etc/hosts back to the engine VM]</div><div>[ INFO  ] skipping: [localhost]</div><div>[ INFO  ] TASK [Clean /etc/hosts on the host]</div><div>[ ERROR ] fatal: [localhost]: FAILED! =&gt; {&quot;msg&quot;: &quot;The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to have been in &#39;/usr/share/ovirt-hosted-<wbr>engine-setup/ansible/create_<wbr>target_vm.yml&#39;: line 265, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n    tags: [ &#39;skip_ansible_lint&#39; ]\n  - name: Clean /etc/hosts on the host\n    ^ here\n\nexception type: &lt;class &#39;ansible.errors.<wbr>AnsibleUndefinedVariable&#39;&gt;\<wbr>nexception: list object has no element 0&quot;}</div><div>[ ERROR ] Failed to execute stage &#39;Closing up&#39;: Failed executing ansible-playbook</div><div>[ INFO  ] Stage: Clean up</div><div>[ INFO  ] Cleaning temporary resources</div><div>[ INFO  ] TASK [Gathering Facts]</div><div>[ INFO  ] ok: [localhost]</div><div>[ INFO  ] TASK [Remove local vm dir]</div><div>[ INFO  ] changed: [localhost]</div><div>[ INFO  ] Generating answer file &#39;/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-<wbr>20180425125000.conf&#39;</div><div>[ INFO  ] Stage: Pre-termination</div><div>[ INFO  ] Stage: Termination</div><div>[ ERROR ] Hosted Engine deployment failed: please check the logs for the issue, fix accordingly or re-deploy from scratch.</div><div>          Log file is located at /var/log/ovirt-hosted-engine-<wbr>setup/ovirt-hosted-engine-<wbr>setup-20180425043425-savh7b.<wbr>log</div><div><br></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>