← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264087] [NEW] no-security-groups option is not working on neutron port-create

 

Public bug reported:

Version
=======
Havana on rhel , python-neutronclient

Description
===========
Creating  a port with  --no-security-groups  option ,will  still attached the default security group  


 
Logs
=========

[root@puma04 ~(keystone_admin_tenant3)]$neutron security-group-list 
+--------------------------------------+---------+-------------+
| id                                   | name    | description |
+--------------------------------------+---------+-------------+
| 6911222c-003d-4e9e-bf43-76c3e69d2025 | default | default     |
+--------------------------------------+---------+-------------+


[root@puma04 ~(keystone_admin_tenant3)]$neutron net-create net1
Created a new network:
+----------------+--------------------------------------+
| Field          | Value                                |
+----------------+--------------------------------------+
| admin_state_up | True                                 |
| id             | dc755222-b829-4487-8ee5-29f5086f2534 |
| name           | net1                                 |
| shared         | False                                |
| status         | ACTIVE                               |
| subnets        |                                      |
| tenant_id      | e6825ebd832f48b4aff5752796e006f7     |
+----------------+--------------------------------------+

[root@puma04 ~(keystone_admin_tenant3)]$neutron port-create net1 --no-security-groups 
Created a new port:
+-----------------------+--------------------------------------+
| Field                 | Value                                |
+-----------------------+--------------------------------------+
| admin_state_up        | True                                 |
| allowed_address_pairs |                                      |
| device_id             |                                      |
| device_owner          |                                      |
| fixed_ips             |                                      |
| id                    | 91943356-a9a9-409c-9597-38a5450f5d1e |
| mac_address           | fa:16:3e:85:ee:fa                    |
| name                  |                                      |
| network_id            | dc755222-b829-4487-8ee5-29f5086f2534 |
| security_groups       | 6911222c-003d-4e9e-bf43-76c3e69d2025 | <<<<<<<<<<<
| status                | DOWN                                 |
| tenant_id             | e6825ebd832f48b4aff5752796e006f7     |
+-----------------------+--------------------------------------+

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1264087

Title:
  no-security-groups option is not working on neutron port-create

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Version
  =======
  Havana on rhel , python-neutronclient

  Description
  ===========
  Creating  a port with  --no-security-groups  option ,will  still attached the default security group  

  
   
  Logs
  =========

  [root@puma04 ~(keystone_admin_tenant3)]$neutron security-group-list 
  +--------------------------------------+---------+-------------+
  | id                                   | name    | description |
  +--------------------------------------+---------+-------------+
  | 6911222c-003d-4e9e-bf43-76c3e69d2025 | default | default     |
  +--------------------------------------+---------+-------------+

  
  [root@puma04 ~(keystone_admin_tenant3)]$neutron net-create net1
  Created a new network:
  +----------------+--------------------------------------+
  | Field          | Value                                |
  +----------------+--------------------------------------+
  | admin_state_up | True                                 |
  | id             | dc755222-b829-4487-8ee5-29f5086f2534 |
  | name           | net1                                 |
  | shared         | False                                |
  | status         | ACTIVE                               |
  | subnets        |                                      |
  | tenant_id      | e6825ebd832f48b4aff5752796e006f7     |
  +----------------+--------------------------------------+

  [root@puma04 ~(keystone_admin_tenant3)]$neutron port-create net1 --no-security-groups 
  Created a new port:
  +-----------------------+--------------------------------------+
  | Field                 | Value                                |
  +-----------------------+--------------------------------------+
  | admin_state_up        | True                                 |
  | allowed_address_pairs |                                      |
  | device_id             |                                      |
  | device_owner          |                                      |
  | fixed_ips             |                                      |
  | id                    | 91943356-a9a9-409c-9597-38a5450f5d1e |
  | mac_address           | fa:16:3e:85:ee:fa                    |
  | name                  |                                      |
  | network_id            | dc755222-b829-4487-8ee5-29f5086f2534 |
  | security_groups       | 6911222c-003d-4e9e-bf43-76c3e69d2025 | <<<<<<<<<<<
  | status                | DOWN                                 |
  | tenant_id             | e6825ebd832f48b4aff5752796e006f7     |
  +-----------------------+--------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1264087/+subscriptions


Follow ups

References