Comment 10 for bug 900959

Revision history for this message
Jay Pipes (jaypipes) wrote :

Hi Eoghan!

So, not quite... or at least not quite correct for #1. Basically, this bug is about *remote* images and the image cache. Remote images are images added to Glance that actually do not get stored in a Glance backend. More specifically, if you add an image (via the API or through the CLI tool) and set the Location field to something like "http://example.com/images/my-image", then you are adding a remote image, as opposed to uploading an image to Glance.

It is these remote images that this bug refers to, as the image cache is not setting the image_size correctly for these images.

Hope this makes more sense! Of course, you are free to assign yourself to this bug! The fix is to follow the code paths for remote images and ensure that a correct image size is passed back to the image cache on a GET.

-jay