]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Correct IetAdm remove_iscsi_target
authorJohn Griffith <john.griffith@solidfire.com>
Wed, 19 Sep 2012 17:18:51 +0000 (11:18 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Wed, 19 Sep 2012 21:52:56 +0000 (15:52 -0600)
commit6b310577e9ef8b24eb50df5fe5bcef28e1d260a7
treee5bbda88fe3b44bd4b67dbc9c4ade7f3d9b7ec5b
parentf4ab45cfe9dfa9df9277ce052f21607d4aa6f3c7
Correct IetAdm remove_iscsi_target

Remove logical units should be done before delete the target while
unexport iSCSI volume. Or ietd will show "No such file or directory"
error.

Fix bug 1043107

Change-Id: Iab5b97044c5a30c788fcabce827923ff82a84b91
(cherry picked from commit f14e955735065a998cd78280661f6d33c850d9e2)
cinder/tests/test_iscsi.py
cinder/utils.py
cinder/volume/iscsi.py