]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes cinder error state volume delete on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 8 Apr 2014 16:35:10 +0000 (19:35 +0300)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 9 Apr 2014 07:03:01 +0000 (10:03 +0300)
commit131777688562b1ec020327067d89da1535b99640
tree6b6e051bfbb551193141e617eab319f59a67beee
parent1d1a9b3fe7bc4acd19c68b58791f34389148bb9d
Fixes cinder error state volume delete on Windows

If the volume creation fails and the iSCSI disk is not created,
trying to delete the error state volume will fail on Windows.

Deleting the iSCSI disk must be skipped when it does not exist.

Change-Id: I2cd615e71fe457c241bea207c4bd8904c1ffd9cb
Closes-Bug: #1304516
cinder/volume/drivers/windows/windows_utils.py