Merge "Change log level for l3 agent router updates"

This commit is contained in:
Zuul 2019-02-06 14:10:49 +00:00 committed by Gerrit Code Review
commit 5a8506fda6

View File

@ -543,11 +543,11 @@ class L3NATAgent(ha.AgentMixin,
def _process_router_update(self):
for rp, update in self._queue.each_update_to_next_resource():
LOG.debug("Starting router update for %s, action %s, priority %s",
update.id, update.action, update.priority)
LOG.info("Starting router update for %s, action %s, priority %s",
update.id, update.action, update.priority)
if update.action == PD_UPDATE:
self.pd.process_prefix_update()
LOG.debug("Finished a router update for %s", update.id)
LOG.info("Finished a router update for %s", update.id)
continue
routers = [update.resource] if update.resource else []
@ -583,7 +583,7 @@ class L3NATAgent(ha.AgentMixin,
# 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)
LOG.info("Finished a router update for %s", update.id)
continue
if not self._process_routers_if_compatible(routers, update):
@ -591,7 +591,7 @@ class L3NATAgent(ha.AgentMixin,
continue
rp.fetched_and_processed(update.timestamp)
LOG.debug("Finished a router update for %s", update.id)
LOG.info("Finished a router update for %s", update.id)
def _process_routers_if_compatible(self, routers, update):
process_result = True