def show(self, context, image_id):
        try:
            image_meta = self._get_client(context).get_image_meta(image_id)
        except glance_exception.NotFound:
            raise exception.ImageNotFound(image_id=image_id)

        if not self._is_image_available(context, image_meta):
            raise exception.ImageNotFound(image_id=image_id)

        base_image_meta = self._translate_to_base(image_meta)
        return base_image_meta
Returns a dict with image data for the given opaque image id.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/image/glance.py/GlanceImageService.show