]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Do not remove volume silently if GPFS is unmounted
authorzhaoqin <chaochin@gmail.com>
Fri, 8 Nov 2013 18:27:49 +0000 (02:27 +0800)
committerzhaoqin <chaochin@gmail.com>
Fri, 8 Nov 2013 18:29:13 +0000 (02:29 +0800)
commit5fc5ba9ccbb5786bc2e4d11e47c0b92f1cf56a42
treeec74960e02a6e3f9c79457d0f270906261773ff4
parent54b117d26e3e61e639c334e2e1c47fcd481745ab
Do not remove volume silently if GPFS is unmounted

When GPFS is not mounted, delete_volume() will complete successfully, so that
volume record is removed by cinder but volume file still resides on GPFS. This
change will prevent cinder to remove volume when GPFS is not mounted.

Change-Id: Ic3bf265e553f22c8b6a6e3568da04af88fab3322
Closes-Bug: #1249411
cinder/volume/drivers/gpfs.py