Discussion:
[Gluster-users] Geo Replication / Error: bash: gluster: command not found
m0rbidini
2018-11-26 19:37:00 UTC
Permalink
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:

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

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

[***@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:

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

[***@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
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...
URL: <
http://lists.gluster.org/pipermail/gluster-users/attachments/20181115/7449ed9c/attachment.html
Davide Obbi
2018-11-28 07:36:04 UTC
Permalink
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...
Post by m0rbidini
Hi everyone.
I'm having the same problem in almost the same scenario.
It only started after I upgraded to v4.1.5
command not found
geo-replication command failed
CentOS Linux release 7.5.1804 (Core)
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
CentOS Linux release 7.5.1804 (Core)
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
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...
URL: <
http://lists.gluster.org/pipermail/gluster-users/attachments/20181115/7449ed9c/attachment.html
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
--
Davide Obbi
System Administrator

Booking.com B.V.
Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
Direct +31207031558
[image: Booking.com] <https://www.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)
Loading...