[ovirt-users] ovirt-ha-broker not work
dhy336 at sina.com
dhy336 at sina.com
Thu Apr 19 03:21:12 UTC 2018
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,additional, demaon server "ovirt-ha-broker" is not run, I try to restart it, find some error.
should I debug ovirt-ha-broker and ovirt-ha-agent?
thanks...
Logs:
[root at hosted-engine1 ~]# hosted-engine --vm-status
--== Host 1 status ==--
conf_on_shared_storage : TrueStatus up-to-date : FalseHostname : hosted-engine1Host ID : 1Engine status : unknown stale-dataScore : 3400stopped : FalseLocal maintenance : Falsecrc32 : 2f3d4df9local_conf_timestamp : 5238Host timestamp : 5235Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=5235 (Wed Apr 18 23:27:00 2018) host-id=1 score=3400 vm_conf_refresh_time=5238 (Wed Apr 18 23:27:02 2018) conf_on_shared_storage=True maintenance=False state=EngineUp stopped=False[root at hosted-engine1 ~]# [root at hosted-engine1 ~]# [root at hosted-engine1 ~]# [root at hosted-engine1 ~]# systemctl restart ovirt-ha-broker[root at hosted-engine1 ~]# journalctl -xe-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit mom-vdsm.service has begun starting up.Apr 19 11:06:20 hosted-engine1 vdsm[4733]: WARN ping was deprecated in favor of ping2 and confirmConnectivityApr 19 11:06:30 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speedApr 19 11:06:34 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Unable to refresh vm.conf from the shared storage. Has this HE cluster correctlyApr 19 11:06:36 hosted-engine1 vdsm[4733]: WARN unhandled write eventApr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 191, in _run_agent return action(he) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 64, in action_proper return he.start_monitoring() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 421, in start_monitoring self._config.refresh_vm_conf() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 492, in refresh_vm_conf content_from_ovf = self._get_vm_conf_content_from_ovf_store() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 438, in _get_vm_conf_content_from_ovf_store conf = ovf2VmParams.confFromOvf(heovf) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 283, in confFromOvf vmConf = toDict(ovf) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 210, in toDict vmParams['vmId'] = tree.find('Content/Section').attrib[OVF_NS + 'id'] File "lxml.etree.pyx", line 2272, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:55336) KeyError: '{http://schemas.dmtf.org/ovf/envelope/1/}id'Apr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agentApr 19 11:06:45 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speedApr 19 11:06:46 hosted-engine1 systemd[1]: mom-vdsm.service holdoff time over, scheduling restart.Apr 19 11:06:46 hosted-engine1 systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked.Apr 19 11:06:46 hosted-engine1 systemd[1]: Started MOM instance configured for VDSM purposes.-- Subject: Unit mom-vdsm.service has finished start-up-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit mom-vdsm.service has finished starting up.-- -- The start-up result is done.Apr 19 11:06:46 hosted-engine1 systemd[1]: Starting MOM instance configured for VDSM purposes...-- Subject: Unit mom-vdsm.service has begun start-up-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit mom-vdsm.service has begun starting up.Apr 19 11:06:47 hosted-engine1 vdsm[4733]: WARN ping was deprecated in favor of ping2 and confirmConnectivitylines 3619-3662/3662 (END)-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit mom-vdsm.service has begun starting up.Apr 19 11:06:20 hosted-engine1 vdsm[4733]: WARN ping was deprecated in favor of ping2 and confirmConnectivityApr 19 11:06:30 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speedApr 19 11:06:34 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Unable to refresh vApr 19 11:06:36 hosted-engine1 vdsm[4733]: WARN unhandled write eventApr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 191, in _r return action(he) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 64, in act return he.start_monitoring() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 42 self._config.refresh_vm_conf() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 492, in ref content_from_ovf = self._get_vm_conf_content_from_ovf_store() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 438, in _ge conf = ovf2VmParams.confFromOvf(heovf) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 2 vmConf = toDict(ovf) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 2 vmParams['vmId'] = tree.find('Content/Section').attrib[OVF_NS + 'id'] File "lxml.etree.pyx", line 2272, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:553 KeyError: '{http://schemas.dmtf.org/ovf/envelope/1/}id'Apr 19 11:06:44 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agentApr 19 11:06:45 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speedApr 19 11:06:46 hosted-engine1 systemd[1]: mom-vdsm.service holdoff time over, scheduling restart.Apr 19 11:06:46 hosted-engine1 systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked.Apr 19 11:06:46 hosted-engine1 systemd[1]: Started MOM instance configured for VDSM purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180419/74215aa7/attachment.html>
More information about the Users
mailing list