<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 12:55 AM, Thomas Scofield <span dir="ltr"><<a href="mailto:tscofield@gmail.com" target="_blank">tscofield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">That file is missing<div><br></div><div><div>[root@ovirt01 vdsm]# ls -l /var/run/ovirt-hosted-engine-ha/vm.conf</div><div>ls: cannot access /var/run/ovirt-hosted-engine-ha/vm.conf: No such file or directory</div><div>[root@ovirt01 vdsm]#</div></div></div></blockquote><div><br></div><div><br></div><div>Was it a fresh install or an upgrade from 3.5?</div><div>If you still have it, can you please attach the setup logs?</div><div><br></div><div>Can you please try to manually check vm.conf on the shared storage? This should do the job extracting the files in a local directory.</div><div><span style="font-size:12.8px">(please substitute '192.168.1.115:_Virtual_</span><span style="font-size:12.8px">ext35u36' with the </span><span style="font-size:12.8px">mount point</span><span style="font-size:12.8px"> of </span><span style="font-size:12.8px">hosted-engine storage domain on your system).</span><br></div><div><br></div><div><span style="font-family:monospace,monospace;font-size:12.8px">mntpoint=/rhev/data-center/</span><span style="font-family:monospace,monospace;font-size:12.8px">mnt/192.168.1.115:_Virtual_</span><span style="font-family:monospace,monospace;font-size:12.8px">ext35u36</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">dir=`mktemp -d` && cd $dir</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">sdUUID_line=$(grep sdUUID /etc/ovirt-hosted-engine/</span><span style="font-family:monospace,monospace;font-size:12.8px">hosted-engine.conf)</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">sdUUID=${sdUUID_line:7:36}</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">conf_volume_UUID_line=$(grep conf_volume_UUID /etc/ovirt-hosted-engine/</span><span style="font-family:monospace,monospace;font-size:12.8px">hosted-engine.conf)</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">conf_volume_UUID=${conf_</span><span style="font-family:monospace,monospace;font-size:12.8px">volume_UUID_line:17:36}</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">conf_image_UUID_line=$(grep conf_image_UUID /etc/ovirt-hosted-engine/</span><span style="font-family:monospace,monospace;font-size:12.8px">hosted-engine.conf)</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">conf_image_UUID=${conf_image_</span><span style="font-family:monospace,monospace;font-size:12.8px">UUID_line:16:36}</span><br style="font-family:monospace,monospace;font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">dd if=$mntpoint/$sdUUID/images/$</span><span style="font-family:monospace,monospace;font-size:12.8px">conf_image_UUID/$conf_volume_</span><span style="font-family:monospace,monospace;font-size:12.8px">UUID 2>/dev/null| tar -xvf -</span><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 4:04 AM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Nov 27, 2015 at 9:48 PM, Thomas Scofield <span dir="ltr"><<a href="mailto:tscofield@gmail.com" target="_blank">tscofield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">I have recently setup a </span><span style="font-size:12.8px">ovirt</span><span style="font-size:12.8px"> hosted engine on iscsi storage and after a reboot of the system I am unable to start the hosted engine. The agent.log gives errors indicating there is a missing value in the vm.conf file, but the vm.conf file does not appear in the location indicated. There is no error indicated when the agent attempts to reload the vm.conf. Any ideas on how to get the hosted engine up and running?</span><br style="font-size:12.8px"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>MainThread::INFO::2015-11-26 21:31:13,071::hosted_engine::699::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock) Ensuring lease for lockspace hosted-engine, host id 1 is acquired (file: /var/run/vdsm/storage/ddf4a26b-61ff-49a4-81db-9f82da35e44b/6ed6d868-aaf3-4b3f-bdf0-a4ad262709ae/1fe5b7fc-eae7-4f07-a2fe-5a082e14c876)</div><div>MainThread::INFO::2015-11-26 21:31:13,072::upgrade::836::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(upgrade) Host configuration is already up-to-date</div><div>MainThread::INFO::2015-11-26 21:31:13,072::hosted_engine::422::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Reloading vm.conf from the shared storage domain</div><div>MainThread::ERROR::2015-11-26 21:31:13,100::agent::205::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Error: ''Configuration value not found: file=/var/run/<span>ovirt</span>-hosted-engine-ha/vm.conf, key=memSize'' - trying to restart agent</div><div>MainThread::WARNING::2015-11-26 21:31:18,105::agent::208::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Restarting agent, attempt '9'</div><div>MainThread::ERROR::2015-11-26 21:31:18,106::agent::210::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Too many errors occurred, giving up. Please review the log and consider filing a bug.</div><div>MainThread::INFO::2015-11-26 21:31:18,106::agent::143::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Agent shutting down</div></div></div></blockquote><div><br></div></div></div><div>Hi Thomas,</div><div>could you please attach also your <span style="font-size:12.8px">/var/run/</span><span style="font-size:12.8px">ovirt</span><span style="font-size:12.8px">-hosted-</span><span style="font-size:12.8px">engine-ha/vm.conf ?</span></div><span><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></span></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>