Launch permissions are ignored on 2.0

Bug #737335 reported by wat
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Eucalyptus
Invalid
Undecided
Unassigned
2.0
Fix Committed
Medium
graziano obertelli

Bug Description

The function, isAllowed(), in ImageInfo.java always returns true except when the user is not exist.
What's the plan of launch permissions on series 2.0?

Related branches

Daniel Nurmi (nurmi)
Changed in eucalyptus:
assignee: nobody → chris grzegorczyk (chris-grze)
Revision history for this message
wat (ssl-eucalyptus-users) wrote :

I want to use launch permissions in 2.0 series like 1.6.
So I made a patch simply checking the image is public or not and does it have the user's authorization.
It seems work well with my 2.0.3 environment.

Revision history for this message
wat (ssl-eucalyptus-users) wrote :

This patch is for lp:eucalyptus/2.0 branch.

Revision history for this message
Lester Wade (lester-wade) wrote :

Repeatable;

$ euca-describe-image-attribute emi-A1620FBE -l
$ launchPermission emi-A1620FBE userId shatterednirvana
$ euca-run-instances -t m1.large -n 1 -k <mykey> emi-A1620FBE
RESERVATION r-323105BE lwade lwade-default
INSTANCE i-497D087E emi-A1620FBE euca-0-0-0-0.eucalyptus.eucasys.com euca-0-0-0-0.eucalyptus.internal pending lwade 2011-12-13T22:20:19.311Z eki-D61714AE eri-1798159C

Changed in eucalyptus:
assignee: chris grzegorczyk (chris-grze) → nobody
Revision history for this message
graziano obertelli (graziano.obertelli) wrote :

Created a eutester script test to reproduce this issue (check https://projects.eucalyptus.com/redmine/issues/100 for the code). The script reproduced the issue against the ECC.

Revision history for this message
graziano obertelli (graziano.obertelli) wrote :

The fix has been committed. This issue do not apply to the devel branch.

Changed in eucalyptus:
status: New → Invalid
Revision history for this message
Eucalyptus Portal Bot (support-test) wrote : Re: [Bug 737335] Re: Launch permissions are ignored on 2.0

__________________________________
Please type your reply at the top of the email...

------------------------------------------------------

Eucalyptus | Mar 01, 2012 11:26PM UTC

Hello graziano obertelli,

  Thank you for submitting your request. We have received your request and are working on responding to you within the SLA. The severity has currently been set at . If you have any additional information to add to this case, please reply to this email. If this is a service affecting issue, please respond with the word 'critical' or 'emergency' in the subject and we prioritize your issue accordingly.

Thanks in advance for your patience and support.

Eucalyptus Support Team

------------------------------------------------------

For your reference this is Case #: 150

------------------------------------------------------

[[e469ac8da7e78c989abc7f9cd1feb17772621450-31608447]]

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.