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.
Reviewed: https:/ /review. openstack. org/618750 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7d0e1ccd34a 473c511c9c23574 21825539965e41
Committed: https:/
Submitter: Zuul
Branch: master
commit 7d0e1ccd34a473c 511c9c235742182 5539965e41
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
Related-Bug: #1717302