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

Davide Obbi davide.obbi at booking.com
Wed Nov 28 07:36:04 UTC 2018


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 at gmail.com> 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 at glusterfs-node1 ~]# gluster volume geo-replication gv0
> geouser at glusterfs-node3::gv0 create push-pem
> gluster command on geouser at glusterfs-node3 failed. Error: bash: gluster:
> command not found
> geo-replication command failed
>
> [root at glusterfs-node1 ~]# cat /etc/redhat-release
> CentOS Linux release 7.5.1804 (Core)
>
> [root at 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 at glusterfs-node3 ~]# cat /etc/redhat-release
> CentOS Linux release 7.5.1804 (Core)
>
> [root at 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...
> > URL: <
> http://lists.gluster.org/pipermail/gluster-users/attachments/20181115/7449ed9c/attachment.html
> >
> >
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181128/fcd28fec/attachment.html>


More information about the Gluster-users mailing list