]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
L3 Agent restart causes network outage
authorStephen Ma <stephen.ma@hp.com>
Wed, 29 May 2013 01:52:27 +0000 (18:52 -0700)
committerStephen Ma <stephen.ma@hp.com>
Sat, 25 Jan 2014 04:20:13 +0000 (04:20 +0000)
commit011d99f300ea5d5f4ce48023bd04a795a4872287
tree12c80d888947ab1ab72ca24af1473eee9c34833e
parent49efd608d395ecede1f8074d17c6a8230ffbb1c6
L3 Agent restart causes network outage

When a L3 agent controlling multiple qrouter namespaces
restarts, it destroys all qrouter namespaces even if
some of them are still in use.  As a result, network
traffic could be stopped on the VMs that use the
networks associated with these namespaces.

So what is needed is for the L3 agent to preserve those
qrouter namespaces a L3 agent instance recognizes and to
destroy those it does not know about.

Closes-Bug: #1175695

Change-Id: Idae77886bd195d773878c3d212ccfd56269216fb
neutron/agent/l3_agent.py
neutron/tests/unit/test_l3_agent.py