'Clones a copy from image snapshot.'

def _clone_from_snapshot(self, volume, image_id, snapshot_id):

    cloned = False
    LOG.info('Cloning    image    %s    from    snapshot.', image_id)
    for share in self._mounted_shares:
        LOG.debug('Image    share:    %s', share)
        if (share and self._is_share_vol_compatible(volume, share)):
            try:
                self._clone_image_snapshot(snapshot_id, volume['name'], share)
                cloned = True
                volume['provider_location'] = share
                break
            except Exception:
                LOG.warning('Unexpected    exception    during    image    cloning    in    share    %s', share)
    return cloned
