From 8cd0c794793ca168e57050a7bdabd908f6fc7472 Mon Sep 17 00:00:00 2001 From: elajkat Date: Tue, 11 Mar 2025 12:42:18 +0100 Subject: [PATCH] DHCP Agent: Log resource update events Related-Bug: #2101840 Related-Bug: #2087944 Change-Id: I9bae0c68233a19b643436e6800272ebf50d922af Signed-off-by: elajkat --- neutron/agent/dhcp/agent.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neutron/agent/dhcp/agent.py b/neutron/agent/dhcp/agent.py index 3bd0301335f..035ded56e71 100644 --- a/neutron/agent/dhcp/agent.py +++ b/neutron/agent/dhcp/agent.py @@ -591,6 +591,11 @@ class DhcpAgent(manager.Manager): def _process_resource_update(self): for tmp, update in self._queue.each_update_to_next_resource(): + LOG.debug("Starting processing update %s, action %s, priority %s, " + "update_id %s. Wait time elapsed: %.3f", + update.id, update.action, update.priority, + update.update_id, + update.time_elapsed_since_create) method = getattr(self, update.action) method(update.resource) LOG.debug('Pending events to be processed: %s', self._queue.qsize)