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-neutron.configure | |
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-neutron.configure')
-rw-r--r-- | openstack-neutron.configure | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack-neutron.configure b/openstack-neutron.configure index 2b89befe..2a718020 100644 --- a/openstack-neutron.configure +++ b/openstack-neutron.configure @@ -26,6 +26,8 @@ ROOT="$1" cat <<EOF > "$ROOT"/etc/openstack-neutron-setup.sed s/##NEUTRON_SERVICE_USER##/$NEUTRON_SERVICE_USER/g s/##NEUTRON_SERVICE_PASSWORD##/$NEUTRON_SERVICE_PASSWORD/g +s/##NEUTRON_DB_USER##/$NEUTRON_DB_USER/g +s/##NEUTRON_DB_PASSWORD##/$NEUTRON_DB_PASSWORD/g s/##NEUTRON_PUBLIC_URL##/$NEUTRON_PUBLIC_URL/g s/##NEUTRON_INTERNAL_URL##/$NEUTRON_INTERNAL_URL/g s/##NEUTRON_ADMIN_URL##/$NEUTRON_ADMIN_URL/g |