OpenStack and Security Groups

148 views
Skip to first unread message

Leander

unread,
Nov 6, 2012, 5:58:03 AM11/6/12
to jcl...@googlegroups.com
Hello,

I've noticed that every time I create an instance in OpenStack with JClouds, a new security group is created for the new instance. Is there any way I can disable this? The nodes I'm creating are pre-configured images, so no security groups need to be defined.

Regards,

Leander

Adrian Cole

unread,
Nov 6, 2012, 10:48:49 AM11/6/12
to jcl...@googlegroups.com
Hi, Leander.

In the current code, the only way to disable this in nova is to set
inbound ports to nada

TemplateOptions.inboundPorts(new int[]{});

can feel free to add a issue to support disabling security group
creation on NovaTemplateOptions

HTH,
-A
> --
> You received this message because you are subscribed to the Google Groups
> "jclouds" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/jclouds/-/42rSpzJzVbQJ.
> To post to this group, send email to jcl...@googlegroups.com.
> To unsubscribe from this group, send email to
> jclouds+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jclouds?hl=en.

Leander Bessa Beernaert

unread,
Nov 6, 2012, 11:02:37 AM11/6/12
to jcl...@googlegroups.com
Thanks, will do.

Adrian Cole

unread,
Nov 13, 2012, 1:37:55 AM11/13/12
to jcl...@googlegroups.com
ok https://github.com/jclouds/jclouds/pull/988 should fix it.  Basically, it disables generation of security groups when a user supplies them.

Note we are planning to cut jclouds 1.5.3 tomorrow.  Let me know if you can test this feature, and we could pull it in.

-A

Leander Bessa Beernaert

unread,
Nov 13, 2012, 5:57:17 AM11/13/12
to jcl...@googlegroups.com
Please forgive my ignorance, but I cannot figure out how to apply that particular commit to the source tree. I've scoured the github documentation but cannot find any indication on how to do so :/


To view this discussion on the web visit https://groups.google.com/d/msg/jclouds/-/sfOv1PY_AIMJ.

Adrian Cole

unread,
Nov 13, 2012, 10:50:50 AM11/13/12
to jcl...@googlegroups.com

Easiest way is..

git checkout -b testing

git pull https://github.com/jclouds/jclouds.git dont-generate-when-user-supplies-groupnames

To view this discussion on the web visit https://groups.google.com/d/msg/jclouds/-/sfOv1PY_AIMJ.
Reply all
Reply to author
Forward
0 new messages