]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Storwize SVC driver hostname can't start with number
authorAlan Jiang <ajiang@us.ibm.com>
Tue, 1 Oct 2013 05:38:03 +0000 (00:38 -0500)
committerAlan Jiang <ajiang@us.ibm.com>
Wed, 2 Oct 2013 03:15:41 +0000 (22:15 -0500)
commita9b51ea8421939ddc1d9a964dd58a1067fc2a167
tree2077c0a940b044cd88f9ea5e687351bc6ddd1171
parenta2673b0febc72d6d9b69e39845282448e94fd91c
Storwize SVC driver hostname can't start with number

Storwize family storage does not allow host identifier start with
a numeric number. Otherwise cinder initialize_connection() API will
throw exception due to such invalid host name in the connector. The fix
is to add a '_' symbol as prefix if the host identifier in connector
starts with non-alphabet letters.

Closes-Bug: #1233952
Change-Id: Ia88afc373e2635c10c3f6256331a4fd90f51f4b8
cinder/volume/drivers/storwize_svc.py