]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix inability to delete volumes in error state for NetApp driver
authorRushi Agrawal <rushi.agr@gmail.com>
Fri, 1 Feb 2013 18:16:58 +0000 (23:46 +0530)
committerRushi Agrawal <rushi.agr@gmail.com>
Tue, 5 Feb 2013 11:09:18 +0000 (16:39 +0530)
commit31b938eae00d5a023bff14567a290eb27de441f9
tree36373337d9c12bb00b65f3ca57905889d89d53b5
parent4275a23af9950ba607d703243e3c6a1592286e93
Fix inability to delete volumes in error state for NetApp driver

While using NetApp 7-mode storage box to create volumes, if the volume
is not created on the storage box (possibly due to wrong/missing
options in cinder.conf file), the volume goes in error state, and when
one tries to delete the volume, an exception was raised which made
the volume go in error_deleting state, which is unrecoverable. This
commit quiesces that exception, resulting in successful removal of the
volume entry from the volume table.

Fixes bug 1090167

Change-Id: I0a25b71ad03e7f7acf58df3952e074ff164b82ff
cinder/tests/test_netapp.py
cinder/volume/drivers/netapp.py