Comment 5 for bug 541468

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 541468] Re: euca-describe-images <img> lists all images when querying against ec2

On Thu, 18 Mar 2010, Neil Soman wrote:

> Reintroducing the workaround fixes this problem. The list from EC2
> includes all images even if an image id is specified.

This is simply not true.
You can convince yourself of it by using 'get_image' from boto.
   euca_conn.get_image(image_ids[0])
or
   images = euca_conn.get_all_images(image_ids=image_ids, None, None)

The former will return 1 image, the latter, given a valid list, will
return that number.

I'll play with this some more tomorrow. The work around of locally
filtering everything can obviously be made to work, but its terribly
wasteful.