[Gluster-users] Adding a 3.6.3 peer to a 3.6.2 trusted pool fails

Gaurav Garg ggarg at redhat.com
Mon May 11 11:06:46 UTC 2015


Hi Adrian,

Did you try to upgrade/downgrade gluster03 before performing any operation. If you attach fresh node (3.6.3 version) to (3.6.2) glusterfs version then this problems is not coming. we need to know what operation you performed on gluster03 node before peer probe. if possible could you attach cmd_history.log and glusterd log.

~ Gaurav

----- Original Message -----
From: "Adrián Santos Marrero" <asmarre at ull.edu.es>
To: "Gluster-users" <gluster-users at gluster.org>
Sent: Monday, May 11, 2015 12:39:33 PM
Subject: [Gluster-users] Adding a 3.6.3 peer to a 3.6.2 trusted pool fails

Hi, 

I've been trying to add a third node to my two-node trusted pool with gluster peer probe: 



gluster02:~# gluster peer probe gluster03.stic.ull.es 
peer probe: success. 

The problem is that this node remains in "Accepted peer request" state: 



Hostname: gluster03.stic.ull.es 
Uuid: 9ca23fb2-cd76-4d1c-8a5f-f93306119539 
State: Accepted peer request (Connected) 

If I restart glusterd in gluster02, the state changes to "Sent and Received peer request": 



Hostname: gluster03.stic.ull.es 
Uuid: 9ca23fb2-cd76-4d1c-8a5f-f93306119539 
State: Sent and Received peer request (Connected) 

And if I restart glusterd in gluster03 it doesn't start because is "Unable to find friend: gluster01.stic.ull.es ": 



[2015-05-11 06:59:39.035184] D [glusterd-peer-utils.c:121:glusterd_peerinfo_find_by_hostname] 0-management: Unable to find friend: gluster01.stic.ull.es 
[2015-05-11 06:59:39.037942] D [common-utils.c:2897:gf_is_local_addr] 0-management: 10.107.34.17 
[2015-05-11 06:59:39.039392] D [common-utils.c:2897:gf_is_local_addr] 0-management: 10.107.34.17 
[2015-05-11 06:59:39.040584] D [common-utils.c:2897:gf_is_local_addr] 0-management: 10.107.34.17 
[2015-05-11 06:59:39.041790] D [common-utils.c:2913:gf_is_local_addr] 0-management: gluster01.stic.ull.es is not local 

In fact, the only peer that gluster03 knows is gluster02: 



gluster03:~# ls -l /var/lib/glusterd/peers/ 
total 4 
-rw-------. 1 root root 73 may 11 07:48 739d7c3f-99d5-4c8b-ac28-f85163e26322 
gluster03:~# cat /var/lib/glusterd/peers/739d7c3f-99d5-4c8b-ac28-f85163e26322 
uuid=739d7c3f-99d5-4c8b-ac28-f85163e26322 
state=5 
hostname1=10.107.34.18 

10.107.34.18 == gluster02 



gluster03:~# gluster --version 
glusterfs 3.6.3 built on Apr 23 2015 16:11:45 
Repository revision: git:// git.gluster.com/glusterfs.git 
Copyright (c) 2006-2011 Gluster Inc. < http://www.gluster.com > 
GlusterFS comes with ABSOLUTELY NO WARRANTY. 
You may redistribute copies of GlusterFS under the terms of the GNU General Public License. 

All servers are running Centos 7, gluster01 and gluster02 have Gluster 3.6.2 version and gluster03 3.6.3. 

Am I forced to upgrade gluster01 and gluster02 to 3.6.3? 

Regards. 

-- 
---------------------------------------------------------------- 
Adrián Santos Marrero 
Técnico de Sistemas - Área de Infraestructuras TIC 
Servicios de Tecnologías de la Información y Comunicación (STIC) 
Universidad de La Laguna (ULL) 
Teléfono/Phone: +34 922 845089 
---------------------------------------------------------------- 

Este mensaje puede contener información confidencial y/o privilegiada. 
Si usted no es el destinatario o lo ha recibido por error debe borrarlo 
inmediatamente. 
Está estrictamente prohibido por la legislación vigente realizar 
cualquier copia, revelación o distribución del contenido de este mensaje 
sin autorización expresa. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient or have received this e-mail in 
error you must destroy it. 
Any unauthorised copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden by current legislation. 

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users


More information about the Gluster-users mailing list