Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1722740

Summary: [GSS] geo-replication sessions going faulty
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: geo-replicationAssignee: Sunny Kumar <sunkumar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: 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: 1712591
: 1764007 1764172 (view as bug list) Environment:
Last Closed: 2019-06-28 09:37:55 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    
Bug Blocks: 1696809, 1764007, 1764172    

Description Sunny Kumar 2019-06-21 06:57:03 UTC
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

Comment 1 Sunny Kumar 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.

Comment 2 Sunny Kumar 2019-06-21 07:20:05 UTC
Upstream Patch:

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

Comment 3 Worker Ant 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