Omar Alrubaiyan created JCLOUDS-98:
--------------------------------------

             Summary: EC2 CreateSecurityGroupIfNeeded can result in partially 
constructed security groups
                 Key: JCLOUDS-98
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-98
             Project: jclouds
          Issue Type: Bug
    Affects Versions: 1.5.10
            Reporter: Omar Alrubaiyan


If during the the creation of a security group the operation fails (for 
example, due to hitting the EC2 API rate limit) you end up with a partially 
constructed security group. If the operation is then restarted, the group is 
found to exist and gets used even if it doesn't have all the ports authorized. 
It should either:
- Cleanup on failure by deleting the security group it failed to construct.
- Even if the group already exists (due to a previous failure or it was created 
in the past), it should be inspected to see if all the ports are authorized and 
if not add them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to