Modify glance content for Kilo
Modify glance content for Kilo as follows: 1) Change [keystone_authtoken] section to use auth_plugin. 2) Remove log_dir option because Ubuntu init scripts overwrite it with command-line options. 3) Add note about differing stock configuration files and usage of ellipsis in configuration snippets. Change-Id: I092a569d56897630fde396286e626a2972df8b80 Implements: blueprint installguide-kilo
This commit is contained in:
parent
1e979f0fe0
commit
0987c68cfb
@ -123,7 +123,9 @@ Repeat User Password:
|
|||||||
<note>
|
<note>
|
||||||
<para>Default configuration files vary by distribution. You might need
|
<para>Default configuration files vary by distribution. You might need
|
||||||
to add these sections and options rather than modifying existing
|
to add these sections and options rather than modifying existing
|
||||||
sections and options.</para>
|
sections and options. Also, an ellipsis (...) in the configuration
|
||||||
|
snippets indicates potential default configuration options that you
|
||||||
|
should retain.</para>
|
||||||
</note>
|
</note>
|
||||||
<step>
|
<step>
|
||||||
<para>Install the packages:</para>
|
<para>Install the packages:</para>
|
||||||
@ -151,10 +153,13 @@ connection = mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceabl
|
|||||||
<programlisting language="ini">[keystone_authtoken]
|
<programlisting language="ini">[keystone_authtoken]
|
||||||
...
|
...
|
||||||
auth_uri = http://<replaceable>controller</replaceable>:5000
|
auth_uri = http://<replaceable>controller</replaceable>:5000
|
||||||
identity_uri = http://<replaceable>controller</replaceable>:35357
|
auth_url = http://<replaceable>controller</replaceable>:35357
|
||||||
admin_tenant_name = service
|
auth_plugin = password
|
||||||
admin_user = glance
|
project_domain_id = default
|
||||||
admin_password = <replaceable>GLANCE_PASS</replaceable>
|
user_domain_id = default
|
||||||
|
project_name = service
|
||||||
|
username = glance
|
||||||
|
password = <replaceable>GLANCE_PASS</replaceable>
|
||||||
|
|
||||||
[paste_deploy]
|
[paste_deploy]
|
||||||
...
|
...
|
||||||
@ -163,10 +168,8 @@ flavor = keystone</programlisting>
|
|||||||
password you chose for the <literal>glance</literal> user in the
|
password you chose for the <literal>glance</literal> user in the
|
||||||
Identity service.</para>
|
Identity service.</para>
|
||||||
<note>
|
<note>
|
||||||
<para>Comment out any <literal>auth_host</literal>,
|
<para>Comment out or remove any other options in the
|
||||||
<literal>auth_port</literal>, and
|
<literal>[keystone_authtoken]</literal> section.</para>
|
||||||
<literal>auth_protocol</literal> options because the
|
|
||||||
<literal>identity_uri</literal> option replaces them.</para>
|
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
@ -188,13 +191,6 @@ notification_driver = noop</programlisting>
|
|||||||
<para>The Telemetry chapter provides an Image Service configuration
|
<para>The Telemetry chapter provides an Image Service configuration
|
||||||
that enables notifications.</para>
|
that enables notifications.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
|
||||||
<para>In the <literal>[DEFAULT]</literal> section, configure the
|
|
||||||
log file:</para>
|
|
||||||
<programlisting language="ini">[DEFAULT]
|
|
||||||
...
|
|
||||||
log_file = /var/log/glance/api.log</programlisting>
|
|
||||||
</step>
|
|
||||||
<step>
|
<step>
|
||||||
<para>(Optional) To assist with troubleshooting,
|
<para>(Optional) To assist with troubleshooting,
|
||||||
enable verbose logging in the <literal>[DEFAULT]</literal>
|
enable verbose logging in the <literal>[DEFAULT]</literal>
|
||||||
@ -225,10 +221,13 @@ connection = mysql://glance:<replaceable>GLANCE_DBPASS</replaceable>@<replaceabl
|
|||||||
<programlisting language="ini">[keystone_authtoken]
|
<programlisting language="ini">[keystone_authtoken]
|
||||||
...
|
...
|
||||||
auth_uri = http://<replaceable>controller</replaceable>:5000
|
auth_uri = http://<replaceable>controller</replaceable>:5000
|
||||||
identity_uri = http://<replaceable>controller</replaceable>:35357
|
auth_url = http://<replaceable>controller</replaceable>:35357
|
||||||
admin_tenant_name = service
|
auth_plugin = password
|
||||||
admin_user = glance
|
project_domain_id = default
|
||||||
admin_password = <replaceable>GLANCE_PASS</replaceable>
|
user_domain_id = default
|
||||||
|
project_name = service
|
||||||
|
username = glance
|
||||||
|
password = <replaceable>GLANCE_PASS</replaceable>
|
||||||
|
|
||||||
[paste_deploy]
|
[paste_deploy]
|
||||||
...
|
...
|
||||||
@ -237,10 +236,8 @@ flavor = keystone</programlisting>
|
|||||||
password you chose for the <literal>glance</literal> user in the
|
password you chose for the <literal>glance</literal> user in the
|
||||||
Identity service.</para>
|
Identity service.</para>
|
||||||
<note>
|
<note>
|
||||||
<para>Comment out any <literal>auth_host</literal>,
|
<para>Comment out or remove any other options in the
|
||||||
<literal>auth_port</literal>, and
|
<literal>[keystone_authtoken]</literal> section.</para>
|
||||||
<literal>auth_protocol</literal> options because the
|
|
||||||
<literal>identity_uri</literal> option replaces them.</para>
|
|
||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
@ -254,13 +251,6 @@ notification_driver = noop</programlisting>
|
|||||||
<para>The Telemetry chapter provides an Image Service configuration
|
<para>The Telemetry chapter provides an Image Service configuration
|
||||||
that enables notifications.</para>
|
that enables notifications.</para>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
|
||||||
<para>In the <literal>[DEFAULT]</literal> section, configure the
|
|
||||||
log file:</para>
|
|
||||||
<programlisting language="ini">[DEFAULT]
|
|
||||||
...
|
|
||||||
log_file = /var/log/glance/registry.log</programlisting>
|
|
||||||
</step>
|
|
||||||
<step>
|
<step>
|
||||||
<para>(Optional) To assist with troubleshooting,
|
<para>(Optional) To assist with troubleshooting,
|
||||||
enable verbose logging in the <literal>[DEFAULT]</literal>
|
enable verbose logging in the <literal>[DEFAULT]</literal>
|
||||||
|
Loading…
Reference in New Issue
Block a user