path: root/glustolibs-gluster
diff options
authorKartik_Burmee <>2018-04-02 04:06:18 +0530
committerNigel Babu <>2018-04-16 12:36:48 +0000
commit6d1a0615f6d6f925a90ab508895809e42fa23bd9 (patch)
tree0f69551cf8800c965d7779af652f4f75270c6323 /glustolibs-gluster
parentb3ab3af3580173ca8c0c3fd7946dffd4c603e42f (diff)
glustolibs/gluster/glusterfile: rpyc connection function call
changed get_connection to rpyc_get_connection. executed a test case after this change and got this error - "error while loading shared libraries: cannot open shared object file: No such file or directory". solved this path issue by adding shared library to system library path on my machine. Not sure if it'll be a common issue for everyone using this module. Change-Id: Id52df4b17bc3d30b808bb1eb77c87b03c3ed2f7b Signed-off-by: Kartik_Burmee <>
Diffstat (limited to 'glustolibs-gluster')
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/ b/glustolibs-gluster/glustolibs/gluster/
index fcc10f25f..9b9b57f0c 100644
--- a/glustolibs-gluster/glustolibs/gluster/
+++ b/glustolibs-gluster/glustolibs/gluster/
@@ -49,7 +49,7 @@ def calculate_hash(host, filename):
glusterfs = ctypes.cdll.LoadLibrary("")
g.log.debug("Library loaded locally")
except OSError:
- conn = g.get_connection(host)
+ conn = g.rpyc_get_connection(host)
glusterfs = \
g.log.debug("Library loaded via rpyc")