]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR Fix find_existing_vluns
authorWalter A. Boring IV <walter.boring@hpe.com>
Tue, 10 Nov 2015 22:12:09 +0000 (14:12 -0800)
committerWalter A. Boring IV <walter.boring@hpe.com>
Fri, 13 Nov 2015 16:42:34 +0000 (08:42 -0800)
commit633d3ea8417376a324335165bbf4b373ace9f56b
treef7f949fb8d95e0b22704fa4b19a9526c4d2ea021
parent0a7103a24295e677e26a4a72d69830c2d4c41c48
3PAR Fix find_existing_vluns

When 3PAR iSCSI driver is configured for multipath, with multiple
ip addresses in hp3par_iscsi_ips, find_existing_vluns fails to return
more than 1 vlun.  The problem with this is that every time
initialize_connection is called, the driver will not find the vlun it expects
to be there, and then it will create a new one.

This patch removes the break inside of find_existing_vluns, so that it
returns the entire list, not just the first vlun.

Change-Id: I0861745717cf9045e10a030dc25fab419f7b1f58
Closes-Bug: #1515033
cinder/volume/drivers/hpe/hpe_3par_common.py