From: Bharat Kumar Kobagana Date: Wed, 8 Apr 2015 06:32:32 +0000 (+0530) Subject: GlusterFS: Returning provider location of volume from snapshot X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ff50c28386e27654688a7ef255f70f2fc3bcde37;p=openstack-build%2Fcinder-build.git GlusterFS: Returning provider location of volume from snapshot This patch returns the provider location of volume, which is created from snapshot. Partial-Bug: 1441050 Reported-By: Deepak C Shetty Change-Id: I5994f2f6c125888d442055d9e65355f0af1b22f4 --- diff --git a/cinder/volume/drivers/glusterfs.py b/cinder/volume/drivers/glusterfs.py index 559e12b9b..01853ac54 100644 --- a/cinder/volume/drivers/glusterfs.py +++ b/cinder/volume/drivers/glusterfs.py @@ -223,7 +223,7 @@ class GlusterfsDriver(remotefs_drv.RemoteFSSnapDriver): @locked_volume_id_operation def create_volume_from_snapshot(self, volume, snapshot): - self._create_volume_from_snapshot(volume, snapshot) + return self._create_volume_from_snapshot(volume, snapshot) def _copy_volume_from_snapshot(self, snapshot, volume, volume_size): """Copy data from snapshot to destination volume.