<div dir="ltr">Adding login_timeout=30 solved the stonith problem. Thank you very much!<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Pozdrawiam,<br>Arek</div></div></div></div>
<br><div class="gmail_quote">2017-07-11 13:06 GMT+02:00 Marek Grac <span dir="ltr"><<a href="mailto:mgrac@redhat.com" target="_blank">mgrac@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Jul 11, 2017 at 11:13 AM, ArekW <span dir="ltr"><<a href="mailto:arkaduis@gmail.com" target="_blank">arkaduis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br></div>I may be wrong but it doesn't seem to be timeout problem because the log repeats the same way every few minutes and it contains "Unable to connect" and just after that there is list of vms etc so It has connected successfully.<br></div></div></div></div></blockquote><div><br></div></span><div>After an un-succesful attempt to monitor, your settings my attempt to do next attempt. In some cases, second ssh connection may be much faster. So second attempt will success more often.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div></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'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></div></blockquote><div><br></div></span><div>add login_timeout=XXs (or look at manual pages for other timeout options)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>m,</div></font></span><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div>Thanks<br><div><div><div><div><div class="gmail_extra"><div class="m_-8183984956038092849m_-1443900845008624639gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Arek</div></div></div>
<br><div class="gmail_quote"><div><div class="m_-8183984956038092849h5">2017-07-10 13:10 GMT+02:00 Marek Grac <span dir="ltr"><<a href="mailto:mgrac@redhat.com" target="_blank">mgrac@redhat.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-8183984956038092849h5"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Fri, Jul 7, 2017 at 1:45 PM, ArekW <span dir="ltr"><<a href="mailto:arkaduis@gmail.com" target="_blank">arkaduis@gmail.com</a>></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): 'ipaddr, login, plug' 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><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): 'verbose', are not recognized for resource type: 'stonith::fence_vbox' (use --force to override)<br></div></blockquote><div><br></div></span><div>It shoulbe fixed in commit b47558331ba6615aa572048<wbr>4301d644cc8e973fd (Jun 12)</div><span><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 '/bin/bash -c "PS1=\\[EXPECT\\]#\ /bin/bash --noprofile --norc"' ]<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="m_-8183984956038092849m_-1443900845008624639HOEnZb"><font color="#888888"><div><br></div><div>m,</div></font></span></div></div></div>
<br></div></div><span>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org" target="_blank">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/m<wbr>ailman/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/doc<wbr>/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></span></blockquote></div><br></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org" target="_blank">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/m<wbr>ailman/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/doc<wbr>/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></div></div><br></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>