[Expired for neutron because there has been no activity for 60 days.] ** Changed in: neutron Status: Incomplete => Expired
-- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1161907 Title: port created with {"security_groups": null} is associated with the default security_group Status in neutron: Expired Bug description: I specified {"security_groups": null} when port-create, but the port created is associated with the default security group. If the attribute security_groups is None (i.e.. null), is_attr_set() in attribute.py returns False, so default_sg is applied to the port. DEBUG: quantumclient.client REQ: curl -i http://10.56.51.252:9696/v2.0/ports.json -X POST -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 2893b4a0abcb401689cff3a7dd610b20" -d '{"port": {"network_id": "0a6930c9-8bcb-4c7b-9c85-32bcf364cd59", "security_groups": null, "admin_state_up": true}}' DEBUG: quantumclient.client RESP:{'date': 'Fri, 29 Mar 2013 14:36:55 GMT', 'status': '201', 'content-length': '443', 'content-type': 'application/json; charset=UTF-8'} {"port": {"status": "DOWN", "name": "", "admin_state_up": true, "network_id": "0a6930c9-8bcb-4c7b- 9c85-32bcf364cd59", "tenant_id": "ffc9febde5ae48c9a7c50ab3d8a35706", "device_owner": "", "mac_address": "fa:16:3e:c3:6a:bd", "fixed_ips": [{"subnet_id": "b16fce6a-30e7-4084-be67-8c05f73b9172", "ip_address": "10.0.0.5"}], "id": "421cc09c-c13b-444d-a2cb-5c835231005d", "security_groups": ["6d1f7746-88c1-416c-8bc0-83bbd559b389"], "device_id": ""}} Created a new port: +-----------------+---------------------------------------------------------------------------------+ | Field | Value | +-----------------+---------------------------------------------------------------------------------+ | admin_state_up | True | | device_id | | | device_owner | | | fixed_ips | {"subnet_id": "b16fce6a-30e7-4084-be67-8c05f73b9172", "ip_address": "10.0.0.5"} | | id | 421cc09c-c13b-444d-a2cb-5c835231005d | | mac_address | fa:16:3e:c3:6a:bd | | name | | | network_id | 0a6930c9-8bcb-4c7b-9c85-32bcf364cd59 | | security_groups | 6d1f7746-88c1-416c-8bc0-83bbd559b389 | | status | DOWN | | tenant_id | ffc9febde5ae48c9a7c50ab3d8a35706 | +-----------------+---------------------------------------------------------------------------------+ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1161907/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp