Hi,
I'm sorry to hear you're having trouble. Could you please tell me the
version of ovirt-hosted-engine-setup that you're using and provide the log
file located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-
setup-20180425043425-savh7b.log?
Thanks!
-Phillip Bailey
On Wed, Apr 25, 2018 at 1:06 AM, <dhy336(a)sina.com> wrote:
Hi,
I deploy hosted engine by hosted-engine --deploy, but it go wrong .
I do not know how to debug? thanks.
[ INFO ] TASK [Clean /etc/hosts for the engine VM]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Copy /etc/hosts back to the engine VM]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Clean /etc/hosts on the host]
[ 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"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook
[ INFO ] Stage: Clean up
[ INFO ] Cleaning temporary resources
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Remove local vm dir]
[ INFO ] changed: [localhost]
[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-
setup/answers/answers-20180425125000.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: please check the logs for the
issue, fix accordingly or re-deploy from scratch.
Log file is located at /var/log/ovirt-hosted-engine-
setup/ovirt-hosted-engine-setup-20180425043425-savh7b.log
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users