VPC security_group_ids

When using EC2 VPCs, security group ids are expected, the below changes were necessary to make the template work:

 
oneadmin@/usr/lib/one/ruby#: diff ec2_driver.rb.orig ec2_driver.rb
124c124
<                     :opt => 'security_groups',
---
>                     :opt => 'security_group_ids',

Otherwise, VMs using subnet IDs will not launch in VPCs, they will fail with the below error:

The parameter groupName cannot be used with the parameter subnet 

Hi,

Thank you for reporting this. There is already a ticket for it and we will try to include it for the final release:
http://dev.opennebula.org/issues/3753

Cheers

Great! Thanks Daniel.

Hi,

It should be fixed in master. I have included an extra option for security_group_ids instead of replacing the existing security_groups

http://dev.opennebula.org/projects/opennebula/repository/revisions/de34c04d4f53e39f83acffce6570de660a3f7a94/diff/

Cheers

Thanks Daniel!

Working as expected now. Would be worth updating the documentation with the new attribute: http://docs.opennebula.org/4.14/advanced_administration/cloud_bursting/ec2g.html

Thank you for the feedback, I have just updated the docs in master.