diff --git a/cinder/volume/drivers/ibm/storwize_svc/helpers.py b/cinder/volume/drivers/ibm/storwize_svc/helpers.py index 9fc6b0b79be..c6071a27cb1 100644 --- a/cinder/volume/drivers/ibm/storwize_svc/helpers.py +++ b/cinder/volume/drivers/ibm/storwize_svc/helpers.py @@ -200,6 +200,7 @@ class StorwizeHelpers(object): host_name = name elif ('wwpns' in connector and len(connector['wwpns']) and + wwpn and wwpn.lower() in [str(x).lower for x in connector['wwpns']]): host_name = name