when restart the vpn and l3 agent, the firewall rule apply to all tenants' router.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
High
|
yangzhenyu |
Bug Description
Hi all:
when restart the vpn and l3 agent, the firewall rule apply to all tenants' router.
step:
1. Create network and router in A and B tenant.
2. Create a firewall in A tenant.
3. Restart vpn and l3 agent serivce.
4. ip netns exec qrouter-
Then I find the firewall rule in chain neutron-
So I debug the code,and add some code in neutron/
def _process_
"""On router add, get fw with rules from plugin and update driver."""
routers = []
if router_info_list:
# Get the firewall with rules
# for the tenant the router is on.
ctx = context.Context('', ri.router[
fw_list = self.fwplugin_
for fw in fw_list:
+++++++++++++++++if fw['tenant_id'] == ri.router[
My neutron version is icehouse.
description: | updated |
description: | updated |
Changed in neutron: | |
assignee: | nobody → Sridhar Gaddam (sridhargaddam) |
Changed in neutron: | |
assignee: | Sridhar Gaddam (sridhargaddam) → yangzhenyu (cdyangzhenyu) |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | In Progress → Confirmed |
Changed in neutron: | |
milestone: | liberty-1 → liberty-2 |
Changed in neutron: | |
milestone: | liberty-2 → none |
Fix proposed to branch: stable/icehouse /review. openstack. org/139540
Review: https:/