ec2-authorize fails to take effect when a similar rule exists

Bug #430852 reported by Dmitrii Zagorodnov on 2009-09-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Medium
chris grzegorczyk

Bug Description

Not sure if this is sufficient to recreate or identify the bug, but here's my best guess at the cause-effect:

ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0

fails to "stick" (i.e. doesn't report an error, though a subsequent ec2-describe-group does not show the new rule) apparently because an earlier set of rules still in effect:

ec2-add-group apache -d "apache"
ec2-authorize default -P tcp -p 22 -o apache -u admin
ec2-authorize apache -P tcp -p 22 -s 0.0.0.0/0

Removing the existing rule for "default" solved this problem:

ec2-revoke default -P tcp -p 22 -o apache -u admin

chris grzegorczyk (chris-grze) wrote :

------------------------------------------------------------
revno: 928
committer: decker <decker@personal-army>
branch nick: 1.6
timestamp: Tue 2009-10-13 14:34:50 -0700
message:
  - fix handling of security groups for the admin lp:#401996 and a corner case in lp:#430852
------------------------------------------------------------

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  Edit
Everyone can see this information.

Other bug subscribers