From fa74fb615e1a4a8e470bbb0c1456efab64c327cd Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Thu, 14 Sep 2017 15:34:03 -0600 Subject: [PATCH] DVR: Fix bad arping call in centralized floating IP code When the centralized floating IP code was added, the call to send_ip_addr_adv_notif() had an incorrect argument, leading to this failure in the l3-agent log: TypeError: range() integer end argument expected, got ConfigOpts. Closes-bug: #1717597 Change-Id: Ib0a5162912caac0508e19996fb13e431af39cfc4 (cherry picked from commit 92f1052d3c5d5bc7b89e49fdfff8f0ef24832a1c) --- neutron/agent/l3/dvr_edge_router.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neutron/agent/l3/dvr_edge_router.py b/neutron/agent/l3/dvr_edge_router.py index dc273d0ab59..c5d958f14a0 100644 --- a/neutron/agent/l3/dvr_edge_router.py +++ b/neutron/agent/l3/dvr_edge_router.py @@ -323,8 +323,7 @@ class DvrEdgeRouter(dvr_local_router.DvrLocalRouter): # centralized floatingip configured. ip_lib.send_ip_addr_adv_notif(self.snat_namespace.name, interface_name, - fip['floating_ip_address'], - self.agent_conf) + fip['floating_ip_address']) return lib_constants.FLOATINGIP_STATUS_ACTIVE def _centralized_floating_forward_rules(self, floating_ip, fixed_ip):