<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! => {"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-engine-setup/ansible/create_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.AnsibleUndefinedVariable'>\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-setup/answers/answers-20180425125000.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-setup/ovirt-hosted-engine-setup-20180425043425-savh7b.log</div><div><br></div>