On 12/14/2014 02:57 AM, wodel youchi
wrote:
When you get /nonexistent/gsyncd, that means issue with pem keys setup. For security reason while pushing the pem keys to slave, we add command=<COMMAND TO RUN> before key in /root/.ssh/authorized_keys. For example, command="/usr/local/libexec/glusterfs/gsyncd" ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqxqMiZ8dyXUQq0pLVOYpRSsC+aYFn6pbPQZ3LtRPKGYfA63SNoYni fhnM2UR9fnZz3hisBUxIzcVrVux2y3ojI/vPFFi08tVtK8/r9yoqqh3HqlBnotY50H1/1qeco+71U9hy276fUONP64KoOZtme3MwYuoNz 4z1NvCQFcEbXtPfHO5A9P3C+NuMhgNK8N63RSCzZ6dtO+wZygbVJlbPNQxp8Y5E8rbIuzRy6bD/0nmEKc/nqvEYTYgkck ES0Xy92JVxbcwCOnZFNi4rT6+HarDIuFRB835I5ss+QBrT9SM09qmFuQ== root@fedoravm1 If you have any other entry in /root/.ssh/authorized_keys file of slave machine with same key then you will get /nonexistent/gsyncd error. Advantage of having "command" in authorized key is, if any master node is compromised, then they can login to any slave node. But with this command option, logged in user is only limited to use gsyncd or the command specified in authorized_keys. Does your slave had data before Geo-replication session is created. From the log what I can see is, geo-rep is failing to create a file in slave(may be same file name exists with different GFID(GFID is GlusterFS unique identifier for file)) Rsync is failing since file is not created in slave, and it is unable to sync. -- regards Aravinda
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-users