[API] Creating router with external_gateway_info creates security group with empty tenant_id field

Bug #1719183 reported by Gena
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Unassigned

Bug Description

1) Run a test from test_security_groups.py in tempest neutron plugin git (For example use neutron/tests/tempest/scenario/test_security_groups.py path and run test_protocol_number_rule)
2) After network creation the first security group is created (for test tenant)
3) After router creation for some reason another security group is created when the tenant_id field is empty.
4) The following is sent when this behavior occurs:
uri:
'v2.0/routers'
body:
'{"router": {"external_gateway_info": {"network_id": "efa041d4-eed7-46e9-8373-714a1bc9175a"}, "name": "tempest-router-1046611578", "admin_state_up": true}}'

Removing "external_gateway_info" filed from body solves the problem and no new security group is created (as expected)

Revision history for this message
Swaminathan Vasudevan (swaminathan-vasudevan) wrote :

What branch is this test failure seen.

Revision history for this message
Boden R (boden) wrote :

Moving to incomplete; please specify which branch the failure is from.

Changed in neutron:
status: New → Incomplete
Revision history for this message
Gena (gcheresh) wrote :

Master branch on Pike (version 12)

Gena (gcheresh)
Changed in neutron:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.