Browse Source

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

stable/train
Zuul 4 days ago
committed by Gerrit Code Review
parent
commit
a483d90e66
3 changed files with 4 additions and 2 deletions
  1. +0
    -1
      neutron/common/config.py
  2. +1
    -0
      neutron/tests/fullstack/resources/config.py
  3. +3
    -1
      neutron/tests/functional/base.py

+ 0
- 1
neutron/common/config.py 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


+ 1
- 0
neutron/tests/fullstack/resources/config.py 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,


+ 3
- 1
neutron/tests/functional/base.py 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',


Loading…
Cancel
Save