<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 9, 2018 at 11:05 AM, <span dir="ltr"><<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.com</a>></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><br></div><div>my node is installed by ovirt-node-ng-installer-ovirt-<wbr>4.2-2018021412.iso, and I deploy hosted-engine, </div><div># hosted-engine --deploy</div><div><br></div><div><br></div><div><div>[ INFO ] changed: [localhost]</div><div>[ INFO ] TASK [Clean /etc/hosts for the engine VM]</div><div>[ INFO ] changed: [localhost]</div><div>[ INFO ] TASK [Copy /etc/hosts back to the engine VM]</div><div>[ INFO ] changed: [localhost]</div><div>[ INFO ] TASK [Clean /etc/hosts on the host]</div><div>[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "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 '/usr/share/ovirt-hosted-<wbr>engine-setup/ansible/create_<wbr>target_vm.yml': 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: [ 'skip_ansible_lint' ]\n - name: Clean /etc/hosts on the host\n ^ here\n\nexception type: <class 'ansible.errors.<wbr>AnsibleUndefinedVariable'>\<wbr>nexception: list object has no element 0"}</div><div>[ ERROR ] Failed to execute stage 'Closing up': 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 '/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-<wbr>20180409164100.conf'</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-20180409080454-uts7by.<wbr>log</div></div><div><br></div><br></blockquote><div><br></div><div>Hi,</div><div>according to the error it seams that the playbook wasn't able to fetch the IP address got by the local VM on the default libvirt natted network but it's pretty strange since it shouldn't reach that stage in that case.</div><div><br></div><div>Can you please attach the whole log file?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">______________________________<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></div>