Maybe you are running ovirt-engine verison 4.2 or above, but the host was
not yet updated to 4.2 ?
Updating the host will fix this.
Andrej
On 19 April 2018 at 05:21, <dhy336(a)sina.com> wrote:
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@hosted-engine1 ~]# hosted-engine --vm-status
--== Host 1 status ==--
conf_on_shared_storage : True
Status up-to-date : False
Hostname : hosted-engine1
Host ID : 1
Engine status : unknown stale-data
Score : 3400
stopped : False
Local maintenance : False
crc32 : 2f3d4df9
local_conf_timestamp : 5238
Host timestamp : 5235
Extra 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@hosted-engine1 ~]#
[root@hosted-engine1 ~]#
[root@hosted-engine1 ~]#
[root@hosted-engine1 ~]# systemctl restart ovirt-ha-broker
[root@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 confirmConnectivity
Apr 19 11:06:30 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed
Apr 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 correctly
Apr 19 11:06:36 hosted-engine1 vdsm[4733]: WARN unhandled write event
Apr 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 agent
Apr 19 11:06:45 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed
Apr 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 confirmConnectivity
lines 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 confirmConnectivity
Apr 19 11:06:30 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed
Apr 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 v
Apr 19 11:06:36 hosted-engine1 vdsm[4733]: WARN unhandled write event
Apr 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 agent
Apr 19 11:06:45 hosted-engine1 vdsm[4733]: WARN cannot read eth0 speed
Apr 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.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users