[Gluster-users] service glusterd start : failed

Pierre Léonard pleonard at jouy.inra.fr
Tue Dec 2 14:06:13 UTC 2014


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>


More information about the Gluster-users mailing list