<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 3:47 PM, Robert Story <span dir="ltr"><<a href="mailto:rstory@tislabs.com" target="_blank">rstory@tislabs.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">On Thu, 29 Oct 2015 15:40:23 +0100 Simone wrote:<br>
ST> Here the host IDs seam coherent.<br>
ST> Can you please specify the name of the hosts where you took the logs in<br>
ST> your first log archive (complaining host and engine host) ?<br>
<br>
Hmm.. I know the complaining host was posedion, and I'm pretty sure the<br>
engine was running on ares.</blockquote><div><br></div><div>And indeed ares was host 1 so when it failed it was correctly trying to get lock for host 1 but it seams that previously it acquired a lock as different host.</div><div>Could you please check </div><div> grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf<br></div><div>on ares and share vdsm and sanlock logs from that host?</div><div><br></div><div><br></div><div><div style="font-size:12.8px"><div>MainThread::INFO::2015-10-27 09:14:56,764::hosted_engine::562::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/2daba0ab-2b3d-4026-bcfc-1cd071c30038/04b08c8e-657f-4bac-9ddf-c9c57373409c/2d7f5020-42c1-442d-8237-fba9d6787080)</div><div>MainThread::ERROR::2015-10-27 09:14:56,766::hosted_engine::578::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock) cannot get lock on host id 1: host already holds lock on a different host id</div><div>MainThread::ERROR::2015-10-27 09:14:56,767::agent::177::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Error: '(22, 'Sanlock lockspace add failure', 'Invalid argument')' - trying to restart agent</div><div>MainThread::WARNING::2015-10-27 09:15:01,772::agent::180::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Restarting agent, attempt '9'</div><div>MainThread::ERROR::2015-10-27 09:15:01,772::agent::182::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-10-27 09:15:01,773::agent::121::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Agent shutting down</div><div><br></div><div><br></div><div><br></div></div></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">
<br>
Robert<br>
<br>
--<br>
Senior Software Engineer @ Parsons<br>
</div></div></blockquote></div><br></div></div>