]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Update SolidFire driver to reflect IQN changes
authorJohn Griffith <john.griffith@solidfire.com>
Fri, 7 Sep 2012 05:50:49 +0000 (23:50 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 7 Sep 2012 05:52:55 +0000 (23:52 -0600)
 Prior to release the SolidFire device returned only
 a partial iqn string in it's api call.

 With the GA release, this was modified to return the entire
 iqn string, so just drop the prefix we were using in beta.

Change-Id: I7fa9d1ec6e2639149375a1115198eee90c527ef1

cinder/volume/solidfire.py

index 132e924a5153b5db930ff65f53cf82829f7590a0..70fbcab870ad95a23df07a3c5fd03062a8b650c4 100644 (file)
@@ -228,7 +228,7 @@ class SolidFire(SanISCSIDriver):
         iqn = None
         for v in volume_list:
             if v['volumeID'] == volume_id:
-                iqn = 'iqn.2010-01.com.solidfire:' + v['iqn']
+                iqn = v['iqn']
                 break
 
         model_update = {}