]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Return all target_wwpns for FC storwize
authorYucong Feng <yfeng@us.ibm.com>
Fri, 19 Feb 2016 21:25:19 +0000 (22:25 +0100)
committerYucong Feng <yfeng@us.ibm.com>
Thu, 25 Feb 2016 18:43:27 +0000 (19:43 +0100)
commitf8636888590ddb3339eafad9c00e4806df486238
tree81605cf2f6bfb3cba9fd687ee98acee1d1d66c45
parent68e7ae469d9dc1f907e01ba39e441b61475a232a
Return all target_wwpns for FC storwize

Storwize FC terminate_connection was using 'lsfabric' to lookup
target_wwpns, active on the fabric, to be used to terminate
the connection. However during a delete of a NPIV VM, the target_wwpns
is no longer active, it is not logged onto the fabric. The target list
will return empty. Fix is to return all the available wwpns
from 'storage_nodes'.

Change-Id: I39897f5583c878cc6243683d4bd60f800ea588af
Closes-Bug: #1546281
cinder/tests/unit/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/storwize_svc_fc.py