From cf9c10d63a4b6f2a24dd335c9f14e6a4289172d8 Mon Sep 17 00:00:00 2001 From: mathieu-rohon Date: Mon, 18 Mar 2013 17:34:03 +0100 Subject: [PATCH] Enable multi-agent support even when q-svc is disabled, i.e. on node without q-svc in multi-agent architecture, state_path will be configured in quantum.conf so that agent doesn't crashs anymore Bug 1156685 Change-Id: I28625e4b606fa61c35179248321632d3d797c547 --- lib/quantum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/quantum b/lib/quantum index 862ba8486d..399b0074a2 100644 --- a/lib/quantum +++ b/lib/quantum @@ -415,6 +415,7 @@ function _configure_quantum_common() { cp $QUANTUM_DIR/$Q_PLUGIN_CONF_FILE /$Q_PLUGIN_CONF_FILE iniset /$Q_PLUGIN_CONF_FILE DATABASE sql_connection `database_connection_url $Q_DB_NAME` + iniset $QUANTUM_CONF DEFAULT state_path $DATA_DIR/quantum _quantum_setup_rootwrap } @@ -534,7 +535,6 @@ function _configure_quantum_service() { iniset $QUANTUM_CONF DEFAULT verbose True iniset $QUANTUM_CONF DEFAULT debug True - iniset $QUANTUM_CONF DEFAULT state_path $DATA_DIR/quantum iniset $QUANTUM_CONF DEFAULT policy_file $Q_POLICY_FILE iniset $QUANTUM_CONF DEFAULT allow_overlapping_ips $Q_ALLOW_OVERLAPPING_IP