Remove pyroute2 deprication warning
Whenever a CNI container image is generated, in CNI pod logs there were deprication warning which should be removed.
Closes-bug:
@@ -349,6 +349,11 @@ class CNIDaemonServiceManager(cotyledon.ServiceManager):
self.register_hooks(on_terminate=self.terminate)
def run(self):
+ # FIXME(darshna): Remove pyroute2 IPDB deprecation warning, remove
+ # once we stop using pyroute2.IPDB.
+
+ logging.getLogger('pyroute2').setLevel(logging.ERROR)
+
reaper_thread = threading.Thread(target=self._zombie_reaper,
daemon=True)
self._terminate_called = threading.Event()
