]> 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)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 14:08:50 +0000 (22:08 +0800)
commit0a665d232e959de4c9d057f94dfbd1322653d940
tree1e0ecbaa17526e221f91d546b12cefe5845c7c59
parent314ca4be0f614dd52389a1aa4b4e464219144a58
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
(cherry picked from commit 131777688562b1ec020327067d89da1535b99640)
cinder/volume/drivers/windows/windows_utils.py