SNAT namespace prematurely created then deleted on hosts, resulting in removal of RFP/FPR link to FIP namespace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
High
|
LIU Yulong |
Bug Description
Seems like collateral from https:/
I think this fix causes problems. We have multiple nodes that are DVR_SNAT mode. Snat namespace is scheduled to 1 of them.
When l3-agent is restarted on the othre nodes, now, initialize() is invoked always for DvrEdgeRouter which creates the SNAT namespace prematurely. This in turn causes external_
Problem is that the dvr_local_router code for external_
Prior to this bug fix, _create_
Even without the breaking issue of deleting the rtr_2_fip link, this fix unnecessarily creates SNAT namespace on every host, only for it to be deleted.
FYI this is for non-HA routers
1. Where the qrouter to FIP link is deleted: https:/
This results in connectivity breakage
2. Above #1 is triggered by code here in edge router which sees snat namespace, but SNAT is scheduled to different host: https:/
3. SNAT namespace is created on wrong host because of bug fix for 1850779 which moved it to DvrEdgeRouter intilization
Changed in neutron: | |
status: | New → Confirmed |
assignee: | nobody → LIU Yulong (dragon889) |
importance: | Undecided → High |
hi Arjun Baindur,
Could you please add some steps of how to reproduce this bug? The router "HA" and "distributed" state with the config options of L3 agents are also needed.
And did you try the fix [1] of this bug https:/ /bugs.launchpad .net/neutron/ +bug/1881995 ? It maybe can solve your problem. /review. opendev. org/c/openstack /neutron/ +/734070
[1] https:/