Bug 1764172

Summary: geo-replication sessions going faulty
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6CC: bugs, sunkumar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1722740 Environment:
Last Closed: 2019-10-23 04:07:01 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: 1712591, 1722740    
Bug Blocks:    

Description Kotresh HR 2019-10-22 12:25:03 UTC
+++ This bug was initially created as a clone of Bug #1722740 +++

Description of problem:

 gluster command not found.

How reproducible:

Always

Steps to Reproduce:
1. Setup non-root geo-replication
2. Start geo-replication
2. Session goes to faulty


Expected results:

Session should not go faulty

--- Additional comment from Sunny Kumar on 2019-06-21 07:02:29 UTC ---

Problem:
    gluster command not found.
    
Cause:
    In Volinfo class we issue command 'gluster vol info' to perform
    operation like getting brick_root etc.
    When geo-rep session is configured for non-root user Volinfo class
    fails to issue gluster command due to unavailability of gluster
    binary path for non-root user.
    
Solution:
    Use config value 'slave-gluster-command-dir' to get path for gluster
    binaries.

--- Additional comment from Sunny Kumar on 2019-06-21 07:20:05 UTC ---

Upstream Patch:

https://review.gluster.org/#/c/glusterfs/+/22920/

--- Additional comment from Worker Ant on 2019-06-28 09:37:55 UTC ---

REVIEW: https://review.gluster.org/22920 (geo-rep : fix gluster command path for non-root session) merged (#6) on master by Kotresh HR

Comment 1 Worker Ant 2019-10-22 12:55:11 UTC
REVIEW: https://review.gluster.org/23592 (geo-rep : fix gluster command path for non-root session) posted (#1) for review on release-6 by Kotresh HR

Comment 2 Worker Ant 2019-10-23 04:07:01 UTC
REVIEW: https://review.gluster.org/23592 (geo-rep : fix gluster command path for non-root session) merged (#1) on release-6 by Kotresh HR