From 4da0073a4c46ab14949af02f5556e9d0ca083121 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Wed, 17 Dec 2014 18:07:16 +0000 Subject: 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 --- openstack-neutron.configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openstack-neutron.configure') 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 < "$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 -- cgit v1.2.1