No manual db setup in Debian
In Debian, there's no need to do manual configuration of the database settings, as this is handled by debconf. This patch removes the step for the Debian guide, and also removes the step where Glance daemons are restarted (also not needed in Debian). Change-Id: I964669492277b0d13a46c8ad8009c51aa6e0c493 Closes-bug: #1310048
This commit is contained in:
committed by
Gauvain Pocentek
parent
03ad8d3b2a
commit
711bce5d80
@@ -41,7 +41,7 @@
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</step>
|
||||
<step>
|
||||
<step os="ubuntu;rhel;centos;fedora;opensuse;sles">
|
||||
<para>The Image Service stores information about images in a
|
||||
database. The examples in this guide use the MySQL database
|
||||
that is used by other OpenStack services.</para>
|
||||
@@ -57,12 +57,12 @@
|
||||
connection mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceable>controller</replaceable>/glance</userinput>
|
||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-registry.conf database \
|
||||
connection mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceable>controller</replaceable>/glance</userinput></screen>
|
||||
<para os="ubuntu;debian">Edit
|
||||
<para os="ubuntu">Edit
|
||||
<filename>/etc/glance/glance-api.conf</filename> and
|
||||
<filename>/etc/glance/glance-registry.conf</filename> and
|
||||
edit the <literal>[database]</literal> section of each
|
||||
file:</para>
|
||||
<programlisting os="ubuntu;debian" language="ini">...
|
||||
<programlisting os="ubuntu" language="ini">...
|
||||
[database]
|
||||
connection = mysql://glance:GLANCE_DBPASS@<replaceable>controller</replaceable>/glance</programlisting>
|
||||
</step>
|
||||
@@ -208,7 +208,7 @@ flavor = keystone</programlisting>
|
||||
--internalurl=http://<replaceable>controller</replaceable>:9292 \
|
||||
--adminurl=http://<replaceable>controller</replaceable>:9292</userinput></screen>
|
||||
</step>
|
||||
<step os="ubuntu;debian">
|
||||
<step os="ubuntu">
|
||||
<para>Restart the <systemitem class="service">glance</systemitem>
|
||||
service with its new settings:</para>
|
||||
<screen><prompt>#</prompt> <userinput>service glance-registry restart</userinput>
|
||||
|
||||
Reference in New Issue
Block a user