Switch [sql] to [database]
All services have now moved to the syntax: [database] connection = mysql://.... This patch updates them to ensure the right configuration method is used. Change-Id: I838c96710114336f8d58fbe42a8f508c8b01fb18
This commit is contained in:
parent
0465b9ce3e
commit
3e253bf251
@ -14,7 +14,7 @@
|
||||
sections.</para>
|
||||
<para>The <literal>[DEFAULT]</literal> section configures
|
||||
general configuration values.</para>
|
||||
<para>Specific sections, such as the <literal>[sql]</literal>
|
||||
<para>Specific sections, such as the <literal>[database]</literal>
|
||||
and <literal>[ec2]</literal> sections, configure individual
|
||||
services.</para>
|
||||
<table rules="all">
|
||||
@ -33,7 +33,7 @@
|
||||
<td>General configuration.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><literal>[sql]</literal></td>
|
||||
<td><literal>[database]</literal></td>
|
||||
<td>Optional storage back-end configuration.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -54,20 +54,20 @@
|
||||
<replaceable>GLANCE_DBPASS</replaceable> with your Image
|
||||
Service database password.</para>
|
||||
<screen os="rhel;centos;fedora;opensuse;sles"><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf \
|
||||
DEFAULT sql_connection mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceable>controller</replaceable>/glance</userinput>
|
||||
database connection mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceable>controller</replaceable>/glance</userinput>
|
||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-registry.conf \
|
||||
DEFAULT sql_connection mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceable>controller</replaceable>/glance</userinput></screen>
|
||||
database connection mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceable>controller</replaceable>/glance</userinput></screen>
|
||||
<para os="ubuntu;debian">Edit
|
||||
<filename>/etc/glance/glance-api.conf</filename> and
|
||||
<filename>/etc/glance/glance-registry.conf</filename> and
|
||||
change the <literal>[DEFAULT]</literal> section.</para>
|
||||
change the <literal>[database]</literal> section.</para>
|
||||
<programlisting os="ubuntu;debian" language="ini">...
|
||||
[DEFAULT]
|
||||
[database]
|
||||
...
|
||||
# SQLAlchemy connection string for the reference implementation
|
||||
# registry server. Any valid SQLAlchemy connection string is fine.
|
||||
# See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
|
||||
sql_connection = mysql://glance:GLANCE_DBPASS@<replaceable>controller</replaceable>/glance
|
||||
connection = mysql://glance:GLANCE_DBPASS@<replaceable>controller</replaceable>/glance
|
||||
...</programlisting>
|
||||
</step>
|
||||
<step os="rhel;centos;fedora;opensuse;sles">
|
||||
|
@ -27,13 +27,13 @@
|
||||
<literal><replaceable>KEYSTONE_DBPASS</replaceable></literal>
|
||||
with a suitable password for the database user.</para>
|
||||
<screen os="rhel;centos;fedora;opensuse;sles"><prompt>#</prompt> <userinput>openstack-config --set /etc/keystone/keystone.conf \
|
||||
sql connection mysql://keystone:<replaceable>KEYSTONE_DBPASS</replaceable>@controller/keystone</userinput></screen>
|
||||
database connection mysql://keystone:<replaceable>KEYSTONE_DBPASS</replaceable>@controller/keystone</userinput></screen>
|
||||
<para os="ubuntu">Edit
|
||||
<filename>/etc/keystone/keystone.conf</filename> and change
|
||||
the <literal>[sql]</literal> section.</para>
|
||||
the <literal>[database]</literal> section.</para>
|
||||
<programlisting os="ubuntu" language="ini">
|
||||
...
|
||||
[sql]
|
||||
[database]
|
||||
# The SQLAlchemy connection string used to connect to the database
|
||||
connection = mysql://keystone:KEYSTONE_DBPASS@controller/keystone
|
||||
...
|
||||
|
@ -117,7 +117,7 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
||||
</step>
|
||||
<step os="rhel;centos;fedora;opensuse;sles">
|
||||
<para>Configure Networking to connect to the database:</para>
|
||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf DATABASE sql_connection \
|
||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf database connection \
|
||||
mysql://neutron:<replaceable>NEUTRON_DBPASS</replaceable>@controller/neutron</userinput></screen>
|
||||
</step>
|
||||
<step os="ubuntu">
|
||||
|
@ -200,7 +200,7 @@ IDENTIFIED BY '<replaceable>NEUTRON_DBPASS</replaceable>';</userinput></screen>
|
||||
</step>
|
||||
<step os="rhel;centos;fedora;opensuse;sles">
|
||||
<para>Configure Networking to connect to the database:</para>
|
||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf DATABASE sql_connection \
|
||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf database connection \
|
||||
mysql://neutron:<replaceable>NEUTRON_DBPASS</replaceable>@controller/neutron</userinput></screen>
|
||||
</step>
|
||||
<step os="ubuntu;debian">
|
||||
|
@ -173,7 +173,7 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
||||
</step>
|
||||
<step os="rhel;centos;fedora;opensuse;sles">
|
||||
<para>Configure Networking to connect to the database:</para>
|
||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf DATABASE sql_connection \
|
||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf database connection \
|
||||
mysql://neutron:<replaceable>NEUTRON_DBPASS</replaceable>@controller/neutron</userinput></screen>
|
||||
</step>
|
||||
<step os="ubuntu">
|
||||
|
Loading…
Reference in New Issue
Block a user