[Gluster-users] Geo-Replication push-pem actually does'nt append common_secret_pub.pem to authrorized_keys file

PEPONNET, Cyril N (Cyril) cyril.peponnet at alcatel-lucent.com
Thu Jan 15 19:27:04 UTC 2015


3.5.2 every where.

sh -x /var/lib/glusterd/hooks/1/gsync-create/post/S56glusterd-geo-rep-create-post.sh —volname=geo_test is_push_pem=1 pub_file=/var/lib/glusterd/geo-replication/common_secret.pem.pub slave_ip=gluster01
++ echo is_push_pem=1
++ cut -d ' ' -f 1
+ key_val_pair1=is_push_pem=1
++ echo is_push_pem=1
++ cut -d ' ' -f 2
+ key_val_pair2=is_push_pem=1
++ echo is_push_pem=1
++ cut -d ' ' -f 3
+ key_val_pair3=is_push_pem=1
++ echo is_push_pem=1
++ cut -d = -f 1
+ key=is_push_pem
++ echo is_push_pem=1
++ cut -d = -f 2
+ val=1
+ '[' is_push_pem '!=' is_push_pem ']'
+ '[' 1 '!=' 1 ']'
++ echo is_push_pem=1
++ cut -d = -f 1
+ key=is_push_pem
++ echo is_push_pem=1
++ cut -d = -f 2
+ val=1
+ '[' is_push_pem '!=' pub_file ']'
+ exit


-- 
Cyril Peponnet

> On Jan 15, 2015, at 9:40 AM, Aravinda <avishwan at redhat.com> wrote:
> 
> Run the hook script directly in master node to discover the root cause for the error.
> 
> /var/lib/glusterd/hooks/1/gsync-create/post/S56glusterd-geo-rep-create-post.sh —volname=geo_test is_push_pem=1 pub_file=/var/lib/glusterd/geo-replication/common_secret.pem.pub slave_ip=gluster-slave01
> 
> Also let us know the GlusterFS version in Master nodes and Slave nodes.
> 
> --
> regards
> Aravinda
> 
> On 01/15/2015 09:12 PM, PEPONNET, Cyril N (Cyril) wrote:
>> [2015-01-15 15:38:13.676252] E [run.c:190:runner_log] 0-management: Failed to execute script:  /var/lib/glusterd/hooks/1/gsync-create/post/S56glusterd-geo-rep-create-post.sh —volname=geo_test is_push_pem=1 pub_file=/var/lib/glusterd/geo-replication/common_secret.pem.pub slave_ip=gluster-slave01
>> 
>> 
>> On my slave:
>> 
>> gluster system:: execute add_secret_pub
>> One or more nodes do not support the required op version.
>> 
>> I never really understood what is the op_version but looks a good lead.
>> 
> 



More information about the Gluster-users mailing list