Notify agents about port update when "port_update" is called to update
port's status change. L3 agent will spawn keepalived only when HA
network port status is ACTIVE. When L3 agent is restarted, it sets HA
network port status to DOWN (through "port_update"), with the assumption
that L2 agent will again rewire the port (set status to ACTIVE) allowing
L3 agent to spawn keepalived. As server is not notifying L2 agent, port
is remaining in DOWN status and L3 agent was never spawning keepalived
on L3 agent restart(if keepalived is killed).
Closes-Bug: 1723848
Change-Id: I629eeff905bf02ec5f7ee68cccc7c19f1b47d5aa
(cherry picked from commit 4f9a6a8b7661c3792101580d14d401e8426bf72a)
Reviewed: https:/ /review. openstack. org/514139 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d6645ad1713 b091181dd1765e0 e11e7ccb25f568
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit d6645ad1713b091 181dd1765e0e11e 7ccb25f568
Author: venkata anil <email address hidden>
Date: Mon Oct 16 06:03:35 2017 +0000
Notify port_update to agent for status change
Notify agents about port update when "port_update" is called to update
port's status change. L3 agent will spawn keepalived only when HA
network port status is ACTIVE. When L3 agent is restarted, it sets HA
network port status to DOWN (through "port_update"), with the assumption
that L2 agent will again rewire the port (set status to ACTIVE) allowing
L3 agent to spawn keepalived. As server is not notifying L2 agent, port
is remaining in DOWN status and L3 agent was never spawning keepalived
on L3 agent restart(if keepalived is killed).
Closes-Bug: 1723848 ec5f7ee68cccc7c 19f1b47d5aa 92101580d14d401 e8426bf72a)
Change-Id: I629eeff905bf02
(cherry picked from commit 4f9a6a8b7661c37