euca-modify-image-attribute -l -a exits success on non-existant id

Bug #546572 reported by Scott Moser on 2010-03-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chris grzegorczyk
euca2ools (Ubuntu)
Mitch Garnaat

Bug Description

Binary package hint: euca2ools

# euca-modify-image-attribute --launch-permission --remove all emi-29210D13
IMAGE emi-29210D13
# euca-modify-image-attribute --launch-permission --add admin emi-29210D13
IMAGE emi-29210D13
# euca-describe-image-attribute --launch-permission emi-29210D13
launchPermission emi-29210D13 userId admin

Note, either of the following
# euca-modify-image-attribute --launch-permission --add admin self ; echo $?
# euca-modify-image-attribute --launch-permission --add admin FOOOBOOBOBOB ; echo $?

ProblemType: Bug
Architecture: amd64
Date: Wed Mar 24 21:34:43 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
Package: euca2ools 1.2-0ubuntu6
PackageArchitecture: all
 PATH=(custom, user)
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: euca2ools
Uname: Linux 2.6.32-16-generic x86_64

Scott Moser (smoser) wrote :
Scott Moser (smoser) wrote :

for reference, against ec2:

$ euca-modify-image-attribute --launch-permission --add foof ami-db00efb2 ; echo $?
InvalidAMIAttributeItemValue: Invalid attribute item value "foof " for userId item type.

Scott Moser (smoser) wrote :

given comment 2, i think this is an api issue.

Mathias Gug (mathiaz) on 2010-03-30
Changed in euca2ools (Ubuntu):
importance: Undecided → Medium
Neil Soman (neilsoman) on 2010-10-12
Changed in eucalyptus:
assignee: nobody → chris grzegorczyk (chris-grze)
Changed in euca2ools (Ubuntu):
assignee: nobody → Mitch Garnaat (mitch-garnaat)
Dave Walker (davewalker) wrote :

Confirmed, against nova it reports:
$ euca-modify-image-attribute --launch-permission --add admin self ; echo $?
ApiError: user or group not specified

.. Marking euca2ools task Invalid.


Changed in euca2ools (Ubuntu):
status: New → Invalid

ops ... I accidentally changed project.

affects: eucalyptus → euca2ools
affects: euca2ools → eucalyptus
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at

Please watch that issue for further updates.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers