diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2019-06-20 18:47:45 +0530 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2019-11-06 22:29:14 +0530 |
commit | d82acea433d6defd0b9bd084a43c0b7b30fd171d (patch) | |
tree | 4bc0e2a2c1529810dda06d2eedc32339ff068254 /tests | |
parent | 60eba49c6290d6f387986fdb41d37c613ad766b6 (diff) |
geo-rep : fix gluster command path for non-root session
Problem:
gluster command not found.
Cause:
In Volinfo class we issue command 'gluster vol info' to get information
about volume like getting brick_root to perform various operation.
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'/'gluster-command-dir' to get path
for gluster command based on caller.
Backport of:
> Patch: https://review.gluster.org/22920
> BUG: 1722740
> Change-Id: I4ec46373da01f5d00ecd160c4e8c6239da8b3859
> Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
fixes: bz#1764007
Change-Id: I4ec46373da01f5d00ecd160c4e8c6239da8b3859
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions