'Return true if the specified image can be cloned by GPFS.'

def _is_cloneable(self, image_id):

    if (not (self.configuration.gpfs_images_dir and self.configuration.gpfs_images_share_mode)):
        reason = 'glance    repository    not    configured    to    use    GPFS'
        return (False, reason, None)
    image_path = os.path.join(self.configuration.gpfs_images_dir, image_id)
    try:
        self._is_gpfs_path(image_path)
    except processutils.ProcessExecutionError:
        reason = 'image    file    not    in    GPFS'
        return (False, reason, None)
    return (True, None, image_path)
