[ovirt-users] hosted-engine some errors

Phillip Bailey phbailey at redhat.com
Wed Apr 25 13:09:33 UTC 2018


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 at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180425/8fd7c0e6/attachment.html>


More information about the Users mailing list