<div>Hi <span style="background-color: rgb(242, 242, 242);">Simone</span><span style="background-color: rgb(242, 242, 242);"> </span></div><div>thank you, I adjust time zone and time by ntpdate, # hosted-engine --deploy is work。</div><div><br></div><div><br></div><div id="origbody"><div style="background: #f2f2f2;">----- 原始邮件 -----<br>发件人:Simone Tiraboschi <stirabos@redhat.com><br>收件人:dhy336@sina.com<br>抄送人:users <users@ovirt.org><br>主题:Re: Re: Re: [ovirt-users] hosted-engine --deploy ERROR<br>日期:2018年04月10日 15点55分<br></div><br><div dir="ltr"><br><div class=""><br><div class="">On Mon, Apr 9, 2018 at 3:01 PM, <span dir="ltr"><<a target="_blank" href="mailto:dhy336@sina.com">dhy336@sina.com</a>></span> wrote:<br><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi , this issue is time zone change.</div></blockquote><div><br></div><div>I fear that the time zone change in the middle of the deployment could make the DHCP lease invalid.</div><div>Did it work if you simply set the right time zone before starting the deployment?</div><div> </div><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><br></div><div id="m_-5282768888653276539origbody"><div style="background:#f2f2f2"><span class="">----- 原始邮件 -----<br>发件人:Simone Tiraboschi <<a target="_blank" href="mailto:stirabos@redhat.com">stirabos@redhat.com</a>><br>收件人:<a target="_blank" href="mailto:dhy336@sina.com">dhy336@sina.com</a><br>抄送人:users <<a target="_blank" href="mailto:users@ovirt.org">users@ovirt.org</a>><br></span>主题:Re: Re: [ovirt-users] hosted-engine --deploy ERROR<br>日期:2018年04月09日 19点47分<br></div><div><div class=""><br><div dir="ltr"><br><div><br><div>On Mon, Apr 9, 2018 at 1:14 PM, <span dir="ltr"><<a target="_blank" href="mailto:dhy336@sina.com">dhy336@sina.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, that is my log.<br></blockquote><div><br></div><div><br></div><div>Is this real:</div><div><div>2018-04-09 08:33:07,333+0800 INFO otopi.ovirt_hosted_engine_<wbr>setup.ansible_utils ansible_utils._process_output:<wbr>100 TASK [Get ovirtmgmt route table id]</div><div>2018-04-09 16:35:22,495+0800 INFO otopi.ovirt_hosted_engine_<wbr>setup.ansible_utils ansible_utils._process_output:<wbr>100 changed: [localhost]</div><div>2018-04-09 16:35:22,800+0800 DEBUG otopi.ovirt_hosted_engine_<wbr>setup.ansible_utils ansible_utils._process_output:<wbr>94 TASK [debug]</div><div>2018-04-09 16:35:22,901+0800 DEBUG otopi.ovirt_hosted_engine_<wbr>setup.ansible_utils ansible_utils._process_output:<wbr>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'}</div></div><div><br></div><div>Did it really took 8 hours for that or the system time changed in the middle for external reasons?</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="m_-5282768888653276539gmail-m_1377596626580634702origbody"><div style="background:rgb(242,242,242)">----- 原始邮件 -----<br>发件人:Simone Tiraboschi <<a target="_blank" href="mailto:stirabos@redhat.com">stirabos@redhat.com</a>><br>收件人:<a target="_blank" href="mailto:dhy336@sina.com">dhy336@sina.com</a><br>抄送人:users <<a target="_blank" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>主题:Re: [ovirt-users] hosted-engine --deploy ERROR<br>日期:2018年04月09日 18点31分<br></div><div><div><br><div dir="ltr"><br><div><br><div>On Mon, Apr 9, 2018 at 11:05 AM, <span dir="ltr"><<a target="_blank" href="mailto:dhy336@sina.com">dhy336@sina.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi</div><div><br></div><div>my node is installed by ovirt-node-ng-installer-ovirt-<wbr>4.2-2018021412.iso, and I deploy hosted-engine, </div><div># hosted-engine --deploy</div><div><br></div><div><br></div><div><div>[ INFO ] changed: [localhost]</div><div>[ INFO ] TASK [Clean /etc/hosts for the engine VM]</div><div>[ INFO ] changed: [localhost]</div><div>[ INFO ] TASK [Copy /etc/hosts back to the engine VM]</div><div>[ INFO ] changed: [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-engin<wbr>e-setup/ansible/create_target_<wbr>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.AnsibleUndefin<wbr>edVariable'>\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-<wbr>setup/answers/answers-20180409<wbr>164100.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-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20180409080454-uts7by.log</div></div><div><br></div><br></blockquote><div><br></div><div>Hi,</div><div>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.</div><div><br></div><div>Can you please attach the whole log file?</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">______________________________<wbr>_________________<br>
Users mailing list<br>
<a target="_blank" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a target="_blank" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div></div>
</div></div></div></blockquote></div><br></div></div>
</div></div></div></blockquote></div><br></div></div>
</div>