]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
solidfire: Make sure src_uuid is passed correctly
authorMathieu Gagné <mgagne@iweb.com>
Thu, 16 May 2013 00:54:27 +0000 (20:54 -0400)
committerMathieu Gagné <mgagne@iweb.com>
Thu, 16 May 2013 00:56:05 +0000 (20:56 -0400)
src_uuid wasn't passed correctly as an attribute because
the variable was wrongly quoted and couldn't be interpolated.

Fixes: bug #1180611
Change-Id: If22dda162a28138cf447ce12bbe061f623e6d076

cinder/volume/drivers/solidfire.py

index 602da4d8a2590c5be8fabb0c77c8465c1a894c41..daab58a6af1c3ac87bf602b6f4ae93b2fb0274d2 100644 (file)
@@ -316,7 +316,7 @@ class SolidFire(SanISCSIDriver):
 
         attributes = {'uuid': v_ref['id'],
                       'is_clone': 'True',
-                      'src_uuid': 'src_uuid'}
+                      'src_uuid': src_uuid}
 
         if qos:
             for k, v in qos.items():