<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi!</div>
<div class=""><br class="">
</div>
<div class="">Question hopefully someone can help me out with:</div>
<div class=""><br class="">
</div>
<div class="">In my Self Hosted Engine environment, the local storage domain DATA (NFS) that was created with the self engine installation has been configured as localhost:/shares</div>
<div class=""><br class="">
</div>
<div class="">I <b class="">suspect</b> this is preventing me from adding any additional hosts to the oVirt Datacenter as I am receiving a VDSM error that I cannot mount that domain. I think since the domain is set as localhost it cannot be resolved correct
by any additional hosts...? The ISO, Data(Master) and EXPORT domains are set as FQDN:/shares/iso and I am not seeing problems specific to them.</div>
<div class=""><br class="">
</div>
<div class="">I am curious what the correct procedure is to change this hosted engine storage domain path from
<i class="">localhost:/shares</i> to <i class="">FQDN:/shares</i> ? I have attempted this:</div>
<div class=""><br class="">
</div>
<div class="">1) Put hosted engine in Global Maintenance Mode</div>
<div class="">2) Shutdown hosted engine</div>
<div class="">3) edit the /<span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue';" class="">etc/ovirt-hosted-engine/hosted-engine.conf file file and change:</span></div>
<div class=""><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue';" class=""><span class="Apple-tab-span" style="white-space:pre"></span></span><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue';" class="">storage=10.0.0.223:/shares
to</span></div>
<div class=""><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue';" class=""><span class="Apple-tab-span" style="white-space:pre"></span></span><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue';" class="">storage=menmaster.traindemo.local:/shares</span></div>
<div class=""><font color="#454545" face="Helvetica Neue" class="">4) Restart hosted engine</font></div>
<div class=""><font color="#454545" face="Helvetica Neue" class=""><br class="">
</font></div>
<div class=""><font color="#454545" face="Helvetica Neue" class="">Although I’m not having any luck restarting the hosted engine after and running a journalctl -u on the overt-ha-agent service is giving me this:</font></div>
<div class=""><font color="#454545" face="Helvetica Neue" class=""><br class="">
</font></div>
<div class="">
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:19 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call last):</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 191, in _run_agent</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
return action(he)</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 64, in action_proper</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
return he.start_monitoring()</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 409, in start_monitoring</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
self._initialize_storage_images(force=True)</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 651, in _initialize_storage_images</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
img.teardown_images()</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/image.py", line 218, in teardown_images</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
volumeID=volUUID,</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 155, in _callMethod</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
(methodName, args, e))</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Exception: Attempt to call function: teardownImage with arguments: () error: 'teardownImage'</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:19 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agent</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:24 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Too many errors occurred, giving up. Please review the log and consider filing</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:24 menmaster.traindemo.local systemd[1]: ovirt-ha-agent.service: main process exited, code=exited, status=157/n/a</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:24 menmaster.traindemo.local systemd[1]: Unit ovirt-ha-agent.service entered failed state.</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:24 menmaster.traindemo.local systemd[1]: ovirt-ha-agent.service failed.</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:25 menmaster.traindemo.local systemd[1]: ovirt-ha-agent.service holdoff time over, scheduling restart.</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:25 menmaster.traindemo.local systemd[1]: Started oVirt Hosted Engine High Availability Monitoring Agent.</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:25 menmaster.traindemo.local systemd[1]: Starting oVirt Hosted Engine High Availability Monitoring Agent...</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:35 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.lib.storage_server.StorageServer ERROR The hosted-engine storage domain is already mounted on '/rhev/d</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:42 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call last):</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 191, in _run_agent</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
return action(he)</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 64, in action_proper</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
return he.start_monitoring()</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 409, in start_monitoring</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
self._initialize_storage_images(force=True)</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 651, in _initialize_storage_images</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
img.teardown_images()</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/image.py", line 218, in teardown_images</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
volumeID=volUUID,</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 155, in _callMethod</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
(methodName, args, e))</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Exception: Attempt to call function: teardownImage with arguments: () error: 'teardownImage'</div>
<div style="margin: 0px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);" class="">
Sep 27 20:17:42 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agent</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Any thoughts? I can attach more logs tomorrow or provide further information if needed.</div>
<div class=""><br class="">
</div>
<div class="">Thanks!!</div>
<div class=""><br class="">
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Alex Witte<br class="">
<br class="">
<br class="">
</div>
</div>
<br class="">
</div>
<br class="">
</body>
</html>