<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 9, 2018 at 3:01 PM, <span dir="ltr"><<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.com</a>></span> wrote:<br><blockquote class="gmail_quote" 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="gmail_quote" 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 href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>><br>收件人:<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.com</a><br>抄送人:users <<a href="mailto:users@ovirt.org" target="_blank">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="h5"><br><div dir="ltr"><br><div><br><div>On Mon, Apr 9, 2018 at 1:14 PM, <span dir="ltr"><<a href="mailto:dhy336@sina.com" target="_blank">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 href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>><br>收件人:<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.com</a><br>抄送人:users <<a href="mailto:users@ovirt.org" target="_blank">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 href="mailto:dhy336@sina.com" target="_blank">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 href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">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>