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-02-11 18:30:32 +0000 |
commit | 4da0073a4c46ab14949af02f5556e9d0ca083121 (patch) | |
tree | 14c1ad5143f0a286eca8221e43f816773ac9285d /openstack-neutron.configure | |
parent | 14bcf47ade1cc85ef0d86cd4e0f248f375b2c01f (diff) | |
download | definitions-4da0073a4c46ab14949af02f5556e9d0ca083121.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 |