
Hi, make sure you have at least ovirt-hosted-engine-ha-2.2.1 and the service was properly restarted. The situation you are describing can happen when you run older hosted engine agent with 4.2 ovirt-engine. It was tracked as: https://bugzilla.redhat.com/1518887 Best regards Martin Sivak On Fri, Mar 16, 2018 at 2:09 PM, Sven Achtelik <Sven.Achtelik@eps.aero> wrote:
Hi All,
after upgrading my engine to 4.2 and upgrading my hosts to the latest versions the HA for the hosted engine is not working anymore. The Agent fails with the following errors. Did I miss anything while upgrading ? The Engine is still running – what would be the correct approach to get the HA services up and running ?
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 496, 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'
ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agent
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 reached 3.6 level?
If anyone could give a hint on where to look at would be very helpful.
Thank you,
Sven
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users