Re: [External] Re: Geo Replication / Error: bash: gluster: command not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i resolved this specifying the command= directive in the ssh public keys:

command="/usr/libexec/glusterfs/gsyncd" ssh-rsa AAAAB3....
and
command="tar ${SSH_ORIGINAL_COMMAND#* }" ssh-rsa AAAAB...


On Tue, Nov 27, 2018 at 10:15 PM m0rbidini <m0rbidini@xxxxxxxxx> wrote:
Hi everyone.

I'm having the same problem in almost the same scenario.

It only started after I upgraded to v4.1.5

Output from the first node of the master volume:

[root@glusterfs-node1 ~]# gluster volume geo-replication gv0 geouser@glusterfs-node3::gv0 create push-pem
gluster command on geouser@glusterfs-node3 failed. Error: bash: gluster: command not found
geo-replication command failed

[root@glusterfs-node1 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

[root@glusterfs-node1 ~]# rpm -qa | grep glu
glusterfs-libs-4.1.5-1.el7.x86_64
glusterfs-fuse-4.1.5-1.el7.x86_64
centos-release-gluster41-1.0-3.el7.centos.noarch
glusterfs-4.1.5-1.el7.x86_64
glusterfs-cli-4.1.5-1.el7.x86_64
glusterfs-client-xlators-4.1.5-1.el7.x86_64
glusterfs-server-4.1.5-1.el7.x86_64
glusterfs-geo-replication-4.1.5-1.el7.x86_64
glusterfs-api-4.1.5-1.el7.x86_64
python2-gluster-4.1.5-1.el7.x86_64

Output from the first node of the slave volume:  

[root@glusterfs-node3 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

[root@glusterfs-node3 ~]# rpm -qa | grep glu
glusterfs-libs-4.1.5-1.el7.x86_64
glusterfs-client-xlators-4.1.5-1.el7.x86_64
glusterfs-fuse-4.1.5-1.el7.x86_64
glusterfs-server-4.1.5-1.el7.x86_64
glusterfs-geo-replication-4.1.5-1.el7.x86_64
centos-release-gluster41-1.0-3.el7.centos.noarch
glusterfs-4.1.5-1.el7.x86_64
glusterfs-api-4.1.5-1.el7.x86_64
glusterfs-cli-4.1.5-1.el7.x86_64
python2-gluster-4.1.5-1.el7.x86_64


> Hi all,
> I encounter a problem to set up my geo replication session in glusterfs
> 4.1.5 on centos 7.5.1804.
> After I give the
> gluster volume geo-replication mastervol geoaccount at servere::slavevol
> create push-pem
> I see the following
> gluster command on geoaccount at servere failed. Error: bash: gluster: command
> not found
> geo-replication command failed
> Do you know where is the problem?
> Thanks in advance!
> BR
> -------------- next part --------------
> An HTML attachment was scrubbed...
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users


--
Davide Obbi
System Administrator

Booking.com B.V.
Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
Direct +31207031558
Booking.com
Empowering people to experience the world since 1996
43 languages, 214+ offices worldwide, 141,000+ global destinations, 29 million reported listings 
Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux