[Yahoo-eng-team] [Bug 1748097] Re: Security groups not set when port instead of network selected

2018-02-16 Thread Akihiro Motoki
I reopened it. Actually we can specify both a network and a port when launching a server. I would like to see your more concrete suggestion on this. - Do you want an error message when a user tries to create a server only with a port? - What do you expect when "default" security group is

[Yahoo-eng-team] [Bug 1748097] Re: Security groups not set when port instead of network selected

2018-02-15 Thread Akihiro Motoki
This is the intentional behavior of nova API. When you see the list of request parameters of create-server API [1], the description of "networks.port" field says "Requested security groups are not applied to pre-existing ports." [1] https://developer.openstack.org/api-ref/compute/#create-server