Attach/detach volume iSCSI multipath doesn't work properly if there are different targets associated with different portals for a mulitpath device.

Bug #1266051 reported by Xing Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Xing Yang
Havana
Fix Released
Undecided
Xing Yang

Bug Description

The connect_volume and disconnect_volume code in LibvirtISCSIVolumeDriver assumes that the targets for different portals are the same for the same multipath device. This is true for some arrays but not for others. When there are different targets associated with different portals for the same multipath device, multipath doesn't work properly during attach/detach volume operations.

Xing Yang (xing-yang)
Changed in nova:
assignee: nobody → Xing Yang (xing-yang)
status: New → In Progress
Xing Yang (xing-yang)
tags: added: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/64962

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/65189

Changed in nova:
milestone: none → icehouse-2
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-2 → icehouse-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/65189
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=429ac4dedd617f8c1f7c88dd8ece6b7d2f2accd0
Submitter: Jenkins
Branch: master

commit 429ac4dedd617f8c1f7c88dd8ece6b7d2f2accd0
Author: Xing Yang <email address hidden>
Date: Mon Jan 6 17:27:28 2014 -0500

    Fixed a problem in iSCSI multipath

    Multipathing for attach volume and detach volume operations
    doesn't work properly if there are different targets
    associated with different portals for a mulitpath device.

    Change-Id: Iab316526cf64de60325d90043f73fa3e83fafb4e
    Closes-Bug: #1266051

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/80172

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/80172
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=374ff97e3d40520563f0b1fb988082a932347696
Submitter: Jenkins
Branch: stable/havana

commit 374ff97e3d40520563f0b1fb988082a932347696
Author: Xing Yang <email address hidden>
Date: Mon Jan 6 17:27:28 2014 -0500

    Fixed a problem in iSCSI multipath

    Multipathing for attach volume and detach volume operations
    doesn't work properly if there are different targets
    associated with different portals for a mulitpath device.

    Closes-Bug: #1266051
    (cherry picked from commit 429ac4dedd617f8c1f7c88dd8ece6b7d2f2accd0)

    Conflicts:
     nova/tests/virt/libvirt/test_libvirt_volume.py
     nova/virt/libvirt/volume.py

    Change-Id: Iab316526cf64de60325d90043f73fa3e83fafb4e

tags: added: in-stable-havana
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → 2014.1
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.