]> 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)
committerjohn-griffith <john.griffith@solidfire.com>
Fri, 4 Apr 2014 14:32:50 +0000 (08:32 -0600)
commitc70d356352ee21b102a33e0b84928419894ed3c8
treee5eeaf33a6c1f7fb4f82dc306d50969813aa6ab9
parent5a1fcc88ce613b01cf50c55f2508c01bbc609ed4
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
(cherry picked from commit 601d54c9ef926fa2d8abfe0121019f7ad94eefd5)
cinder/volume/drivers/windows/windows_utils.py