This patch returns the provider location of volume, which is
created from snapshot.
Partial-Bug:
1441050
Reported-By: Deepak C Shetty <deepakcs@redhat.com>
Change-Id: I5994f2f6c125888d442055d9e65355f0af1b22f4
@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.