File 0001-Raise-log-level-for-l3-agent-router-updates.patch of Package openstack-neutron

From 316e00d7b1f6ec405f237a889da03e31b5115d8d Mon Sep 17 00:00:00 2001
From: Marc Koderer <marc@koderer.com>
Date: Tue, 22 Jan 2019 12:47:57 +0100
Subject: [PATCH] Raise log level for l3 agent router updates

In case of a l3 agent sync it is important to understand when
a router is processing an update to identify when it applies
changes that can cause failovers or service interruptions.

Change-Id: Ie9ba2a8ffebfcc3bfb35f7a48f73a25352309b4e
---
 neutron/agent/l3/agent.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Index: neutron-9.4.2.dev21/neutron/agent/l3/agent.py
===================================================================
--- neutron-9.4.2.dev21.orig/neutron/agent/l3/agent.py
+++ neutron-9.4.2.dev21/neutron/agent/l3/agent.py
@@ -507,11 +507,11 @@ class L3NATAgent(ha.AgentMixin,
 
     def _process_router_update(self):
         for rp, update in self._queue.each_update_to_next_router():
-            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 == queue.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
             router = update.router
             if update.action != queue.DELETE_ROUTER and not router:
@@ -538,7 +538,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
 
             try:
@@ -557,7 +557,7 @@ class L3NATAgent(ha.AgentMixin,
                 self._resync_router(update)
                 continue
 
-            LOG.debug("Finished a router update for %s", update.id)
+            LOG.info("Finished a router update for %s", update.id)
             rp.fetched_and_processed(update.timestamp)
 
     def _process_routers_loop(self):
openSUSE Build Service is sponsored by