Comment 1 for bug 1483326

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-brick (master)

Reviewed: https://review.openstack.org/203265
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=c0839fa55067e96bf577d16b7b9d825ae7b52aba
Submitter: Jenkins
Branch: master

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.

    Closes-Bug: #1483326
    Change-Id: I8708db16a4b9057b09abad9f956fa5a3bb4ba54c