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.> [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 againGlusterD 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, "" uuidstatushostname1"" ~kaushal On Tue, Dec 2, 2014 at 1:50 PM, Pierre Leonard <pierre.leonard at jouy.inra.fr> wrote:> Hi Kaushal, > > Hi Pierre, > Can you provide start glusterd in debug mode and provide the logs? > Please use a paste site like http://fpaste.org to share the logs. > > You can start glusterd in debug mode by using the '-LDEBUG' flag, > ie., > # glusterd -LDEBUG > > The logs you've provided say that glusterd failed to initialize but > don't provide any further information as to why. Debug logs will help > in this case. > > ~kaushal > > I have done and the debug kiste is on http://fpaste.org/ number > /155740/17507711/ > and pasword il pierreleonard > > > Many thank's for your help. >
Hi Kaushal, 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. 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.. Tkans you a lot. PS: I note also the ftppaste.org very useful.> 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. > >> [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 > 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-- Signature electronique INRA <http://www.inra.fr> *Pierre L?onard* *Senior IT Manager* *MetaGenoPolis* Pierre.Leonard at jouy.inra.fr <mailto:Pierre.Leonard at jouy.inra.fr> T?l. : +33 (0)1 34 65 29 78 Centre de recherche INRA Domaine de Vilvert ? B?t. 325 R+1 78 352 Jouy-en-Josas CEDEX France www.mgps.eu <http://www.mgps.eu> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141202/2d560f01/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: logo-INRA2013.gif Type: image/gif Size: 2560 bytes Desc: http://www.inra.fr/ URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141202/2d560f01/attachment.gif>