]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GlusterFS: Using mount method in RemoteFsClient
authorBharat Kumar Kobagana (BharatK) <bharat.kobagana@redhat.com>
Wed, 18 Mar 2015 13:46:39 +0000 (19:16 +0530)
committerBharat Kumar Kobagana <bharat.kobagana@redhat.com>
Thu, 23 Apr 2015 08:20:57 +0000 (13:50 +0530)
commit3123d1edc82bbeebecadcbbf47875787c162c03b
treeec2e397c08c9b58d05fea7fe93bb6f5ff6a5fb4a
parent8d27e2939617053eb5c26e9479140578ef257737
GlusterFS: Using mount method in RemoteFsClient

This patch modifies the glusterfs driver code to use "mount" method
in RemoteFsClient class.

This patch does the following:
 * Corrects the passing parameters while creating the object of
RemoteFsClient class.
 * Calls the "mount" method in RemoteFsClient to mount GlusterFS
volumes instead of "_do_mount" method in RemoteFSDriver class.
 * Also removes "_do_mount" method RemoteFSDriver class, as it is
not required now.

Closes-Bug: 1433520
Change-Id: I3bfc76fc3228282a741c5265eb06c4974a696b29
cinder/tests/unit/test_glusterfs.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/remotefs.py