<div dir="ltr"><div><div><div><div>Hi,<br></div>I may be wrong but it doesn&#39;t seem to be timeout problem because the log repeats the same way every few minutes and it contains &quot;Unable to connect&quot; and just after that there is list of vms etc so It has connected successfully.<br></div>I described a active-active failover problem in separate mail. When a node is poweroff the cluster enters UNCLEAN status and whole thing hungs. Could it be related to stonith problem? I&#39;m out of ideas what is wrong because I seems to work manually but seems not to work as a fence process.<br></div>How can I increase the login_timeout (Is it for stonith?)<br></div>Thanks<br><div><div><div><div><div class="gmail_extra"><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Arek</div></div></div>
<br><div class="gmail_quote">2017-07-10 13:10 GMT+02:00 Marek Grac <span dir="ltr">&lt;<a href="mailto:mgrac@redhat.com" target="_blank">mgrac@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Jul 7, 2017 at 1:45 PM, ArekW <span dir="ltr">&lt;<a href="mailto:arkaduis@gmail.com" target="_blank">arkaduis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">The reason for --force is:<br>
Error: missing required option(s): &#39;ipaddr, login, plug&#39; for resource type: stonith:fence_vbox (use --force to override)<br></div></blockquote><div><br></div></span><div>It looks like you use unreleased upstream of fence agents without a similary new version of pcs (with the commit 7f85340b7aa4e8c016720012cf42c3<wbr>04e68dd1fe)</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<br>
I have selinux disabled on both nodes:<br>
[root@nfsnode1 ~]# cat /etc/sysconfig/selinux<br>
SELINUX=disabled<br>
<br>
pcs stonith update vbox-fencing verbose=true<br>
Error: resource option(s): &#39;verbose&#39;, are not recognized for resource type: &#39;stonith::fence_vbox&#39; (use --force to override)<br></div></blockquote><div><br></div></span><div>It shoulbe fixed in commit <wbr>b47558331ba6615aa5720484301d64<wbr>4cc8e973fd (Jun 12)</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<br>
Jul  7 13:37:49 nfsnode1 fence_vbox: Unable to connect/login to fencing device<br>
Jul  7 13:37:49 nfsnode1 stonith-ng[2045]: warning: fence_vbox[4765] stderr: [ Running command: /usr/bin/ssh -4  <a href="mailto:AW23321@10.0.2.2" target="_blank">AW23321@10.0.2.2</a> -i /root/.ssh/id_rsa -p 22 -t &#39;/bin/bash -c &quot;PS1=\\[EXPECT\\]#\  /bin/bash --noprofile --norc&quot;&#39; ]<br></div></blockquote><div><br></div></span><div>ok, so sometimes it works and sometimes not. It looks like that our timeouts are set quite strict for your environment. Try to increase login_timeout from default 30s higher.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>m,</div></font></span></div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div></div></div></div></div></div>