]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes cinder volume delete on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 28 Mar 2014 08:47:07 +0000 (10:47 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 28 Mar 2014 19:13:08 +0000 (21:13 +0200)
commit601d54c9ef926fa2d8abfe0121019f7ad94eefd5
tree2e06b8ef9e93ff1c8651c9ebdacc84712ae47690
parent6b3d177695ef360fce9454c890fd262d2429e0b8
Fixes cinder volume delete on Windows

Because of the fact that an iSCSI target is not created anymore
at volume creation time, not all volumes will have a corresponding
target. For this reason, when removing an iSCSI target we must
first check if the target actually exists.

Change-Id: I8e571397df6d9a2eeb05e883b7da8494d4bfa1ad
Closes-Bug: #1299124
cinder/volume/drivers/windows/windows_utils.py