Merge "Enable ovsdb debug messages in functional and fullstack" into stable/train

This commit is contained in:
Zuul 2021-06-10 13:38:12 +00:00 committed by Gerrit Code Review
commit a483d90e66
3 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,6 @@ EXTRA_LOG_LEVEL_DEFAULTS = [
'OfctlService=INFO',
'os_ken.base.app_manager=INFO',
'os_ken.controller.controller=INFO',
'ovsdbapp.backend.ovs_idl.vlog=INFO'
]
# Register the configuration options

View File

@ -202,6 +202,7 @@ class OVSConfigFixture(ConfigFixture):
'integration_bridge': self._generate_integration_bridge(),
'bridge_mappings': '%s:%s' % (PHYSICAL_NETWORK_NAME, ext_dev),
'of_inactivity_probe': '0',
'ovsdb_debug': 'True',
},
'securitygroup': {
'firewall_driver': host_desc.firewall_driver,

View File

@ -92,7 +92,9 @@ class BaseSudoTestCase(BaseLoggingTestCase):
def _override_default_config():
# NOTE(ralonsoh): once https://review.opendev.org/#/c/641681/ is
# merged, we should increase the default value of those new parameters.
ovs_agent_opts = [('ovsdb_timeout', 30, 'OVS')]
ovs_agent_opts = [('ovsdb_timeout', 30, 'OVS'),
('ovsdb_debug', True, 'OVS'),
]
ovs_agent_decorator = config_decorator(
ovs_conf.register_ovs_agent_opts, ovs_agent_opts)
mock.patch.object(ovs_conf, 'register_ovs_agent_opts',