<div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="arial, helvetica, sans-serif">Hi,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">you have hit a bug, that is already fixed:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1518887">https://bugzilla.redhat.com/show_bug.cgi?id=1518887</a></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Maybe you are running ovirt-engine verison 4.2 or above, but the host was not yet updated to 4.2 ?</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Updating the host will fix this.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Andrej</font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 April 2018 at 05:21,  <span dir="ltr">&lt;<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi, my hosted-engine is working, but after more than one hour,  the hosted-engine status is false, but hosted-engine is work,  I can visit webadmin UI,</div><div>additional, demaon server &quot;ovirt-ha-broker&quot;  is not run, I try to restart it, find some error.</div><div><br></div><div>should I debug ovirt-ha-broker and ovirt-ha-agent?</div><div><br></div><div>thanks...</div><div><br></div><div>Logs:</div><div><br></div><div>[root@hosted-engine1 ~]# hosted-engine --vm-status</div><div><br></div><div><br></div><div>--== Host 1 status ==--</div><div><br></div><div>conf_on_shared_storage             : True</div><div>Status up-to-date                  : False</div><div>Hostname                           : hosted-engine1</div><div>Host ID                            : 1</div><div>Engine status                      : unknown stale-data</div><div>Score                              : 3400</div><div>stopped                            : False</div><div>Local maintenance                  : False</div><div>crc32                              : 2f3d4df9</div><div>local_conf_timestamp               : 5238</div><div>Host timestamp                     : 5235</div><div>Extra metadata (valid at timestamp):</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>metadata_parse_version=1</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>metadata_feature_version=1</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>timestamp=5235 (Wed Apr 18 23:27:00 2018)</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>host-id=1</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>score=3400</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>vm_conf_refresh_time=5238 (Wed Apr 18 23:27:02 2018)</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>conf_on_shared_storage=True</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>maintenance=False</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>state=EngineUp</div><div><span class="m_-6063614584416282716Apple-tab-span" style="white-space:pre-wrap">        </span>stopped=False</div><div>[root@hosted-engine1 ~]# </div><div>[root@hosted-engine1 ~]# </div><div>[root@hosted-engine1 ~]# </div><div>[root@hosted-engine1 ~]# systemctl restart ovirt-ha-broker</div><div>[root@hosted-engine1 ~]# journalctl -xe</div><div>-- Defined-By: systemd</div><div>-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a></div><div>-- </div><div>-- Unit mom-vdsm.service has begun starting up.</div><div>Apr 19 11:06:20 hosted-engine1 vdsm[4733]: WARN ping was deprecated in favor of ping2 and confirmConnectivity</div><div>Apr 19 11:06:30 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed</div><div>Apr 19 11:06:34 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>hosted_engine.HostedEngine ERROR Unable to refresh vm.conf from the shared storage. Has this HE cluster correctly</div><div>Apr 19 11:06:36 hosted-engine1 vdsm[4733]: WARN unhandled write event</div><div>Apr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>agent.Agent ERROR Traceback (most recent call last):</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/agent/agent.py&quot;, line 191, in _run_agent</div><div>                                                          return action(he)</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/agent/agent.py&quot;, line 64, in action_proper</div><div>                                                          return he.start_monitoring()</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/agent/hosted_engine.py&quot;, line 421, in start_monitoring</div><div>                                                          self._config.refresh_vm_conf()</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/env/config.py&quot;, line 492, in refresh_vm_conf</div><div>                                                          content_from_ovf = self._get_vm_conf_content_<wbr>from_ovf_store()</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/env/config.py&quot;, line 438, in _get_vm_conf_content_from_ovf_<wbr>store</div><div>                                                          conf = ovf2VmParams.confFromOvf(<wbr>heovf)</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/lib/ovf/ovf2VmParams.py&quot;, line 283, in confFromOvf</div><div>                                                          vmConf = toDict(ovf)</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/lib/ovf/ovf2VmParams.py&quot;, line 210, in toDict</div><div>                                                          vmParams[&#39;vmId&#39;] = tree.find(&#39;Content/Section&#39;).<wbr>attrib[OVF_NS + &#39;id&#39;]</div><div>                                                        File &quot;lxml.etree.pyx&quot;, line 2272, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:55336)</div><div>                                                      KeyError: &#39;{<a href="http://schemas.dmtf.org/ovf/envelope/1/%7Did" target="_blank">http://schemas.dmtf.org/ovf/<wbr>envelope/1/}id</a>&#39;</div><div>Apr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>agent.Agent ERROR Trying to restart agent</div><div>Apr 19 11:06:45 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed</div><div>Apr 19 11:06:46 hosted-engine1 systemd[1]: mom-vdsm.service holdoff time over, scheduling restart.</div><div>Apr 19 11:06:46 hosted-engine1 systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked.</div><div>Apr 19 11:06:46 hosted-engine1 systemd[1]: Started MOM instance configured for VDSM purposes.</div><div>-- Subject: Unit mom-vdsm.service has finished start-up</div><div>-- Defined-By: systemd</div><div>-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a></div><div>-- </div><div>-- Unit mom-vdsm.service has finished starting up.</div><div>-- </div><div>-- The start-up result is done.</div><div>Apr 19 11:06:46 hosted-engine1 systemd[1]: Starting MOM instance configured for VDSM purposes...</div><div>-- Subject: Unit mom-vdsm.service has begun start-up</div><div>-- Defined-By: systemd</div><div>-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a></div><div>-- </div><div>-- Unit mom-vdsm.service has begun starting up.</div><div>Apr 19 11:06:47 hosted-engine1 vdsm[4733]: WARN ping was deprecated in favor of ping2 and confirmConnectivity</div><div>lines 3619-3662/3662 (END)</div><div>-- Defined-By: systemd</div><div>-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a></div><div>-- </div><div>-- Unit mom-vdsm.service has begun starting up.</div><div>Apr 19 11:06:20 hosted-engine1 vdsm[4733]: WARN ping was deprecated in favor of ping2 and confirmConnectivity</div><div>Apr 19 11:06:30 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed</div><div>Apr 19 11:06:34 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>hosted_engine.HostedEngine ERROR Unable to refresh v</div><div>Apr 19 11:06:36 hosted-engine1 vdsm[4733]: WARN unhandled write event</div><div>Apr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>agent.Agent ERROR Traceback (most recent call last):</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/agent/agent.py&quot;, line 191, in _r</div><div>                                                          return action(he)</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/agent/agent.py&quot;, line 64, in act</div><div>                                                          return he.start_monitoring()</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/agent/hosted_engine.py&quot;, line 42</div><div>                                                          self._config.refresh_vm_conf()</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/env/config.py&quot;, line 492, in ref</div><div>                                                          content_from_ovf = self._get_vm_conf_content_<wbr>from_ovf_store()</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/env/config.py&quot;, line 438, in _ge</div><div>                                                          conf = ovf2VmParams.confFromOvf(<wbr>heovf)</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/lib/ovf/ovf2VmParams.py&quot;, line 2</div><div>                                                          vmConf = toDict(ovf)</div><div>                                                        File &quot;/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>ha/lib/ovf/ovf2VmParams.py&quot;, line 2</div><div>                                                          vmParams[&#39;vmId&#39;] = tree.find(&#39;Content/Section&#39;).<wbr>attrib[OVF_NS + &#39;id&#39;]</div><div>                                                        File &quot;lxml.etree.pyx&quot;, line 2272, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:553</div><div>                                                      KeyError: &#39;{<a href="http://schemas.dmtf.org/ovf/envelope/1/%7Did" target="_blank">http://schemas.dmtf.org/ovf/<wbr>envelope/1/}id</a>&#39;</div><div>Apr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>agent.Agent ERROR Trying to restart agent</div><div>Apr 19 11:06:45 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed</div><div>Apr 19 11:06:46 hosted-engine1 systemd[1]: mom-vdsm.service holdoff time over, scheduling restart.</div><div>Apr 19 11:06:46 hosted-engine1 systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked.</div><div>Apr 19 11:06:46 hosted-engine1 systemd[1]: Started MOM instance configured for VDSM purposes.</div><div><br></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>