'Clones a temporary virtual disk and deletes it finally.'

def _copy_temp_virtual_disk(self, src_dc_ref, src_path, dest_dc_ref, dest_path):

    try:
        self.volumeops.copy_vmdk_file(src_dc_ref, src_path.get_descriptor_ds_file_path(), dest_path.get_descriptor_ds_file_path(), dest_dc_ref)
    except exceptions.VimException:
        with excutils.save_and_reraise_exception():
            LOG.exception('Error    occurred    while    copying    %(src)s    to    %(dst)s.', {'src': src_path.get_descriptor_ds_file_path(), 'dst': dest_path.get_descriptor_ds_file_path()})
    finally:
        self._delete_temp_disk(src_path.get_descriptor_ds_file_path(), src_dc_ref)
