It may happen that L3 agent works in dvr_snat mode but
it handles some router as "normal" dvr router because
snat for this router is handled on other node.
In such case we shouldn't try to get floating IPs cidrs
from snat namespace as it doesn't exists on host.
Change-Id: Ib27dc223fcca56030ebb528625cc927fc60553e1
Related-Bug: #1717302
(cherry picked from commit 7d0e1ccd34a473c511c9c2357421825539965e41)
Reviewed: https:/ /review. openstack. org/620803 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=115a9f55583 b1b762954b04694 7394b5a3032d52
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 115a9f55583b1b7 62954b046947394 b5a3032d52
Author: Slawek Kaplonski <email address hidden>
Date: Mon Nov 19 14:31:17 2018 +0100
Get centralized FIP only on router's snat host
It may happen that L3 agent works in dvr_snat mode but
it handles some router as "normal" dvr router because
snat for this router is handled on other node.
In such case we shouldn't try to get floating IPs cidrs
from snat namespace as it doesn't exists on host.
Change-Id: Ib27dc223fcca56 030ebb528625cc9 27fc60553e1 511c9c235742182 5539965e41)
Related-Bug: #1717302
(cherry picked from commit 7d0e1ccd34a473c