]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Storwize/SVC: Check wwpn not None
authorAvishay Traeger <avishay@il.ibm.com>
Tue, 11 Feb 2014 20:34:24 +0000 (22:34 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Tue, 11 Feb 2014 20:36:32 +0000 (22:36 +0200)
commit0916370a486419b9606331d972666f1551d499d9
treee6504c2cce2aa0fa893f45522a2310112c4eb3dd
parentc7976f116bc89524e38b2adc648acd2a74212f26
Storwize/SVC: Check wwpn not None

If the storage doesn't have WWPN information for a host but gets it in
the connector, initialize_connection can fail because it does
wwpn.lower(), and wwpn can be None. Make sure it isn't before calling
lower().

Change-Id: I9923f5c87a1e596e35116bfcbf08c181b75bba35
Closes-bug: 1279061
cinder/volume/drivers/ibm/storwize_svc/helpers.py