From 16d3ad057dc0b982c801fcfa9d5497c1daeb34cd Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Thu, 13 Feb 2014 18:59:50 -0600 Subject: [PATCH] Use database connection for keystone The keystone configuration used the 'connection' option in the 'sql' section of the keystone.conf file. This option is deprecated in favor of 'connection' in the 'database' section. The keystone setup code is changed to use the option in the new section rather than the deprecated one. Change-Id: I62fd2f50ded3b8848e9e5225e88c80ed8fed3bff --- lib/keystone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/keystone b/lib/keystone index 4f7f68b57f..5e2e88d33f 100644 --- a/lib/keystone +++ b/lib/keystone @@ -201,7 +201,7 @@ function configure_keystone() { iniset $KEYSTONE_CONF token provider keystone.token.providers.uuid.Provider fi - iniset $KEYSTONE_CONF sql connection `database_connection_url keystone` + iniset $KEYSTONE_CONF database connection `database_connection_url keystone` iniset $KEYSTONE_CONF ec2 driver "keystone.contrib.ec2.backends.sql.Ec2" if [[ "$KEYSTONE_TOKEN_BACKEND" = "sql" ]]; then