SNAT namespace is not getting cleared after the manual move of SNAT with dead agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Swaminathan Vasudevan |
Bug Description
Latest patch (2016-06-10): https:/
Stale snat namespace on the controller after recovery of dead l3 agent.
Note: Only on Stable/LIBERTY Branch:
Setup:
Multiple controller (DVR_SNAT) setup.
Steps:
1) Create tenant network, subnet and router.
2) Create a external network
3) Attached internal & external network to a router
4) Create VM on above tenant network.
5) Make sure VM can reach outside using CSNAT.
6) Find router hosting l3 agent and stop the l3 agent.
7) Manually move router to other controller (dvr_snat mode). SNAT namespace should be create on new controller node.
8) Start the l3 agent on the controller (the one that stopped in step6)
9) Notice that snat namespace is now available on 2 controller and it is not getting deleted from the agent which is not hosting it.
Example:
| cfa97c12-
| df4ca7c5-
mysql> select * from csnat_l3_
+------
| router_id | l3_agent_id | host_id | csnat_gw_port_id |
+------
| 0fb68420-
+------
On vm1-ctl1-936
Stale SNAT namespace on Initially hosting controller.
ubuntu@
snat-0fb68420-
qrouter-
On vm2-ctl2-936 (2nd Controller)
ubuntu@
snat-0fb68420-
qrouter-
tags: | added: l3-dvr-backlog |
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
status: | New → Confirmed |
Changed in neutron: | |
status: | Fix Released → In Progress |
description: | updated |
description: | updated |
Fix proposed to branch: master /review. openstack. org/302068
Review: https:/