]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Examine if GPFS is mounted before writing data.
authorQin Zhao <chaochin@gmail.com>
Wed, 30 Oct 2013 16:37:43 +0000 (00:37 +0800)
committerQin Zhao <chaochin@gmail.com>
Thu, 31 Oct 2013 10:20:28 +0000 (18:20 +0800)
commitcb1d1e4241c6ecb99797a46053c43b2e4b3b52e7
tree1622340359ad3c0624da95bef4d60ab3fb596d87
parent152e33d985099ab67c8d424e32227dcd2aef33bc
Examine if GPFS is mounted before writing data.

If GPFS is not mounted, throw an exception and log the error message. That will
prevent create_volume(), copy_image_to_volume() or _clone_image() to create
file on local disk, which can not be removed by the driver code itself.

Change-Id: If5d4c7a88e82362d2a87068202926b1ca82d9dff
Closes-Bug: #1242511
cinder/volume/drivers/gpfs.py