From 70b3d383ac2a0d7d339c551065b9b378a4b9b914 Mon Sep 17 00:00:00 2001 From: Ryan Moats Date: Wed, 28 Oct 2015 11:01:28 -0500 Subject: [PATCH] Log end of router updates for PD and delete branches These execution branches call continue directly without logging the end of the router update. This leads to confusion about when the last router update finishes if it is a delete or a PD update. Change-Id: Id82e7374aa9336e0adea3042238f30f716208373 Signed-off-by: Ryan Moats Closes-bug: #1511004 --- neutron/agent/l3/agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neutron/agent/l3/agent.py b/neutron/agent/l3/agent.py index 8191c5a81..f20c004ad 100644 --- a/neutron/agent/l3/agent.py +++ b/neutron/agent/l3/agent.py @@ -466,6 +466,7 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback, update.id, update.action, update.priority) if update.action == queue.PD_UPDATE: self.pd.process_prefix_update() + LOG.debug("Finished a router update for %s", update.id) continue router = update.router if update.action != queue.DELETE_ROUTER and not router: @@ -495,6 +496,7 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback, # processing queue (like events from fullsync) in order to # prevent deleted router re-creation rp.fetched_and_processed(update.timestamp) + LOG.debug("Finished a router update for %s", update.id) continue try: -- 2.45.2