<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 1, 2016 at 3:39 PM, Atin Mukherjee <span dir="ltr">&lt;<a href="mailto:amukherj@redhat.com" target="_blank">amukherj@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
<br>
On 04/01/2016 03:06 PM, ABHISHEK PALIWAL wrote:<br>
&gt;<br>
&gt; On Fri, Apr 1, 2016 at 2:59 PM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a><br>
</span><span class="">&gt; &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     On 04/01/2016 02:55 PM, ABHISHEK PALIWAL wrote:<br>
&gt;     &gt; Hi Atin,<br>
&gt;     &gt;<br>
&gt;     &gt; Thanks for reply.<br>
&gt;     &gt;<br>
&gt;     &gt; Could you please help me to identify the error log in the respective<br>
&gt;     &gt; brick log file. I tried but not able to identified where the problem is<br>
&gt;     &gt; occuring.<br>
&gt;     &gt;<br>
&gt;     &gt; I am attaching the brick log file which is not coming online even after<br>
&gt;     &gt; waiting for 1 minute.<br>
&gt;     What time did you reboot B? Could you also attach glusterd log file<br>
&gt;     (complete log) for board B?<br>
&gt;     &gt;<br>
&gt;<br>
&gt; it is hard to say at what time we rebooted the B board because we are<br>
&gt; continuously rebooting the board B.<br>
&gt;<br>
&gt; Here I am attaching the glusterd and glsuterfs log for board B.<br>
</span>I can see the last restart of glusterd was at 13:11:27 and as per the<br>
brick log there was no restart. This doesn&#39;t look like a reboot of the<br>
board as in that case brick process should have also died and restarted.<br>
Brick log indicates that the process is still running and there is no<br>
interruption.<br></blockquote><div>In brick log file at 13:11:27 we have the logs showing reboot of board<br><br>[2016-03-31 13:11:27.408512] I [MSGID: 115036] [server.c:552:server_rpc_notify] 0-c_glusterfs-server: disconnecting connection from 002500-10939-2016/03/31-11:56:52:528771-c_glusterfs-client-11-0-0<br>[2016-03-31 13:11:27.408603] I [MSGID: 101055] [client_t.c:419:gf_client_unref] 0-c_glusterfs-server: Shutting down connection 002500-10939-2016/03/31-11:56:52:528771-c_glusterfs-client-11-0-0 <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="">&gt;<br>
&gt;     &gt; Regards,<br>
&gt;     &gt; Abhishek<br>
&gt;     &gt;<br>
&gt;     &gt; On Fri, Apr 1, 2016 at 1:04 PM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;<br>
</span><div><div class="h5">&gt;     &gt; &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;&gt;&gt; wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     On 04/01/2016 12:10 PM, ABHISHEK PALIWAL wrote:<br>
&gt;     &gt;     &gt; Hi,<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; I have the setup of two boards A and B with two bricks in<br>
&gt;     replica mode.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; There is one test scenario<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; 1. A acts as an active board and having the glusterfs mount<br>
&gt;     point on it.<br>
&gt;     &gt;     &gt; 2. B acts as Passive board.<br>
&gt;     &gt;     &gt; 3. We are repetitively rebooting the B board (In this time<br>
&gt;     period peer<br>
&gt;     &gt;     &gt; status on A board will be &quot;peer in cluster (Disconnected)&quot;<br>
&gt;     and brick is<br>
&gt;     &gt;     &gt; not present in &quot;gluster volume status&quot;) and when Board B<br>
&gt;     comes up,<br>
&gt;     &gt;     &gt; starts the gluster daemon.<br>
&gt;     &gt;     &gt; 4. if Gluster daemon starts successfully it will make &quot;peer in<br>
&gt;     &gt;     &gt; cluster(Connected)&quot;<br>
&gt;     &gt;     &gt; 5. At the same with the immediate effect &quot;gluster volume<br>
&gt;     status&quot; command<br>
&gt;     &gt;     &gt; should show the brick is available in online.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; But in my case sometime step 5 takes immediate reflection<br>
&gt;     sometime 10-15<br>
&gt;     &gt;     &gt; second and sometime doesn&#39;t show brick is online even after<br>
&gt;     the 1minute.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; Could you please confirm why this type of unpredictable<br>
&gt;     behavior is<br>
&gt;     &gt;     &gt; occuring. It should be reflect with immediate effect in<br>
&gt;     &quot;gluster volume<br>
&gt;     &gt;     &gt; status&quot; command.<br>
&gt;     &gt;     When glusterd restarts bricks processes are brought up<br>
&gt;     asynchronously<br>
&gt;     &gt;     and hence you may not see the brick processes reflecting in<br>
&gt;     gluster<br>
&gt;     &gt;     volume status output immediately after restart. 5-10 seconds is an<br>
&gt;     &gt;     accepted time frame. However if it doesn&#39;t come back online<br>
&gt;     post that<br>
&gt;     &gt;     then probably brick fails to start in that case.<br>
&gt;     &gt;<br>
&gt;     &gt;     Please check the respective brick log file and if you can find<br>
&gt;     any error<br>
&gt;     &gt;     logs in it.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; --<br>
&gt;     &gt;     &gt; Regards<br>
&gt;     &gt;     &gt; Abhishek Paliwal<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; _______________________________________________<br>
&gt;     &gt;     &gt; Gluster-devel mailing list<br>
&gt;     &gt;     &gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt;<br>
</div></div>&gt;     &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt;&gt;<br>
<div class=""><div class="h5">&gt;     &gt;     &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; --<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; Regards<br>
&gt;     &gt; Abhishek Paliwal<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div></div>