From cf22f5c4293e2e0c629b522f8fd16dbd474aa7ec Mon Sep 17 00:00:00 2001 From: Nachi Ueno Date: Thu, 26 Jul 2012 22:54:18 +0000 Subject: [PATCH] ovs_quantum_plugin should use reconnect_interval in common conf. Fixes Bug : 1029680 Change-Id: I5dd2467bc5e287bbb5ff4a2527b9f701375fa376 --- quantum/plugins/openvswitch/ovs_quantum_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/plugins/openvswitch/ovs_quantum_plugin.py b/quantum/plugins/openvswitch/ovs_quantum_plugin.py index 4cc754b157..d04daf84ae 100644 --- a/quantum/plugins/openvswitch/ovs_quantum_plugin.py +++ b/quantum/plugins/openvswitch/ovs_quantum_plugin.py @@ -270,7 +270,7 @@ class OVSQuantumPluginV2(db_base_plugin_v2.QuantumDbPluginV2): options.update({'base': models_v2.model_base.BASEV2}) sql_max_retries = cfg.CONF.DATABASE.sql_max_retries options.update({"sql_max_retries": sql_max_retries}) - reconnect_interval = conf.DATABASE.reconnect_interval + reconnect_interval = cfg.CONF.DATABASE.reconnect_interval options.update({"reconnect_interval": reconnect_interval}) db.configure_db(options)