summaryrefslogtreecommitdiff
path: root/clusters/openstack-cluster.morph
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-12-17 18:07:16 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-11 18:30:32 +0000
commit4da0073a4c46ab14949af02f5556e9d0ca083121 (patch)
tree14c1ad5143f0a286eca8221e43f816773ac9285d /clusters/openstack-cluster.morph
parent14bcf47ade1cc85ef0d86cd4e0f248f375b2c01f (diff)
downloaddefinitions-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 'clusters/openstack-cluster.morph')
-rw-r--r--clusters/openstack-cluster.morph2
1 files changed, 2 insertions, 0 deletions
diff --git a/clusters/openstack-cluster.morph b/clusters/openstack-cluster.morph
index 14945da6..a3c95a0a 100644
--- a/clusters/openstack-cluster.morph
+++ b/clusters/openstack-cluster.morph
@@ -49,6 +49,8 @@ systems:
CINDER_ADMIN_URL_V2: \"http:\/\/localhost:8776\/v2\/\%\(tenant_id\)s\"
NEUTRON_SERVICE_USER: neutron
NEUTRON_SERVICE_PASSWORD: veryinsecure
+ NEUTRON_DB_USER: neutronDB
+ NEUTRON_DB_PASSWORD: veryinsecure
NEUTRON_PUBLIC_URL: \"http:\/\/localhost:9696\/v2\/\%\(tenant_id\)s\"
NEUTRON_INTERNAL_URL: \"http:\/\/localhost:9696\/v2\/\%\(tenant_id\)s\"
NEUTRON_ADMIN_URL: \"http:\/\/localhost:9696\/v2\/\%\(tenant_id\)s\"