<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 2:31 PM, noc <span dir="ltr"><<a href="mailto:noc@nieuwland.nl" target="_blank">noc@nieuwland.nl</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 bgcolor="#FFFFFF" text="#000000"><span class="">
<div>On 15-9-2015 9:31, Simone Tiraboschi
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra">
<div class="gmail_quote"><br>
<div>Yes, can you please attach the logs
from /var/log/ovirt-hosted-engine-ha/ ?</div>
</div>
</div>
</div>
</blockquote></span>
Attached.</div></blockquote><div><br></div><div><br></div><div>Now the agent correctly reads the VM configuration file from the shared domain so no issue there but then it exits cause VDSM is not up:</div><div><br></div><div><div>MainThread::INFO::2015-09-14 20:48:58,007::hosted_engine::667::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Reloading vm.conf from the shared storage domain</div><div>MainThread::INFO::2015-09-14 20:48:58,163::hosted_engine::460::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 3400)</div><div>MainThread::INFO::2015-09-14 20:49:08,201::hosted_engine::610::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm) Initializing VDSM</div><div>MainThread::INFO::2015-09-14 20:49:08,317::hosted_engine::655::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Connecting the storage</div><div>MainThread::INFO::2015-09-14 20:49:08,318::storage_server::110::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server) Connecting storage server</div><div>MainThread::INFO::2015-09-14 20:49:08,318::storage_server::135::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server) Connecting storage server</div><div>MainThread::INFO::2015-09-14 20:49:08,349::hosted_engine::659::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Preparing images</div><div>MainThread::INFO::2015-09-14 20:49:08,349::image::61::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images) Preparing images</div><div>MainThread::INFO::2015-09-14 20:49:08,787::hosted_engine::667::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Reloading vm.conf from the shared storage domain</div><div>MainThread::INFO::2015-09-14 20:49:08,941::hosted_engine::460::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 3400)</div><div>MainThread::INFO::2015-09-14 20:49:15,104::agent::143::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Agent shutting down</div><div>MainThread::INFO::2015-09-14 21:06:07,601::agent::78::ovirt_hosted_engine_ha.agent.agent.Agent::(run) ovirt-hosted-engine-ha agent 1.3.0-0.0.master.20150909150500 started</div><div>MainThread::INFO::2015-09-14 21:06:07,632::hosted_engine::246::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname) Found certificate common name: <a href="http://lichthuis.puzzle-it.nu">lichthuis.puzzle-it.nu</a></div><div>MainThread::INFO::2015-09-14 21:06:07,633::hosted_engine::610::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm) Initializing VDSM</div><div>MainThread::ERROR::2015-09-14 21:06:18,209::hosted_engine::418::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Service vdsmd is not running and the admin is responsible for starting it. Shutting down.</div><div>MainThread::INFO::2015-09-14 21:06:18,210::agent::143::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Agent shutting down</div></div><div><br></div><div>Martin, any hint there?</div><div><br></div><div>Previously you had an issue there:</div><div>MainThread::ERROR::2015-09-14 17:34:19,972::agent::201::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Error: '[Errno 13] Permission denied: '/var/run/ovirt-hosted-engine-ha/vm.conf'' - trying to restart agent<br></div><div><br></div><div>Did you manually created /var/run/ovirt-hosted-engine-ha/vm.conf being readable only by root or something similar? ovirt-ha-agent is running as vdsm user and it should be able to refresh /var/run/ovirt-hosted-engine-ha/vm.conf with the master copy on the shared storage.<br></div><div><br></div><div>And previously than that it was failing with:</div><div>MainThread::ERROR::2015-09-12 13:53:23,727::agent::201::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Error: ''StorageServer' object has no attribute 'storageType'' - trying to restart agent<br></div><div>cause you were using ovirt-hosted-engine-ha agent 1.3.0-0.0.master.20150819082341 which was unfortunately bugged on that. ovirt-hosted-engine-ha agent 1.3.0-0.0.master.20150909150500 you are using now should be OK.</div><div><br></div><div><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 bgcolor="#FFFFFF" text="#000000"><span class=""> <blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<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 bgcolor="#FFFFFF" text="#000000"> To me it looks like
I better start over but I don't want to wipe my F22
install. What is the preferred way to get a 'clean'
system so that I can try again? (concerned about sanlock
complaining about name conflicts)<br>
</div>
</blockquote>
<div><br>
</div>
<div>I'm quite confident you can save your setup.</div>
<br>
</div>
</div>
</div>
</blockquote></span>
Great :-)<br>
<br>
Joop<br>
<br>
</div>
<br>_______________________________________________<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/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>