Browse Source

Ovsvapp-agent to log config option values

Closes-bug: 1788057
Change-Id: Ia5d56c192eed61a5d88875919fefffe71144dda7
Stephen Ma 8 months ago
parent
commit
537dde2af9
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      networking_vsphere/service.py

+ 3
- 0
networking_vsphere/service.py View File

@@ -19,6 +19,8 @@ import sys
19 19
 import eventlet
20 20
 eventlet.monkey_patch()
21 21
 from neutron.common import config as common_config
22
+from neutron.common import utils as n_utils
23
+
22 24
 from oslo_config import cfg
23 25
 from oslo_log import log
24 26
 
@@ -41,6 +43,7 @@ def run():
41 43
         LOG.info(_LI("Loading agent: %s."), cfg.CONF.OVSVAPP.agent_driver)
42 44
         agent_obj = utils.load_object(cfg.CONF.OVSVAPP.agent_driver,
43 45
                                       agent.Agent)
46
+        n_utils.log_opt_values(LOG)
44 47
         agent_obj.start()
45 48
     except Exception as e:
46 49
         LOG.exception(_LE("Error in OVSvApp agent service."))

Loading…
Cancel
Save