[ovirt-users] 回复:Re: Re: Re: hosted-engine --deploy ERROR
dhy336 at sina.com
dhy336 at sina.com
Tue Apr 10 07:59:23 UTC 2018
Hi Simone thank you, I adjust time zone and time by ntpdate, # hosted-engine --deploy is work。
----- 原始邮件 -----
发件人:Simone Tiraboschi <stirabos at redhat.com>
收件人:dhy336 at sina.com
抄送人:users <users at ovirt.org>
主题:Re: Re: Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月10日 15点55分
On Mon, Apr 9, 2018 at 3:01 PM, <dhy336 at sina.com> wrote:
Hi , this issue is time zone change.
I fear that the time zone change in the middle of the deployment could make the DHCP lease invalid.Did it work if you simply set the right time zone before starting the deployment?
----- 原始邮件 -----
发件人:Simone Tiraboschi <stirabos at redhat.com>
收件人:dhy336 at sina.com
抄送人:users <users at ovirt.org>
主题:Re: Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月09日 19点47分
On Mon, Apr 9, 2018 at 1:14 PM, <dhy336 at 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 <stirabos at redhat.com>
收件人:dhy336 at sina.com
抄送人:users <users at ovirt.org>
主题:Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月09日 18点31分
On Mon, Apr 9, 2018 at 11:05 AM, <dhy336 at 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-setup/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 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/20180410/a8eab5e1/attachment.html>
More information about the Users
mailing list