Duncan Grant created BROOKLYN-344:
-------------------------------------

             Summary: An entity can't be a member of 2 shared security groups
                 Key: BROOKLYN-344
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-344
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Duncan Grant
            Priority: Minor


This yaml fails:

```
location:
  jclouds:aws-ec2:us-east-1:
    imageId: us-east-1/ami-a96b01c0
    hardwareId: t1.micro
    customizers:
    - $brooklyn:object:
        type: 
org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer
        object.fields: {tcpPortRanges: ["900-910", "915"]}
    - $brooklyn:object:
        type: 
org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer
        object.fields: {tcpPortRanges: ["915-920", "915"], udpPortRanges: 
["550-560", "23"], openIcmp: true}
services:
- type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
  brooklyn.config:
    effector.add.openInboundPorts: true
```

This fails when brooklyn tries to open the ssh port twice.  I think there is a 
case where an entity might be part of 2 shared security groups.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to