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 | |
| 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')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance/glance-api.conf | 10 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf | 8 |
2 files changed, 9 insertions, 9 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 |
diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf b/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf index d7d8fd0..e751109 100644 --- a/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf +++ b/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf | |||
| @@ -25,7 +25,7 @@ backlog = 4096 | |||
| 25 | # SQLAlchemy connection string for the reference implementation | 25 | # SQLAlchemy connection string for the reference implementation |
| 26 | # registry server. Any valid SQLAlchemy connection string is fine. | 26 | # registry server. Any valid SQLAlchemy connection string is fine. |
| 27 | # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine | 27 | # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine |
| 28 | sql_connection = sqlite:////etc/glance/glance.db | 28 | sql_connection = postgresql://nova:nova@localhost/glance |
| 29 | 29 | ||
| 30 | # Period in seconds after which SQLAlchemy should reestablish its connection | 30 | # Period in seconds after which SQLAlchemy should reestablish its connection |
| 31 | # to the database. | 31 | # to the database. |
| @@ -75,9 +75,9 @@ limit_param_default = 25 | |||
| 75 | auth_host = 127.0.0.1 | 75 | auth_host = 127.0.0.1 |
| 76 | auth_port = 35357 | 76 | auth_port = 35357 |
| 77 | auth_protocol = http | 77 | auth_protocol = http |
| 78 | admin_tenant_name = %SERVICE_TENANT_NAME% | 78 | admin_tenant_name = service |
| 79 | admin_user = %SERVICE_USER% | 79 | admin_user = admin |
| 80 | admin_password = %SERVICE_PASSWORD% | 80 | admin_password = password |
| 81 | 81 | ||
| 82 | [paste_deploy] | 82 | [paste_deploy] |
| 83 | # Name of the paste configuration file that defines the available pipelines | 83 | # Name of the paste configuration file that defines the available pipelines |
