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

Bug #546572 reported by Scott Moser on 2010-03-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
New
Undecided
chris grzegorczyk
euca2ools (Ubuntu)
Medium
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 $?
0
# 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
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
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.
1

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
1

.. Marking euca2ools task Invalid.

Thanks.

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 http://eucalyptus.atlassian.net/browse/EUCA-2688

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