From 63671411553fe5db474ebc8549bb96f34d32e805 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Thu, 5 Sep 2019 14:22:58 +0200 Subject: [PATCH] Add info log about ready DHCP config for ports DHCP agent sends to neutron-server information about ports for which DHCP configration is finished. There was no logged any information about ports which has got finished this DHCP ports configuration. This patch adds such log with INFO level. It is the same as it is currently done in e.g. neutron-ovs-agent. Change-Id: I9506f855af118bbbd45b55a711504d6ad0f863cc --- neutron/agent/dhcp/agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neutron/agent/dhcp/agent.py b/neutron/agent/dhcp/agent.py index 7ded9ed4b9d..1be063ff6b7 100644 --- a/neutron/agent/dhcp/agent.py +++ b/neutron/agent/dhcp/agent.py @@ -253,6 +253,8 @@ class DhcpAgent(manager.Manager): try: self.plugin_rpc.dhcp_ready_on_ports(ports_to_send) + LOG.info("DHCP configuration for ports %s is completed", + ports_to_send) continue except oslo_messaging.MessagingTimeout: LOG.error("Timeout notifying server of ports ready. "