]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Scality SOFS: enhance how the remoteFS mount is detected
authorJordan Pittier <jordan.pittier@scality.com>
Thu, 4 Jun 2015 15:32:49 +0000 (17:32 +0200)
committerJordan Pittier <jordan.pittier@scality.com>
Thu, 18 Jun 2015 09:46:45 +0000 (11:46 +0200)
commit44393dd2826bbaffbed21217b0859b6ed1c46bda
tree7ba3751aa46b90c8c6f8e835f5c2a759ea955967
parent002a10dff24c4666bf9352c8aa8b8f35f602333e
Scality SOFS: enhance how the remoteFS mount is detected

Previously we relied on a special "sys" dir being present at the root
of the mount point. This was weak. We now read the mount table and look
for a fuse-based FS mounted at the correct location.

Also, for the unit test, we slowly try to use mock instead of mox.

Change-Id: I055858e66db09fe7c5b1688c9fa05077948f342d
cinder/tests/unit/test_scality.py
cinder/volume/drivers/scality.py
cinder/volume/utils.py