@xiaohhui, I set compute node's l3_agent to dvr mode.
when compute node's l3_agent, it will run sync_routers RPC call. And current code [1] will cause ha router bind to compute node's dvr mode l3_agent.
[1]https://github.com/openstack/neutron/blob/master/neutron/scheduler/l3_agent_scheduler.py#L153
I add some check before _schedule_ha_routers_to_additional_agent. Then in my company' environment,The problem disappered.
@xiaohhui, I set compute node's l3_agent to dvr mode.
when compute node's l3_agent, it will run sync_routers RPC call. And current code [1] will cause ha router
bind to compute node's dvr mode l3_agent.
[1]https:/ /github. com/openstack/ neutron/ blob/master/ neutron/ scheduler/ l3_agent_ scheduler. py#L153
I add some check before _schedule_ ha_routers_ to_additional_ agent. Then in my company' environment,The
problem disappered.