diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-06-11 14:23:20 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:56 -0400 |
| commit | 151704f0d80acd493ed1ce2fb664a2ceb29811c6 (patch) | |
| tree | f389c0a6d74cd14454deb45924aaa28684250625 /meta-openstack/recipes-devtools/python/python-glance/glance-api.conf | |
| parent | 8a8b1add7b923c477de79e1cf139824da95eea91 (diff) | |
| download | meta-cloud-services-151704f0d80acd493ed1ce2fb664a2ceb29811c6.tar.gz | |
python-glance: Changed DB backend to postgresql
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance/glance-api.conf')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance/glance-api.conf | 10 |
1 files changed, 5 insertions, 5 deletions
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 | |||
| 47 | # registry server. Any valid SQLAlchemy connection string is fine. | 47 | # registry server. Any valid SQLAlchemy connection string is fine. |
| 48 | # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine | 48 | # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine |
| 49 | #sql_connection = mysql:///root:@localhost/glance?charset=utf8 | 49 | #sql_connection = mysql:///root:@localhost/glance?charset=utf8 |
| 50 | sql_connection = sqlite:////etc/glance/glance.db | 50 | #sql_connection = sqlite:////etc/glance/glance.db |
| 51 | 51 | sql_connection = postgresql://nova:nova@localhost/glance | |
| 52 | 52 | ||
| 53 | # Period in seconds after which SQLAlchemy should reestablish its connection | 53 | # Period in seconds after which SQLAlchemy should reestablish its connection |
| 54 | # to the database. | 54 | # to the database. |
| @@ -343,9 +343,9 @@ image_cache_dir = /var/lib/glance/image_cache/ | |||
| 343 | auth_host = 127.0.0.1 | 343 | auth_host = 127.0.0.1 |
| 344 | auth_port = 35357 | 344 | auth_port = 35357 |
| 345 | auth_protocol = http | 345 | auth_protocol = http |
| 346 | admin_tenant_name = %SERVICE_TENANT_NAME% | 346 | admin_tenant_name = service |
| 347 | admin_user = %SERVICE_USER% | 347 | admin_user = admin |
| 348 | admin_password = %SERVICE_PASSWORD% | 348 | admin_password = password |
| 349 | 349 | ||
| 350 | [paste_deploy] | 350 | [paste_deploy] |
| 351 | # Name of the paste configuration file that defines the available pipelines | 351 | # Name of the paste configuration file that defines the available pipelines |
