diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2015-08-12 15:47:59 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-08-13 23:41:54 -0400 |
| commit | 6b1f8d27996b80b6ee1528037e5a57e45e569eb7 (patch) | |
| tree | cdddd3929c482f36800cb3f8e4b54c93c5fdc3d8 /meta-openstack/recipes-devtools/python/python-keystone | |
| parent | 3c7fb80b3eb8d5de294b066b73dbbd02bffedeb9 (diff) | |
| download | meta-cloud-services-6b1f8d27996b80b6ee1528037e5a57e45e569eb7.tar.gz | |
keystone: the 'sql' section is deprecated
Attempting to use commands such as 'glance image-list' or 'keystone
tenant-list' was resulting in various errors including 'error
500'. Examining the logs it was found that keystone was throwing the
following warning:
WARNING oslo_config.cfg [-] Option "connection" from group "sql" is
deprecated. Use option "connection" from group "database".
Examining the database I found that the keystone database existed but
was empty. This indicates that some of the install scripts were
failing, possibly due to issues connecting to the database due to a
bad configuration. So taking the WARNING to heed I swapped the 'sql'
section header for 'database' and now the database is properly created
and keystone commands can be successfully executed.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf index 0ab1c3f..cdeb156 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf +++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | |||
| @@ -73,7 +73,7 @@ admin_token=%SERVICE_TOKEN% | |||
| 73 | # or a module with notify() method: | 73 | # or a module with notify() method: |
| 74 | # onready = keystone.common.systemd | 74 | # onready = keystone.common.systemd |
| 75 | 75 | ||
| 76 | [sql] | 76 | [database] |
| 77 | # The SQLAlchemy connection string used to connect to the database | 77 | # The SQLAlchemy connection string used to connect to the database |
| 78 | connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/keystone | 78 | connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/keystone |
| 79 | 79 | ||
