[ovirt-users] Hosted-Engine Agent broken

Sven Achtelik Sven.Achtelik at eps.aero
Fri Mar 16 13:09:23 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180316/c712b2d5/attachment.html>


More information about the Users mailing list