]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
HA routers master state now distributed amongst agents
authorAssaf Muller <amuller@redhat.com>
Mon, 15 Sep 2014 15:11:17 +0000 (18:11 +0300)
committerAssaf Muller <amuller@redhat.com>
Thu, 18 Sep 2014 14:10:23 +0000 (17:10 +0300)
commit0bd4472ef7bdb9d94f988669f34f7eaa53ca0a89
treeb8a238fe28f9ffcf56e60407c182696219deaa68
parentc08ada02d7eb36a963da6af12e289dd85bf441c7
HA routers master state now distributed amongst agents

We're currently running with no pre-emption, meaning that
the first router in a cluster to go up will be the master,
regardless of priority. Since the order in which we sent
notifications was constant, the same agent hosted the
master instances of all HA routers, defeating the idea
of load sharing.

Closes-Bug: #1365429
Change-Id: Ia6fe2bd0317c241bf7eb55915df7650dfdc68210
neutron/api/rpc/agentnotifiers/l3_rpc_agent_api.py
neutron/db/l3_hamode_db.py
neutron/plugins/nec/nec_router.py