From b816e5d2a079a52c92482a138583376617bded47 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Mon, 21 Jul 2014 13:53:50 +0200 Subject: [PATCH] neutron: set connection string in neutron.conf it's not recommended to put the connection string in plugin specific config file [1]. [1]: https://github.com/openstack/neutron/blob/master/etc/neutron.conf#L534 Change-Id: I3c9d7fe3d34385185f483b509dadf7e2ba920a45 --- lib/neutron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neutron b/lib/neutron index 2d8e1df39a..f988a43411 100644 --- a/lib/neutron +++ b/lib/neutron @@ -625,7 +625,7 @@ function _configure_neutron_common { Q_PLUGIN_CONF_FILE=$Q_PLUGIN_CONF_PATH/$Q_PLUGIN_CONF_FILENAME cp $NEUTRON_DIR/$Q_PLUGIN_CONF_FILE /$Q_PLUGIN_CONF_FILE - iniset /$Q_PLUGIN_CONF_FILE database connection `database_connection_url $Q_DB_NAME` + iniset $NEUTRON_CONF database connection `database_connection_url $Q_DB_NAME` iniset $NEUTRON_CONF DEFAULT state_path $DATA_DIR/neutron # If addition config files are set, make sure their path name is set as well