]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Log entry when no Floating IP interface present
authorrajeev <rajeev.grover@hp.com>
Wed, 4 Feb 2015 22:48:16 +0000 (17:48 -0500)
committerrajeev <rajeev.grover@hp.com>
Thu, 5 Feb 2015 02:05:39 +0000 (21:05 -0500)
Having a log entry here in process_router_floating_ip_addresses
would make it easier to understand why the status of floating ips
wasn't updated.

Change-Id: If7ff3d8951010ed2a4e802acdb948cfdfcb5dda6
Related-bug: #1415522

neutron/agent/l3/agent.py

index 844911d22782fe4f9af8e31524f27b0b2a1b4d5d..296b128e1235c91305854ac53b70624bb3818aad 100644 (file)
@@ -752,6 +752,8 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback,
 
         fip_statuses = {}
         if interface_name is None:
+            LOG.debug('No Interface for floating IPs router: %s',
+                      ri.router['id'])
             return fip_statuses
 
         device = ip_lib.IPDevice(interface_name, self.root_helper,