During L3 agent restart, the dvr ha router gateway port
binding host may change because the multiple ha router
scheduled hosts.
After this patch, we return the 'master' ha binding host
directly during the gateway port create. And do not let
the original 'master' (current is backup) host override
the gateway port binding host.
Closes-Bug: #1793529
Change-Id: Icb2112c7f0bd42c4f4b1cf32d6b83b6d97f85ef7
(cherry picked from commit 1973a037c29b0fc8bf6347771ed930726d1648f5)
Reviewed: https:/ /review. openstack. org/612452 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b411b5ff59e f182b1e392d0a41 dfa02d5e0ecc6b
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit b411b5ff59ef182 b1e392d0a41dfa0 2d5e0ecc6b
Author: LIU Yulong <email address hidden>
Date: Fri Sep 28 18:33:28 2018 +0800
Fix dvr ha router gateway goes wrong host
During L3 agent restart, the dvr ha router gateway port
binding host may change because the multiple ha router
scheduled hosts.
After this patch, we return the 'master' ha binding host
directly during the gateway port create. And do not let
the original 'master' (current is backup) host override
the gateway port binding host.
Closes-Bug: #1793529 c4f4b1cf32d6b83 b6d97f85ef7 8bf6347771ed930 726d1648f5)
Change-Id: Icb2112c7f0bd42
(cherry picked from commit 1973a037c29b0fc