aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2015-12-08 18:33:35 +0100
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-12-11 12:11:29 -0500
commitff8964c748f190bc24afbef700fef4ddb1904e7e (patch)
tree839529b7f7f8fa32f8da9fdcde422a28dfad27fc
parente2ac79fa010f0f816a6bd90df961ddd469f542a9 (diff)
downloadmeta-cloud-services-ff8964c748f190bc24afbef700fef4ddb1904e7e.tar.gz
meta-cloud-services-ff8964c748f190bc24afbef700fef4ddb1904e7e.tar.bz2
meta-cloud-services-ff8964c748f190bc24afbef700fef4ddb1904e7e.zip
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>
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/keystone.conf2
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 0ab1c3f8..cdeb1565 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%
# or a module with notify() method:
# onready = keystone.common.systemd
-[sql]
+[database]
# The SQLAlchemy connection string used to connect to the database
connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/keystone