functional: Add debug messages around OVN services
This patch is to help understand LP bug 1938766.
Conflicts:
neutron/tests/functional/base.py
Change-Id: I90a130830a6a76cd68adfb6503bb268a60d7de20
(cherry picked from commit c267125e20
)
This commit is contained in:
parent
80d408cd96
commit
b183e12fdc
|
@ -289,6 +289,7 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase,
|
|||
timeout = 20
|
||||
ovn_nb_db = self.ovsdb_server_mgr.get_ovsdb_connection_path('nb')
|
||||
ovn_sb_db = self.ovsdb_server_mgr.get_ovsdb_connection_path('sb')
|
||||
LOG.debug("Starting OVN northd")
|
||||
self.ovn_northd_mgr = self.useFixture(
|
||||
process.OvnNorthd(self.temp_dir,
|
||||
ovn_nb_db, ovn_sb_db,
|
||||
|
@ -298,6 +299,7 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase,
|
|||
exception=Exception(
|
||||
"ovn-northd didn't initialize OVN DBs in %d"
|
||||
"seconds" % timeout))
|
||||
LOG.debug("OVN northd started: %r", self.ovn_northd_mgr)
|
||||
|
||||
def _start_ovsdb_server(self):
|
||||
# Start 2 ovsdb-servers one each for OVN NB DB and OVN SB DB
|
||||
|
@ -308,6 +310,8 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase,
|
|||
process.OvsdbServer(self.temp_dir, install_share_path,
|
||||
ovn_nb_db=True, ovn_sb_db=True,
|
||||
protocol=self._ovsdb_protocol))
|
||||
LOG.debug("OVSDB server manager instantiated: %r",
|
||||
self.ovsdb_server_mgr)
|
||||
set_cfg = cfg.CONF.set_override
|
||||
set_cfg('ovn_nb_connection',
|
||||
self.ovsdb_server_mgr.get_ovsdb_connection_path(), 'ovn')
|
||||
|
|
Loading…
Reference in New Issue