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)
Reviewed: https:/ /review. openstack. org/85369 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=c70d356352e e21b102a33e0b84 928419894ed3c8
Committed: https:/
Submitter: Jenkins
Branch: milestone-proposed
commit c70d356352ee21b 102a33e0b849284 19894ed3c8
Author: Lucian Petrut <email address hidden>
Date: Fri Mar 28 10:47:07 2014 +0200
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: I8e571397df6d9a 2eeb05e883b7da8 494d4bfa1ad 2d8abfe0121019f 7ad94eefd5)
Closes-Bug: #1299124
(cherry picked from commit 601d54c9ef926fa