On Mon, Apr 9, 2018 at 1:14 PM, <dhy...@sina.com> wrote:

> Hi, that is my log.
>


Is this real:
2018-04-09 08:33:07,333+0800 INFO
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Get ovirtmgmt route table id]
2018-04-09 16:35:22,495+0800 INFO
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 changed: [localhost]
2018-04-09 16:35:22,800+0800 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 TASK [debug]
2018-04-09 16:35:22,901+0800 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 ovirtmgmt_table_id: {'stderr_lines': [],
u'changed': True, u'end': u'2018-04-09 16:35:22.316121', u'stdout':
u'3232266921', u'cmd': u"ip rule list | grep ovirtmgmt | sed
s/\\\\[.*\\\\]\\ //g | awk '{ print $9 }'", 'failed': False, 'attempts':
14, u'stderr': u'', u'rc': 0, u'delta': u'0:00:00.012578', 'stdout_lines':
[u'3232266921'], u'start': u'2018-04-09 16:35:22.303543'}

Did it really took 8 hours for that or the system time changed in the
middle for external reasons?


> ----- 原始邮件 -----
> 发件人:Simone Tiraboschi <stira...@redhat.com>
> 收件人:dhy...@sina.com
> 抄送人:users <users@ovirt.org>
> 主题:Re: [ovirt-users] hosted-engine --deploy ERROR
> 日期:2018年04月09日 18点31分
>
>
>
> On Mon, Apr 9, 2018 at 11:05 AM, <dhy...@sina.com> wrote:
>
> Hi
>
> my node is installed by ovirt-node-ng-installer-ovirt-4.2-2018021412.iso,
>  and I deploy hosted-engine,
> # hosted-engine --deploy
>
>
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [Clean /etc/hosts for the engine VM]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [Copy /etc/hosts back to the engine VM]
> [ INFO  ] changed: [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-20180409164100.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-s
> etup/ovirt-hosted-engine-setup-20180409080454-uts7by.log
>
>
>
> Hi,
> 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.
>
> Can you please attach the whole log file?
>
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to