Bug 1733880

Summary: [geo-rep]: gluster command not found while setting up a non-root session
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6CC: amukherj, avishwan, bugs, csaba, khiremat, nchilaka, rallan, rhinduja, rhs-bugs, sankarshan, storage-qa-internal, sunkumar
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1731920 Environment:
Last Closed: 2019-08-05 11:31:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1720992, 1731920, 1733881    
Bug Blocks:    

Description Kotresh HR 2019-07-29 06:05:23 UTC
+++ This bug was initially created as a clone of Bug #1731920 +++

+++ This bug was initially created as a clone of Bug #1720992 +++

Description of problem:
=======================
While trying to set up a secure (non-root) geo-rep session, the following error is thrown :

[root@dhcp42-131]# gluster volume geo-replication master geoaccount.42.250::slave create push-pem
gluster command on geoaccount.42.250 failed. Error: bash: gluster: command not found
geo-replication command failed


Version-Release number of selected component (if applicable):
=============================================================
mainline

How reproducible:
=================
1/1

Steps to Reproduce:
===================
Follow the guide to create a non-root session. 
It fails at create. 

Creating a group, user, setting up a mountbroker directory, adding slave volume to the mountbroker service is successful. 

Actual results:
================
Gluster command not found while trying to create a non-root session

Expected results:
================
Should be able to create a non-root session successfully.

--- Additional comment from Worker Ant on 2019-07-22 12:10:59 UTC ---

REVIEW: https://review.gluster.org/23089 (geo-rep: Fix mount broker setup issue) posted (#1) for review on master by Kotresh HR

--- Additional comment from Worker Ant on 2019-07-23 03:23:14 UTC ---

REVIEW: https://review.gluster.org/23089 (geo-rep: Fix mount broker setup issue) merged (#2) on master by Amar Tumballi

Comment 1 Worker Ant 2019-07-29 06:08:42 UTC
REVIEW: https://review.gluster.org/23116 (geo-rep: Fix mount broker setup issue) posted (#1) for review on release-6 by Kotresh HR

Comment 2 Worker Ant 2019-08-05 11:31:49 UTC
REVIEW: https://review.gluster.org/23116 (geo-rep: Fix mount broker setup issue) merged (#3) on release-6 by hari gowtham