From a8bcd4dbd38ee0ca3fa1187dd8eeddb93cb1c8db Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Wed, 24 Jul 2013 17:42:36 +0300 Subject: python-quantum: Changed DB name to ovs_quantum ovs_quantum is the default name for the quantum DB. Signed-off-by: Mihai Prica --- .../recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini | 2 +- meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini index 171da27..7f62c06 100644 --- a/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini +++ b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini @@ -4,7 +4,7 @@ # sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum # Replace 127.0.0.1 above with the IP address of the database used by the # main quantum server. (Leave it as is if the database runs on this host.) -sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/quantum +sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/ovs_quantum # Database reconnection retry times - in event connectivity is lost # set to -1 implies an infinite retry count # sql_max_retries = 10 diff --git a/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb b/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb index 8f0fa43..d058412 100644 --- a/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb +++ b/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb @@ -74,7 +74,8 @@ pkg_postinst_${SRCNAME} () { sudo -u postgres psql -c "CREATE ROLE ${DB_USER} WITH SUPERUSER LOGIN PASSWORD '${DB_PASSWORD}'" fi - sudo -u postgres createdb quantum + sudo -u postgres createdb ovs_quantum +} } PACKAGES += " \ -- cgit v1.2.3-54-g00ecf