[openstack-dev] [NOVA] security group fails to attach to an instance if port-id is specified during boot.

Parikshit Manur parikshit.manur at citrix.com
Thu Sep 25 06:15:07 UTC 2014


Hi All,
                Creation of server with command  'nova boot  --image <image> --flavor m1.medium --nic port-id=<port-id> --security-groups  <sec_grp> <name>' fails to attach the security group to the port/instance. The response payload has the security group added but only default security group is attached to the instance.  Separate action has to be performed on the instance to add sec_grp, and it is successful. Supplying the same with '--nic net-id=<net-id>' works as expected.

Is this the expected behaviour / are there any other options which needs to be specified to add the security group when port-id needs to be attached during boot.

Thanks,
Parikshit Manur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140925/a60f7ce2/attachment.html>


More information about the OpenStack-dev mailing list