boto's EC2Connection.get_image("imageid") doesn't work

Bug #495670 reported by Patrick Armstrong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Undecided
Unassigned

Bug Description

When I connect to my Eucalyptus 1.6.1 Cluster with boto, I can't use get_image or get_all_images with an image id to look for. Example Python session:

>>> import boto.ec2
>>> region = boto.ec2.regioninfo.RegionInfo(name="euca", endpoint="euca.phys.uvic.ca")
>>> connection = boto.connect_ec2(aws_access_key_id="myid", aws_secret_access_key="secretkey", is_secure=False, region=region, port=8773, path="/services/Eucalyptus",)
>>> connection.get_all_images()
[Image:eri-21AF18F1, Image:emi-EFC81124, Image:eki-C08C179C]
>>> connection.get_all_images(["emi-EFC81124"])
[]
>>> connection.get_image("emi-EFC81124")
>>>

Whereas with Amazon EC2, I get:

>>> connection = boto.connect_ec2("myid", "mysecret")
>>> connection.get_all_images(["ami-98a741f1"])
[Image:ami-98a741f1]
>>> connection.get_image("ami-98a741f1")
Image:ami-98a741f1

Related branches

Revision history for this message
Neil Soman (neilsoman) wrote :

Fixed in revno 1140.

Changed in eucalyptus:
status: New → Fix Committed
Changed in eucalyptus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.