From 4bd2d15b2146cf903361defc3d8541905c992ae4 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Wed, 13 Nov 2013 16:50:34 +0000 Subject: [PATCH] Update install.sh to reflect recent oslo.db format The previous sql_connection option has been deprecated and replaced with the database.connection option in oslo: [database] connection = mysql://heat:heat@localhost/heat The old option still works, but the default is only respected from the new option, which is confusing if you're relying on the previous behavior where specifying nothing got you the sql_connection default. So update the installed config to remove the deprecated options. Change-Id: I0f5b4587358ec99b47c8ab3ee924191bbf2760a2 Closes-Bug: #1241826 --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 40dfefae4c..ad638bfc47 100755 --- a/install.sh +++ b/install.sh @@ -73,8 +73,7 @@ basic_configuration() { if echo $conf_path | grep ".conf$" >/dev/null 2>&1 then iniset $target DEFAULT auth_encryption_key `hexdump -n 16 -v -e '/1 "%02x"' /dev/random` - iniset $target DEFAULT db_backend heat.db.sqlalchemy.api - iniset $target DEFAULT sql_connection "mysql://heat:heat@localhost/heat" + iniset $target database connection "mysql://heat:heat@localhost/heat" BRIDGE_IP=127.0.0.1 iniset $target DEFAULT heat_metadata_server_url "http://${BRIDGE_IP}:8000/"