Dell EMC SC: Initialize_connection returns all connections

Bug #1756914 reported by Tom Swanson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Tom Swanson

Bug Description

On a second call to initialize_connection the Dell EMC SC driver will return information for all connections to a volume except for remote Storage Center connections. In addition the driver is not checking luns when looking for duplicate information in the return. This can lead to an incorrect set of luns being returned.

This breaks Nova live migration as it is unable to find the mappings to the volume.

Changed in cinder:
assignee: nobody → Tom Swanson (tom-swanson)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/554592

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

Reviewed: https://review.openstack.org/552933
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=f8980ea128dd6698a1cb3a283d98b47371b854f6
Submitter: Zuul
Branch: master

commit f8980ea128dd6698a1cb3a283d98b47371b854f6
Author: Tom Swanson <email address hidden>
Date: Wed Mar 14 10:45:27 2018 -0500

    Dell EMC SC: ISCSI initialize_connection fixes.

    Driver was not honoring the server in ISCSI and returning connection
    information for all servers (IQNs) connected to a volume.

    If multiple servers are mapped to a volume the driver was only returning
    the first server for a given portal.

    Closes-Bug: #1756914
    Change-Id: If65780000fa8f59f663b00b88584cf289effa590

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/554656

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

Reviewed: https://review.openstack.org/554592
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=96b77e0aa62790320d16f7229aaeeb650fa875b6
Submitter: Zuul
Branch: stable/queens

commit 96b77e0aa62790320d16f7229aaeeb650fa875b6
Author: Tom Swanson <email address hidden>
Date: Wed Mar 14 10:45:27 2018 -0500

    Dell EMC SC: ISCSI initialize_connection fixes.

    Driver was not honoring the server in ISCSI and returning connection
    information for all servers (IQNs) connected to a volume.

    If multiple servers are mapped to a volume the driver was only returning
    the first server for a given portal.

    Closes-Bug: #1756914
    Change-Id: If65780000fa8f59f663b00b88584cf289effa590
    (cherry picked from commit f8980ea128dd6698a1cb3a283d98b47371b854f6)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/pike)

Reviewed: https://review.openstack.org/554656
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=adf7d84b66fdbbfba03721cc5f3f1f392a702eb4
Submitter: Zuul
Branch: stable/pike

commit adf7d84b66fdbbfba03721cc5f3f1f392a702eb4
Author: Tom Swanson <email address hidden>
Date: Wed Mar 14 10:45:27 2018 -0500

    Dell EMC SC: ISCSI initialize_connection fixes.

    Driver was not honoring the server in ISCSI and returning connection
    information for all servers (IQNs) connected to a volume.

    If multiple servers are mapped to a volume the driver was only returning
    the first server for a given portal.

    Closes-Bug: #1756914
    Change-Id: If65780000fa8f59f663b00b88584cf289effa590
    (cherry picked from commit 96b77e0aa62790320d16f7229aaeeb650fa875b6)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (driverfixes/ocata)

Fix proposed to branch: driverfixes/ocata
Review: https://review.openstack.org/555393

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

Reviewed: https://review.openstack.org/555393
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=a5588ecf47e6f6523cedc74c4cbbf49411f6d50d
Submitter: Zuul
Branch: driverfixes/ocata

commit a5588ecf47e6f6523cedc74c4cbbf49411f6d50d
Author: Tom Swanson <email address hidden>
Date: Wed Mar 14 10:45:27 2018 -0500

    Dell EMC SC: ISCSI initialize_connection fixes.

    Driver was not honoring the server in ISCSI and returning connection
    information for all servers (IQNs) connected to a volume.

    If multiple servers are mapped to a volume the driver was only returning
    the first server for a given portal.

    Closes-Bug: #1756914
    Change-Id: If65780000fa8f59f663b00b88584cf289effa590
    (cherry picked from commit 96b77e0aa62790320d16f7229aaeeb650fa875b6)
    (cherry picked from commit adf7d84b66fdbbfba03721cc5f3f1f392a702eb4)

tags: added: in-driverfixes-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (driverfixes/newton)

Fix proposed to branch: driverfixes/newton
Review: https://review.openstack.org/555828

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

Reviewed: https://review.openstack.org/555828
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=05c40c0db5014756c3bf10d87e739cf770e7f495
Submitter: Zuul
Branch: driverfixes/newton

commit 05c40c0db5014756c3bf10d87e739cf770e7f495
Author: Tom Swanson <email address hidden>
Date: Wed Mar 14 10:45:27 2018 -0500

    Dell EMC SC: ISCSI initialize_connection fixes.

    Driver was not honoring the server in ISCSI and returning connection
    information for all servers (IQNs) connected to a volume.

    If multiple servers are mapped to a volume the driver was only returning
    the first server for a given portal.

    Closes-Bug: #1756914
    Change-Id: If65780000fa8f59f663b00b88584cf289effa590
    (cherry picked from commit 96b77e0aa62790320d16f7229aaeeb650fa875b6)
    (cherry picked from commit adf7d84b66fdbbfba03721cc5f3f1f392a702eb4)
    (cherry picked from commit a5588ecf47e6f6523cedc74c4cbbf49411f6d50d)

tags: added: in-driverfixes-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/560620

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b1

This issue was fixed in the openstack/cinder 13.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.1

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

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

Reviewed: https://review.openstack.org/560620
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d2bff999dbf9fdf48e4b1f4c402217ceb97bf6a0
Submitter: Zuul
Branch: stable/ocata

commit d2bff999dbf9fdf48e4b1f4c402217ceb97bf6a0
Author: Tom Swanson <email address hidden>
Date: Wed Mar 14 10:45:27 2018 -0500

    Dell EMC SC: ISCSI initialize_connection fixes.

    Driver was not honoring the server in ISCSI and returning connection
    information for all servers (IQNs) connected to a volume.

    If multiple servers are mapped to a volume the driver was only returning
    the first server for a given portal.

    Closes-Bug: #1756914
    Change-Id: If65780000fa8f59f663b00b88584cf289effa590
    (cherry picked from commit 96b77e0aa62790320d16f7229aaeeb650fa875b6)
    (cherry picked from commit adf7d84b66fdbbfba03721cc5f3f1f392a702eb4)

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.1.1

This issue was fixed in the openstack/cinder 11.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.