Update trove config database connection

In Kilo, the sql_connection parameter was deprecated for trove.
This patch moves the sql connection to the [database] section.

Change-Id: Ic6391a14cf4cc4e8015ce3132502105b04874eba
Closes-Bug: 1434943
This commit is contained in:
Tom Fifield 2015-04-28 21:12:29 +08:00
parent 140b5eb46a
commit 9c516359e7

View File

@ -59,16 +59,20 @@ admin_user = trove
admin_password = <replaceable>TROVE_PASS</replaceable></programlisting></step>
<step><para>Edit the <literal>[DEFAULT]</literal> section of
each file (except <filename>api-paste.ini</filename>) and set appropriate values for the OpenStack service
URLs (can be handled by Keystone service catalog), logging and messaging configuration, and SQL
connections:</para>
URLs (can be handled by Keystone service catalog), logging and
messaging configuration. Edit the <literal>[database]</literal> section in each
file to add the SQL connections:</para>
<programlisting language="ini">[DEFAULT]
log_dir = /var/log/trove
trove_auth_url = http://<replaceable>controller</replaceable>:5000/v2.0
nova_compute_url = http://<replaceable>controller</replaceable>:8774/v2
cinder_url = http://<replaceable>controller</replaceable>:8776/v2
swift_url = http://<replaceable>controller</replaceable>:8080/v1/AUTH_
sql_connection = mysql://trove:<literal>TROVE_DBPASS</literal>@<replaceable>controller</replaceable>/trove
notifier_queue_hostname = <replaceable>controller</replaceable></programlisting>
notifier_queue_hostname = <replaceable>controller</replaceable>
[database]
connection = mysql://trove:<literal>TROVE_DBPASS</literal>@<replaceable>controller</replaceable>/trove</programlisting>
</step>
<step>