If all agents are shown as a standby it is possible changing state
were lost due to problems with RabbitMQ. Current change adds check
for ha state in fetch_and_sync_all_routers. If state is different -
notify server that state should be changed.
Also change _get_bindings_and_update_router_state_for_dead_agents
to set standby for dead agent only in case we have more than one
active.
(cherry picked from commit 1927da1bc7c4e56162dd3704d58d3b922d4ebce9)
Change-Id: If5596eb24041ea9fae1d5d2563dcaf655c5face7
Closes-bug:#1648242
Reviewed: https:/ /review. openstack. org/423064 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c8a4fa46948 e5026923ae22eb7 5aeeb4a93161c4
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit c8a4fa46948e502 6923ae22eb75aee b4a93161c4
Author: AKamyshnikova <email address hidden>
Date: Fri Dec 16 16:00:59 2016 +0400
Add check for ha state
If all agents are shown as a standby it is possible changing state sync_all_ routers. If state is different -
were lost due to problems with RabbitMQ. Current change adds check
for ha state in fetch_and_
notify server that state should be changed.
Also change _get_bindings_ and_update_ router_ state_for_ dead_agents
to set standby for dead agent only in case we have more than one
active.
(cherry picked from commit 1927da1bc7c4e56 162dd3704d58d3b 922d4ebce9) 9fae1d5d2563dca f655c5face7 bug:#1648242
Change-Id: If5596eb24041ea
Closes-