From 151704f0d80acd493ed1ce2fb664a2ceb29811c6 Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Tue, 11 Jun 2013 14:23:20 +0300 Subject: python-glance: Changed DB backend to postgresql Signed-off-by: Mihai Prica --- .../recipes-devtools/python/python-glance/glance-api.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-glance/glance-api.conf') diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance-api.conf b/meta-openstack/recipes-devtools/python/python-glance/glance-api.conf index 433306e..a3382ef 100644 --- a/meta-openstack/recipes-devtools/python/python-glance/glance-api.conf +++ b/meta-openstack/recipes-devtools/python/python-glance/glance-api.conf @@ -47,8 +47,8 @@ backlog = 4096 # registry server. Any valid SQLAlchemy connection string is fine. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine #sql_connection = mysql:///root:@localhost/glance?charset=utf8 -sql_connection = sqlite:////etc/glance/glance.db - +#sql_connection = sqlite:////etc/glance/glance.db +sql_connection = postgresql://nova:nova@localhost/glance # Period in seconds after which SQLAlchemy should reestablish its connection # to the database. @@ -343,9 +343,9 @@ image_cache_dir = /var/lib/glance/image_cache/ auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http -admin_tenant_name = %SERVICE_TENANT_NAME% -admin_user = %SERVICE_USER% -admin_password = %SERVICE_PASSWORD% +admin_tenant_name = service +admin_user = admin +admin_password = password [paste_deploy] # Name of the paste configuration file that defines the available pipelines -- cgit v1.2.3-54-g00ecf