]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Handle the volume not found case in the VMAX driver
authorXing Yang <xing.yang@emc.com>
Fri, 19 Dec 2014 17:45:45 +0000 (12:45 -0500)
committerXing Yang <xing.yang@emc.com>
Mon, 22 Dec 2014 21:28:10 +0000 (16:28 -0500)
commitc634b095b7cc0750d0e5d9eb75d800773f5c929f
tree270d7f5ac5104db2056d1c896f99b8d2d436ffd3
parenta20330d64fc24d1421660b49d196609cd6127979
Handle the volume not found case in the VMAX driver

When a volume cannot be found on the array, VMAX driver throws
an exception. This brings a volume into error_deleting state during
the volume deletion operation. This patch fixed it by returning None
when a volume cannot be found.

Closes-Bug: #1395830
Change-Id: Iad714ff6e577bc9d7cf69b8654a7eb726969279e
cinder/tests/test_emc_vmax.py
cinder/volume/drivers/emc/emc_vmax_common.py
cinder/volume/drivers/emc/emc_vmax_utils.py