euca-describe-images returns empty set if ami given and owner != self

Bug #530296 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
euca2ools
Fix Released
Undecided
Unassigned
euca2ools (Ubuntu)
Fix Released
Low
Dustin Kirkland 

Bug Description

Binary package hint: euca2ools

euca-describe-images does not search all images if an ami-id is given.

For examples:
$ ec2-describe-images ami-bb709dd2
IMAGE ami-bb709dd2 ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20100121.manifest.xml 099720109477 available public i386 machineaki-5f15f636 ari-d5709dbc instance-store
$ euca-describe-images ami-bb709dd2; echo ---
---

Basically, if an ami-id is given, and no executable-by or owner restrictions (-x/-o) are given, then all owners/executable by should be searched.

Attaching a patch.

ProblemType: Bug
Architecture: i386
Date: Mon Mar 1 20:14:11 2010
DistroRelease: Ubuntu 10.04
Ec2AMI: ami-e9b95680
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-lucid-daily-i386-server-20100301.manifest.xml
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: m1.small
Ec2Kernel: aki-3fdb3756
Ec2Ramdisk: unavailable
Package: euca2ools 1.2-0ubuntu4
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 2.6.32-302.6-ec2
SourcePackage: euca2ools
Uname: Linux 2.6.32-302-ec2 i686

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

bug 356389 is related, I'm not sure if there has been a regression from that or not.

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

Thanks for your patch. Committed as revno 262.

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

The workaround for bug 356389 is no longer required.

Please see bug 531076 gets rid of the workaround for 356389.

Neil Soman (neilsoman)
Changed in eucalyptus:
status: New → Fix Committed
Changed in euca2ools (Ubuntu):
status: New → Fix Committed
status: Fix Committed → New
Thierry Carrez (ttx)
Changed in euca2ools (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
tags: added: patch
Changed in euca2ools (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
Changed in euca2ools (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package euca2ools - 1.2-0ubuntu6

---------------
euca2ools (1.2-0ubuntu6) lucid; urgency=low

  * Cherry-pick upstream bzr r262, fixes:
    - LP: #530296 - euca-describe-images returns empty set if ami given
      and owner != self (actually fixed in the last uploaded, neglected
      to mention in changelog, do so now, for completeness)
 -- Dustin Kirkland <email address hidden> Mon, 08 Mar 2010 14:35:23 -0600

Changed in euca2ools (Ubuntu):
status: Fix Committed → Fix Released
affects: eucalyptus → euca2ools
Changed in euca2ools:
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.