Disable urllib3 warnings
We don't really need them in any logs, it's just garbage. Change-Id: I3acbda7c69cad6ebfee8b62c93cfba81bd812974
This commit is contained in:
parent
01ef4ee19c
commit
9553f78f9a
@ -24,6 +24,7 @@ import time
|
|||||||
import cotyledon
|
import cotyledon
|
||||||
import flask
|
import flask
|
||||||
from pyroute2.ipdb import transactional
|
from pyroute2.ipdb import transactional
|
||||||
|
import urllib3
|
||||||
|
|
||||||
import os_vif
|
import os_vif
|
||||||
from os_vif.objects import base
|
from os_vif.objects import base
|
||||||
@ -330,6 +331,7 @@ class CNIDaemonServiceManager(cotyledon.ServiceManager):
|
|||||||
|
|
||||||
|
|
||||||
def start():
|
def start():
|
||||||
|
urllib3.disable_warnings()
|
||||||
config.init(sys.argv[1:])
|
config.init(sys.argv[1:])
|
||||||
config.setup_logging()
|
config.setup_logging()
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
import functools
|
import functools
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
import urllib3
|
||||||
|
|
||||||
import os_vif
|
import os_vif
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
@ -162,6 +164,7 @@ class KuryrK8sService(service.Service, periodic_task.PeriodicTasks,
|
|||||||
|
|
||||||
|
|
||||||
def start():
|
def start():
|
||||||
|
urllib3.disable_warnings()
|
||||||
config.init(sys.argv[1:])
|
config.init(sys.argv[1:])
|
||||||
config.setup_logging()
|
config.setup_logging()
|
||||||
clients.setup_clients()
|
clients.setup_clients()
|
||||||
|
Loading…
Reference in New Issue
Block a user