3par driver leaves dangling LUNs after volume detach when iscsi & FC volumes used together

Bug #1577993 reported by Jay Mehta
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Jay Mehta

Bug Description

Configured both 3par iscsi & FC driver and attached both iscsi/fc volumes to instance running on same compute node.
When both ISCSI and FC attaches are made on the same compute host you are left with dangling LUNs after removing all attachments.
steps to reproduce:
Load iSCSi & FC 3par driver & enable multipath for iSCSI
1. Create iscsi & fc volumes
2. create one instance
3. Attach the FC volume first & iSCSI volume to instance same instance
4. check multipath -ll
5. detach the volume

Jay Mehta (jay-mehta)
Changed in cinder:
assignee: nobody → Jay Mehta (jay-mehta)
status: New → In Progress
Revision history for this message
Kurt Martin (kurt-f-martin) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/309613
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=0912153358a686721539c48a0736a321544873a1
Submitter: Jenkins
Branch: master

commit 0912153358a686721539c48a0736a321544873a1
Author: Jay Mehta <email address hidden>
Date: Thu Apr 21 16:01:07 2016 -0700

    Implement match-set type 3PAR FC VLUN creation

    Creating match-set type FC VLUN, instead of host sees type.
    Passing node-slot-port details while creating a VLUN.
    This patch fixes dangling lun entry left when both ISCSI and FC
    attaches are made on the same compute host, after removing all
    attachments. Updated version number to 3.0.8.
    Updated broken unit test cases.
    Adding release note.

    Closes-Bug: #1577993
    Change-Id: I927638584093130b0e94c9cdd8074b3617baa366

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/cinder 9.0.0.0b2

This issue was fixed in the openstack/cinder 9.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/345585

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

Reviewed: https://review.openstack.org/345585
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=5f45e0363eadee8aedaf74e11a112ffee82e13de
Submitter: Jenkins
Branch: stable/mitaka

commit 5f45e0363eadee8aedaf74e11a112ffee82e13de
Author: Jay Mehta <email address hidden>
Date: Thu Apr 21 16:01:07 2016 -0700

    Implement match-set type 3PAR FC VLUN creation

    Creating match-set type FC VLUN, instead of host sees type.
    Passing node-slot-port details while creating a VLUN.
    This patch fixes dangling lun entry left when both ISCSI and FC
    attaches are made on the same compute host, after removing all
    attachments. Updated version number to 3.0.8.
    Updated broken unit test cases.
    Adding release note.

    Closes-Bug: #1577993
    Change-Id: I927638584093130b0e94c9cdd8074b3617baa366
    (cherry picked from commit 0912153358a686721539c48a0736a321544873a1)
    Conflicts:
     cinder/volume/drivers/hpe/hpe_3par_fc.py

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 8.1.1

This issue was fixed in the openstack/cinder 8.1.1 release.

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.