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/620804 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=968dba2aaa8 c89a57e0fd3f78a 2e174bca1a9aa3
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 968dba2aaa8c89a 57e0fd3f78a2e17 4bca1a9aa3
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