diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-12-17 18:07:16 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-22 12:46:28 +0000 |
commit | ad74d5116f2ef9473466270845f840f6a8f1a1a0 (patch) | |
tree | c029cae8ee648c269bf93bac40fc0419c3e6c346 /openstack/etc/neutron | |
parent | b18f85176ffefafbe91b1ac0c0f7141bb7a59dea (diff) | |
download | definitions-ad74d5116f2ef9473466270845f840f6a8f1a1a0.tar.gz |
Configure neutron to use postgres instead of sqlite
Sqlite does not support some ALTER TABLE required on neutron-db-manage
upgrade. Therefore sqlite is not a valid database to use for neutron.
NOTE: juno requires to "upgrade" the database from icehouse because
"stamp" the database directly to juno does not create all the
tables required for using ml2 plugin
Diffstat (limited to 'openstack/etc/neutron')
-rw-r--r-- | openstack/etc/neutron/neutron.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/etc/neutron/neutron.conf b/openstack/etc/neutron/neutron.conf index 440457ac..40c57054 100644 --- a/openstack/etc/neutron/neutron.conf +++ b/openstack/etc/neutron/neutron.conf @@ -575,7 +575,8 @@ admin_password = ##NEUTRON_SERVICE_PASSWORD## # be set in the corresponding core plugin '.ini' file. However, it is suggested # to put the [database] section and its connection attribute in this # configuration file. -connection=sqlite:////var/lib/neutron/neutron.sqlite +#connection=sqlite:////var/lib/neutron/neutron.sqlite +connection=postgresql://##NEUTRON_DB_USER##:##NEUTRON_DB_PASSWORD##@127.0.0.1/neutron # Database engine for which script will be generated when using offline # migration |