<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">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 ?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 191, in _run_agent<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> return action(he)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 64, in action_proper<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> return he.start_monitoring()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 421, in start_monitoring<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> self._config.refresh_vm_conf()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 496, in refresh_vm_conf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> content_from_ovf = self._get_vm_conf_content_from_ovf_store()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 438, in _get_vm_conf_content_from_ovf_store<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> conf = ovf2VmParams.confFromOvf(heovf)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 283, in confFromOvf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> vmConf = toDict(ovf)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 210, in toDict<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> vmParams['vmId'] = tree.find('Content/Section').attrib[OVF_NS + 'id']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "lxml.etree.pyx", line 2272, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:55336)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> KeyError: '{http://schemas.dmtf.org/ovf/envelope/1/}id'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agent<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If anyone could give a hint on where to look at would be very helpful.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sven <o:p></o:p></span></p>
</div>
</body>
</html>