<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-09-28 2:32 GMT+02:00 Alexander Witte <span dir="ltr"><<a href="mailto:alexander.witte@baicanada.com" target="_blank">alexander.witte@baicanada.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">
<div>Hi!</div>
<div><br>
</div>
<div>Question hopefully someone can help me out with:</div>
<div><br>
</div>
<div>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></blockquote><div><br></div><div><br></div><div>So it seems you're trying to do an Hyperconverged setup on local NFS. Please note this is not a supported configuration.</div><div>If you need to have the storage on the hosts you use for running Self Hosted Engine and other VMs, I would suggest to follow <a href="https://ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide/">https://ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide/</a></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">
<div><br>
</div>
<div>I <b>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...?</div></div></blockquote><div><br></div><div>You are correct, being the NFS export referenced as localhost:// it is not accessible by other hosts.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div> The ISO, Data(Master) and EXPORT domains are set as FQDN:/shares/iso and I am not seeing problems specific to them.</div>
<div><br>
</div>
<div>I am curious what the correct procedure is to change this hosted engine storage domain path from
<i>localhost:/shares</i> to <i>FQDN:/shares</i> ? I have attempted this:</div>
<div><br>
</div>
<div>1) Put hosted engine in Global Maintenance Mode</div>
<div>2) Shutdown hosted engine</div>
<div>3) edit the /<span style="color:rgb(69,69,69);font-family:"Helvetica Neue"">etc/ovirt-hosted-engine/<wbr>hosted-engine.conf file file and change:</span></div>
<div><span style="color:rgb(69,69,69);font-family:"Helvetica Neue""><span class="gmail-m_3781059012733150943Apple-tab-span" style="white-space:pre-wrap"></span></span><span style="color:rgb(69,69,69);font-family:"Helvetica Neue"">storage=10.0.0.223:/shares
to</span></div>
<div><span style="color:rgb(69,69,69);font-family:"Helvetica Neue""><span class="gmail-m_3781059012733150943Apple-tab-span" style="white-space:pre-wrap"></span></span><span style="color:rgb(69,69,69);font-family:"Helvetica Neue"">storage=menmaster.traindemo.<wbr>local:/shares</span></div>
<div><font color="#454545" face="Helvetica Neue">4) Restart hosted engine</font></div>
<div><font color="#454545" face="Helvetica Neue"><br></font></div></div></blockquote><div><br></div><div>If this is a fresh install, I would suggest to restart from scratch following the Hyperconverged guide.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><font color="#454545" face="Helvetica Neue">
</font></div>
<div><font color="#454545" face="Helvetica Neue">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><font color="#454545" face="Helvetica Neue"><br>
</font></div>
<div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
Sep 27 20:17:19 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>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)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
return action(he)</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
return he.start_monitoring()</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
self._initialize_storage_<wbr>images(force=True)</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
img.teardown_images()</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
volumeID=volUUID,</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/vdsm/jsonrpcvdscli.<wbr>py", line 155, in _callMethod</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
(methodName, args, e))</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
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)">
Sep 27 20:17:19 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>agent.Agent ERROR Trying to restart agent</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
Sep 27 20:17:24 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>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)">
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)">
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)">
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)">
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)">
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)">
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)">
Sep 27 20:17:35 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.lib.<wbr>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)">
Sep 27 20:17:42 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>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)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
return action(he)</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
return he.start_monitoring()</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
self._initialize_storage_<wbr>images(force=True)</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
img.teardown_images()</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/ovirt_hosted_engine_<wbr>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)">
volumeID=volUUID,</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
File "/usr/lib/python2.7/site-<wbr>packages/vdsm/jsonrpcvdscli.<wbr>py", line 155, in _callMethod</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
(methodName, args, e))</div>
<div style="margin:0px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">
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)">
Sep 27 20:17:42 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.<wbr>agent.Agent ERROR Trying to restart agent</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Any thoughts? I can attach more logs tomorrow or provide further information if needed.</div>
<div><br>
</div>
<div>Thanks!!</div>
<div><br>
</div>
<br>
<div>
<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;word-wrap:break-word">
<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">
Alex Witte<br>
<br>
<br>
</div>
</div>
<br>
</div>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SANDRO</span> <span>BONAZZOLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>EMEA</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table><a href="http://www.teraplan.it/redhat-osd-2017/" target="_blank"><img src="http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7Bce8ba915-16e1-4b66-8a16-dfaac06bd5c0%7D_RH_OSD_Generic_Banner_655x100.png" width="420" height="60"></a><span></span><a href="http:///" target="_blank"></a><span></span><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div>