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

2015-02-11 Thread Feodor Tersin
You could rise an exception if ports are specified for all nics. [1] I'm not sure that logging of this case is helpful, because only admins can access to logs. Probably the better way to warn a user is to do it at client side by nova cli (i.e. no any modification of nova server is needed). [1] It

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

2015-02-10 Thread Oleg Bondarev
On Tue, Feb 10, 2015 at 5:26 PM, Feodor Tersin wrote: > I definitely don't expect any change of the existing port in the case with > two nics. However in the case of single nic a question like 'what is impact > of security-groups parameter' arises. > Also a similar question arises out of '--nic p

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

2015-02-10 Thread Feodor Tersin
I definitely don't expect any change of the existing port in the case with two nics. However in the case of single nic a question like 'what is impact of security-groups parameter' arises. Also a similar question arises out of '--nic port-id=xxx,v4-fixed-ip=yyy' combination. Moreover, if we assume

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

2015-02-09 Thread Oleg Bondarev
On Mon, Feb 9, 2015 at 8:50 PM, Feodor Tersin wrote: > nova boot ... --nic port-id=xxx --nic net-id=yyy > this case is valid, right? > I.e. i want to boot instance with two ports. The first port is specified, > but the second one is created at network mapping stage. > If i specify a security grou

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

2015-02-09 Thread Feodor Tersin
nova boot ... --nic port-id=xxx --nic net-id=yyy this case is valid, right? I.e. i want to boot instance with two ports. The first port is specified, but the second one is created at network mapping stage. If i specify a security group as well, it will be used for the second port (if not - default

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

2015-02-09 Thread Matt Riedemann
On 9/26/2014 3:19 AM, Christopher Yeoh wrote: On Fri, 26 Sep 2014 11:25:49 +0400 Oleg Bondarev wrote: On Fri, Sep 26, 2014 at 3:30 AM, Day, Phil wrote: I think the expectation is that if a user is already interaction with Neutron to create ports then they should do the security group as

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

2014-09-26 Thread Matt Riedemann
On 9/26/2014 3:19 AM, Christopher Yeoh wrote: On Fri, 26 Sep 2014 11:25:49 +0400 Oleg Bondarev wrote: On Fri, Sep 26, 2014 at 3:30 AM, Day, Phil wrote: I think the expectation is that if a user is already interaction with Neutron to create ports then they should do the security group as

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

2014-09-26 Thread Simon Pasquier
On Fri, Sep 26, 2014 at 10:19 AM, Christopher Yeoh wrote: > On Fri, 26 Sep 2014 11:25:49 +0400 > Oleg Bondarev wrote: > > > On Fri, Sep 26, 2014 at 3:30 AM, Day, Phil wrote: > > > > > I think the expectation is that if a user is already interaction > > > with Neutron to create ports then they

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

2014-09-26 Thread Christopher Yeoh
On Fri, 26 Sep 2014 11:25:49 +0400 Oleg Bondarev wrote: > On Fri, Sep 26, 2014 at 3:30 AM, Day, Phil wrote: > > > I think the expectation is that if a user is already interaction > > with Neutron to create ports then they should do the security group > > assignment in Neutron as well. > > > >

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

2014-09-26 Thread Oleg Bondarev
st (not for usage questions) > *Subject:* Re: [openstack-dev] [NOVA] security group fails to attach to > an instance if port-id is specified during boot. > > > > Hi Parikshit, > > > > Looks like a bug. Currently if port is specified its security groups are > not

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

2014-09-25 Thread Day, Phil
: Oleg Bondarev [mailto:obonda...@mirantis.com] Sent: 25 September 2014 08:19 To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [NOVA] security group fails to attach to an instance if port-id is specified during boot. Hi Parikshit, Looks like a bug

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

2014-09-25 Thread Oleg Bondarev
Hi Parikshit, Looks like a bug. Currently if port is specified its security groups are not updated, it shpould be fixed. I've reported https://bugs.launchpad.net/nova/+bug/1373774 to track this. Thanks for reporting! Thanks, Oleg On Thu, Sep 25, 2014 at 10:15 AM, Parikshit Manur < parikshit.ma..

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

2014-09-24 Thread Parikshit Manur
Hi All, Creation of server with command 'nova boot --image --flavor m1.medium --nic port-id= --security-groups ' 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 ins