commit c0839fa55067e96bf577d16b7b9d825ae7b52aba
Author: Walter A. Boring IV <email address hidden>
Date: Fri Jul 17 15:42:43 2015 -0700
Remove the iSCSI rescan during disconnect
Doing an iSCSI rescan at disconnect time is pretty
dangerous to do. iSCSI rescan doesn't make volumes
go away, it makes them show back up. So during Nova
live migration it will make local scsi volumes show
back up.
Nova live migration first loops over volumes and calls
disconnect_volume, then after that it loops over the volumes
again and call's cinder to terminate_connection.
If disconnect_volume does a rescan, then volumes there were
removed during previous calls will show back up, because cinder's
driver hasn't had a chance to terminate the connection yet
from the array.
Reviewed: https:/ /review. openstack. org/203265 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=c0839fa5506 7e96bf577d16b7b 9d825ae7b52aba
Committed: https:/
Submitter: Jenkins
Branch: master
commit c0839fa55067e96 bf577d16b7b9d82 5ae7b52aba
Author: Walter A. Boring IV <email address hidden>
Date: Fri Jul 17 15:42:43 2015 -0700
Remove the iSCSI rescan during disconnect
Doing an iSCSI rescan at disconnect time is pretty
dangerous to do. iSCSI rescan doesn't make volumes
go away, it makes them show back up. So during Nova
live migration it will make local scsi volumes show
back up.
Nova live migration first loops over volumes and calls volume, then after that it loops over the volumes connection.
disconnect_
again and call's cinder to terminate_
If disconnect_volume does a rescan, then volumes there were
removed during previous calls will show back up, because cinder's
driver hasn't had a chance to terminate the connection yet
from the array.
Closes-Bug: #1483326 7b09abad9f956fa 5a3bb4ba54c
Change-Id: I8708db16a4b905