Restarting l3 agent results in lost of centralized fip in snat ns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
Reproduce steps:
l3 agent mode:
network node:dvr_snat
compute node:dvr_
1、Create dvr+ha.
2、Set router gateway and add router interface.
3、Create vm and associate fip.
4、Restart l3 agent.
5、Restart l3 agent again.
After step 3, fip can be found in snat ns on network node.
After step 4, fip can not be found in snat ns on network node.
After step 5, fip can be found again in snat ns on network node.
The reason may be that for ha router, router cidrs should be seek from keepalived instance, not from device.
Adding following code in [1] can solve this problem:
def _get_centralize
"""Returns the fip_cidr set for centralized floatingips."""
return set(self.
[1]https:/
description: | updated |
tags: | added: l3-dvr-backlog |
Changed in neutron: | |
assignee: | Swaminathan Vasudevan (swaminathan-vasudevan) → Brian Haley (brian-haley) |
So in Step3 you are restarting the 'dvr_snat' agent that hosts the centralized fip.
In Step4, you mentioned after restarting the 'fip' is not found. Since you have configured the 'HA', do you see the fip in the alternade 'Network Node' Snat namespace? Can you confirm.
In Step5, when you say 'restart' again, are you restarting on the Same node or different node. Can you confirm.