summaryrefslogtreecommitdiff
path: root/clusters
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-01-22 12:46:28 +0000
commitad74d5116f2ef9473466270845f840f6a8f1a1a0 (patch)
treec029cae8ee648c269bf93bac40fc0419c3e6c346 /clusters
parentb18f85176ffefafbe91b1ac0c0f7141bb7a59dea (diff)
downloaddefinitions-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 'clusters')
-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\"