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
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.
Upstream Patch: https://review.gluster.org/#/c/glusterfs/+/22920/
REVIEW: https://review.gluster.org/22920 (geo-rep : fix gluster command path for non-root session) merged (#6) on master by Kotresh HR