]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Raise correct exception if deleting of LIO iSCSI target is failed
authorMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Wed, 14 Jan 2015 17:40:51 +0000 (12:40 -0500)
committerMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Fri, 23 Jan 2015 22:44:24 +0000 (17:44 -0500)
commit40e7f19a67070af762743b883eeb49e3aca0c379
tree6e6e32523f5f72ceb833c290de65b3b93ee6eb63
parent9906718cc2de3d6be518a3013cf53f718c899876
Raise correct exception if deleting of LIO iSCSI target is failed

When using LVM driver and LIO target, terminate_connection in LIO
target raises ISCSITargetAttachFailed if deleting of iSCSI target
is failed.

This should raise ISCSITargetDetachFailed.

Closes-Bug: #1414207
Change-Id: I98060d5a0bcd720df15434305ab8d3e31bdb1a43
cinder/exception.py
cinder/tests/targets/test_lio_driver.py
cinder/volume/targets/lio.py