3PAR iSCSI Driver using 'excessive' iscsi & fc ports

Bug #1269515 reported by Ramy Asselin on 2014-01-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Low
Ramy Asselin

Bug Description

According to the note at the end of http://docs.openstack.org/trunk/config-reference/content/enable-hp-3par-fibre-channel.html

"You can configure one or more iSCSI addresses by using the hp3par_iscsi_ips option. When you configure multiple addresses, the driver selects the iSCSI port with the fewest active volumes at attach time. The IP address might include an IP port by using a colon (:) to separate the address from port. If you do not define an IP port, the default port 3260 is used. Separate IP addresses with a comma (,). The iscsi_ip_address/iscsi_port options might be used as an alternative to hp3par_iscsi_ips for single port iSCSI configuration."

The 3PAR Driver should not consume ALL N:S:P iSCSI Paths (and FC!) from the 3PAR to the host, especially when it is configured with a single port iSCSI Configuration when attaching a volume to a host.

Instead, it should simply choose the least used (at the time of connection).

Steps to reproduce:
1. Configure a 3PAR to a blade with more than one path: e.g. 2 iscsi & 2 fc
2. Create an iscsi volume
3. Attach the iscsi volume to an instance
4. Observe that 4 VLUNs are created, one for each path between the 3par & the instance (2 iscsi & 2 fc, yes, fc too even if this is an iscsi volume)

Changed in cinder:
assignee: nobody → Ramy Asselin (ramy-asselin)
status: New → In Progress

Reviewed: https://review.openstack.org/68456
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=99379d6ec00b7bdfe5a625877d8e680f9240efcc
Submitter: Jenkins
Branch: master

commit 99379d6ec00b7bdfe5a625877d8e680f9240efcc
Author: Ramy Asselin <email address hidden>
Date: Wed Jan 15 13:29:34 2014 -0800

    3PAR iSCSI volumes attach to single nsp

    Update the 3PAR iSCSI Driver to correctly identify
    the least used iSCSI Node:Slot:Port (NSP) and only attach
    the volume using that single NSP.

    DocImpact: Driver now requires 3PAR firmware version 3.1.2 MU3
    Ref: https://review.openstack.org/#/c/68513/

    Change-Id: I1627e44a5168a7dbd19ea62312d65a00044753e9
    Closes-Bug: #1269515

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → icehouse-3
Thierry Carrez (ttx) on 2014-03-05
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-3 → 2014.1
Changed in cinder:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers