<div dir="ltr">You're welcome Pierre. I'm happy I could help you.<div><br></div><div>~kaushal</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 2, 2014 at 7:36 PM, Pierre Léonard <span dir="ltr"><<a href="mailto:pleonard@jouy.inra.fr" target="_blank">pleonard@jouy.inra.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Kaushal,<br>
<br>
You are great. I my last release all these data are in a directory
/var/lib/glusters/peers in different files on for the nodes except
it self. I have copied from another nodes and recreate the
homogenety of the file for my node. And glusterd start.<br>
Thank you a lot for your prompt asnwers and analyse. I was bad
because the cluster need to be delivery for the next thre days
with a scheduler..<br>
Tkans you a lot.<br>
<br>
PS: I note also the <a href="http://ftppaste.org" target="_blank">ftppaste.org</a> very useful.<br>
<br>
</div><span class="">
<blockquote type="cite">
<pre>The following section from the log implies to me that one of your peer
files in /var/lib/glusterd/peers/ might be incorrect or even possibly
empty.
</pre>
<blockquote type="cite">
<pre>[2014-12-02 07:49:12.884305] D [store.c:608:gf_store_iter_get_next] 0-: Returning with -1
[2014-12-02 07:49:12.884360] I [glusterd-handler.c:3146:glusterd_friend_add_from_peerinfo] 0-management: connect returned 0
[2014-12-02 07:49:12.895556] D [store.c:418:gf_store_handle_new] 0-: Returning 0
[2014-12-02 07:49:12.895600] D [store.c:437:gf_store_handle_retrieve] 0-: Returning 0
[2014-12-02 07:49:12.895633] D [store.c:499:gf_store_iter_new] 0-: Returning with 0
[2014-12-02 07:49:12.895664] D [store.c:608:gf_store_iter_get_next] 0-: Returning with -1
[2014-12-02 07:49:12.895683] D [glusterd-store.c:4110:glusterd_store_retrieve_peers] 0-: Returning with -1
[2014-12-02 07:49:12.895698] D [glusterd-store.c:4325:glusterd_restore] 0-: Returning -1
[2014-12-02 07:49:12.895720] E [xlator.c:425:xlator_init] 0-management: Initialization of volume 'management' failed, review your volfile again
</pre>
</blockquote>
<pre>GlusterD added the retrieved the first peer (line 2 in the snippet).
It then is attempting to retrieve the second peer. It first opens the
file and obtains an iterator on the file (lines 3-5). The iterator
fails on the first line itself (line 6).
This implies either that the file was empty or it was corrupted.
Could you check the files in /var/lib/gluster/peers? It should contain
files which should have the following lines,
""
uuid=
status=
hostname1=
""
~kaushal
</pre>
</blockquote>
<br>
</span><div>-- <br>
<table border="0" cellpadding="0" cellspacing="0" width="auto">
<tbody>
<tr>
<td><a href="http://www.inra.fr" target="_blank"><img src="cid:part1.00010709.02080903@jouy.inra.fr" alt="INRA" longdesc="https://ci4.googleusercontent.com/proxy/0I3hhfkPIKcuHfHMoE-Erce2RmfPA9YxZudCy45TOUItQVUWFtON_A=s0-d-e1-ft#http://www.inra.fr" border="0" height="60" width="147"></a></td>
</tr>
<tr>
<td style="padding-left:77px">
<table style="border-top:#999 solid 1px;border-bottom:#999 solid 1px" border="0" cellpadding="0" cellspacing="0" width="auto">
<tbody>
<tr>
<td height="10"> </td>
</tr>
<tr>
<td align="left" valign="top"><font color="#8bac21" face="Arial, Helvetica, sans-serif"><strong>Pierre
Léonard</strong></font></td>
</tr>
<tr>
<td align="left" valign="top"><font color="#000000" face="Arial, Helvetica, sans-serif" size="1"><strong>Senior
IT Manager</strong></font></td>
</tr>
<tr>
<td align="left" valign="top"><font color="#8bac21" face="Arial, Helvetica, sans-serif" size="1"><strong>MetaGenoPolis</strong></font></td>
</tr>
<tr>
</tr>
<tr>
<td align="left" height="30" valign="middle"><font color="#8bac21" face="Arial, Helvetica,
sans-serif"><a href="mailto:Pierre.Leonard@jouy.inra.fr" style="color:#8bac21;text-decoration:none" target="_blank">Pierre.Leonard@jouy.inra.fr</a></font></td>
</tr>
<tr>
<td align="left" valign="top"><font color="#000000" face="Arial, Helvetica, sans-serif" size="1">Tél.
: <a href="tel:%2B33%20%280%291%2034%2065%2029%2078" value="+33134652978" target="_blank">+33 (0)1 34 65 29 78</a></font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding-left:77px">
<table border="0" cellpadding="0" cellspacing="0" width="auto">
<tbody>
<tr>
<td align="left" height="20" valign="bottom"><font color="#000000" face="Arial, Helvetica,
sans-serif" size="1">Centre de recherche INRA </font></td>
</tr>
<tr>
<td align="left" valign="bottom"><font color="#000000" face="Arial, Helvetica,
sans-serif" size="1">Domaine de Vilvert – Bât.
325 R+1</font></td>
</tr>
<tr>
<td align="left" valign="bottom"><font color="#000000" face="Arial, Helvetica,
sans-serif" size="1">78 352 Jouy-en-Josas CEDEX</font></td>
</tr>
<tr>
<td align="left" valign="bottom"><font color="#000000" face="Arial, Helvetica,
sans-serif" size="1">France</font></td>
</tr>
<tr>
<td align="left" valign="bottom"><font color="#8bac21" face="Arial, Helvetica,
sans-serif" size="1"><a href="http://www.mgps.eu" style="color:#8bac21;text-decoration:none" target="_blank">www.mgps.eu</a></font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</blockquote></div><br></div>