From ff50c28386e27654688a7ef255f70f2fc3bcde37 Mon Sep 17 00:00:00 2001 From: Bharat Kumar Kobagana Date: Wed, 8 Apr 2015 12:02:32 +0530 Subject: [PATCH] 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 --- cinder/volume/drivers/glusterfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.45.2