1509398: Remove the iSCSI rescan during disconnect

Bug #1521649 reported by Alexey Stupnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
High
Alexey Stupnikov
7.0.x
Confirmed
High
Alexey Stupnikov

Bug Description

This is a "sub-bug" of https://bugs.launchpad.net/mos/+bug/1509398

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.

Original issue: https://bugs.launchpad.net/os-brick/+bug/1483326
Original code-review: https://review.openstack.org/#/c/232847/

Changed in mos:
milestone: 7.0-mu-2 → 7.0-updates
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Same issue as in bug #1521648. In Kilo Nova uses its own code to provision volumes. It is needed to patch nova/virt/libvirt/volume.py file to change the way it operates.

Changed in mos:
milestone: 7.0-updates → 8.0
status: Confirmed → New
Changed in mos:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.