neutron/neutron/common
Eugene Nikanorov aebd27f3b7 Resync L3, DHCP and OVS/LB agents upon revival
In big and busy clusters there could be a condition when
rabbitmq clustering mechanism synchronizes queues and during
this period agents connected to that instance of rabbitmq
can't communicate with the server and server considers them
dead moving resources away. After agent become active again,
it needs to cleanup state entries and synchronize its state
with neutron-server.
The solution is to make agents aware of their state from
neutron-server point of view. This is done by changing state
reports from cast to call that would return agent's status.
When agent was dead and becomes alive, it would receive special
AGENT_REVIVED status indicating that it should refresh its
local data which it would not do otherwise.

Conflicts:
	neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py
	neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
	neutron/tests/unit/agent/dhcp/test_agent.py
	neutron/tests/unit/plugins/ml2/drivers/linuxbridge/agent/test_linuxbridge_neutron_agent.py
	neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py

Closes-Bug: #1505166
Change-Id: Id28248f4f75821fbacf46e2c44e40f27f59172a9
(cherry picked from commit 3b6bd917e4)
2016-01-24 19:38:22 +00:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
config.py Merge "Fix py34 No sql_connection parameter is established error" 2015-08-28 21:08:01 +00:00
constants.py Resync L3, DHCP and OVS/LB agents upon revival 2016-01-24 19:38:22 +00:00
eventlet_utils.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
exceptions.py Merge "Add the missing arg of RetryRequest exception in _lock_subnetpool" into stable/liberty 2015-12-01 01:43:39 +00:00
ipv6_utils.py DB, IPAM & RPC changes for IPv6 Prefix Delegation 2015-08-05 12:22:22 +01:00
log.py Use oslo_log.helpers.log_method_call 2015-07-17 07:34:07 +00:00
rpc.py Revert "Revert "Pecan WSGI: prevent plugins from opening AMQP connections"" 2015-09-16 03:33:47 -07:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
topics.py Add rpc agent api and callbacks to resources_rpc 2015-08-08 10:27:12 +02:00
utils.py /common/utils.py py34 incompatibility 2015-10-02 09:26:08 -07:00