[Gluster-users] Porblem creating Geo-replication

Kotresh Hiremath Ravishankar khiremat at redhat.com
Fri Dec 12 07:30:34 UTC 2014


Hi,

The setup is failing while doing compatibility test between master and slave cluster.
The gverify.sh script is failing to get master volume details for the same.

Could you run the following and paste the output here?

bash -x /usr/local/libexec/glusterfs/gverify.sh <master-vol-name> root <slave-host-name> <slave-vol-name> <temp-log-file>

If source installed gverify.sh is found in above path where as if rpm install,
it is found in /usr/libexec/glusterfs/gverify.sh

If you are sure the master and slave gluster versions and size is fine, the easy workaround
is to use force.

gluster vol geo-replication <master-vol> <slave-host>::<slave-vol> create push-pem force



Thanks and Regards,
Kotresh H R

----- Original Message -----
From: "wodel youchi" <wodel_doom at yahoo.fr>
To: gluster-users at gluster.org
Sent: Friday, December 12, 2014 3:13:48 AM
Subject: [Gluster-users] Porblem creating Geo-replication

Hi, 
I am using Centos7x64 updates 
GlusterFS 3.6 from http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/epel-7Server/ repository. 
No firewall and No Selinux. 


I've two nodes with distributed replicated volume: data1 
and a third node with a distributed volume: data2 
the two volumes have the same size 

I've trouble to configure geo-replication to the third node, I've been following the RedHat Storage 3 Admin Guide, but It does not work. 

I've created the ssh-passwordless connection between the nodes, and followed these commands 

On the master: 
# gluster system: : execute gsec_create 
Common secret pub file present at /var/lib/glusterd/geo-replication/common_secret.pem.pub 

# gluster volume geo-replication data1 node3.example.com::data2 create push-pem 
Unable to fetch master volume details. Please check the master cluster and master volume. 
geo-replication command failed 

from /var/log/glusterfs/etc-glusterfs-glusterd.vol.log I get these error messges 
[2014-12-11 21:34:47.152644] E [glusterd-geo-rep.c:2012:glusterd_verify_slave] 0-: Not a valid slave 
[2014-12-11 21:34:47.152750] E [glusterd-geo-rep.c:2240:glusterd_op_stage_gsync_create] 0-: node3.example.com::data2 is not a valid slave volume. Error: Unable to fetch master volume details. Please check the master cluster and master volume. 
[2014-12-11 21:34:47.152764] E [glusterd-syncop.c:1151:gd_stage_op_phase] 0-management: Staging of operation 'Volume Geo-replication Create' failed on localhost : Unable to fetch master volume details. Please check the master cluster and master volume. 
[2014-12-11 21:35:25.559144] E [glusterd-handshake.c:914:gd_validate_mgmt_hndsk_req] 0-management: Rejecting management handshake request from unknown peer 192.168.1.9:1005 

the 192.168.1.9 is the IP address of the 3rd node. 

any idea!!. 

thanks 




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


More information about the Gluster-users mailing list