1509398: Detaching multipath volume doesn't work properly when using different targets with same portal for each multipath device

Bug #1521653 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
Won't Fix
High
Alexey Stupnikov

Bug Description

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

With "iscsi_use_multipath=true", detaching a multipath iSCSI volume kills all iSCSI volumes visible from the attached node. When we use different targets(IQNs) associated with same portal for each different multipath device, all of the targets will be deleted via disconnect_volume().

This patch fixes the behavior of detaching volume:
  1. Extract the targets for the detached multipath device.
  2. Delete/disconnect the targets for the detached multipath device.

Original issue: https://bugs.launchpad.net/nova/+bug/1382440
Original code-review: https://review.openstack.org/#/c/232849/

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
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Won't fix, as we don't accept partner features to MOS7 anymore.

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.