[
https://issues.apache.org/jira/browse/JCLOUDS-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Gaul updated JCLOUDS-98:
-------------------------------
Labels: ec2 (was: )
> 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
> Components: jclouds-compute
> Affects Versions: 1.5.10
> Reporter: Omar Alrubaiyan
> Labels: ec2
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)