Merge "functional: Add debug messages around OVN services"
This commit is contained in:
commit
84d9bb1e0e
@ -266,10 +266,12 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase,
|
|||||||
return
|
return
|
||||||
ovn_nb_db = self.ovsdb_server_mgr.get_ovsdb_connection_path('nb')
|
ovn_nb_db = self.ovsdb_server_mgr.get_ovsdb_connection_path('nb')
|
||||||
ovn_sb_db = self.ovsdb_server_mgr.get_ovsdb_connection_path('sb')
|
ovn_sb_db = self.ovsdb_server_mgr.get_ovsdb_connection_path('sb')
|
||||||
|
LOG.debug("Starting OVN northd")
|
||||||
self.ovn_northd_mgr = self.useFixture(
|
self.ovn_northd_mgr = self.useFixture(
|
||||||
process.OvnNorthd(self.temp_dir,
|
process.OvnNorthd(self.temp_dir,
|
||||||
ovn_nb_db, ovn_sb_db,
|
ovn_nb_db, ovn_sb_db,
|
||||||
protocol=self._ovsdb_protocol))
|
protocol=self._ovsdb_protocol))
|
||||||
|
LOG.debug("OVN northd started: %r", self.ovn_northd_mgr)
|
||||||
|
|
||||||
def _start_ovsdb_server(self):
|
def _start_ovsdb_server(self):
|
||||||
# Start 2 ovsdb-servers one each for OVN NB DB and OVN SB DB
|
# Start 2 ovsdb-servers one each for OVN NB DB and OVN SB DB
|
||||||
@ -280,6 +282,8 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase,
|
|||||||
process.OvsdbServer(self.temp_dir, install_share_path,
|
process.OvsdbServer(self.temp_dir, install_share_path,
|
||||||
ovn_nb_db=True, ovn_sb_db=True,
|
ovn_nb_db=True, ovn_sb_db=True,
|
||||||
protocol=self._ovsdb_protocol))
|
protocol=self._ovsdb_protocol))
|
||||||
|
LOG.debug("OVSDB server manager instantiated: %r",
|
||||||
|
self.ovsdb_server_mgr)
|
||||||
set_cfg = cfg.CONF.set_override
|
set_cfg = cfg.CONF.set_override
|
||||||
set_cfg('ovn_nb_connection',
|
set_cfg('ovn_nb_connection',
|
||||||
self.ovsdb_server_mgr.get_ovsdb_connection_path(), 'ovn')
|
self.ovsdb_server_mgr.get_ovsdb_connection_path(), 'ovn')
|
||||||
|
Loading…
Reference in New Issue
Block a user