57 lines
3.6 KiB
XML
57 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<appendix xml:id="conf-files"
|
|
xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
|
|
<title>Appendix: Configuration File Examples</title>
|
|
|
|
<para>Included for your reference are all configuration files.</para>
|
|
|
|
<section xml:id="glance-registry-conf-file"><title>glance-registry.conf</title><para>The Identity service's registry, which stores the metadata about
|
|
images, is found in /etc/glance/glance-registry.conf. This
|
|
file needs to be modified after installing with the
|
|
packages. </para>
|
|
|
|
<literallayout class="monospaced"><xi:include parse="text"
|
|
href="samples/glance-registry.conf"/></literallayout></section>
|
|
|
|
<section xml:id="glance-api-conf-file"><title>glance-api.conf</title><para>The configuration file for the Identity API is found in
|
|
/etc/glance/glance-api.conf. You need to change this file
|
|
to look like this example after installing from packages. </para>
|
|
<literallayout class="monospaced"><xi:include parse="text"
|
|
href="samples/glance-api.conf"/></literallayout></section>
|
|
|
|
<section xml:id="glance-scrubber-conf-file"><title>glance-scrubber.conf</title><para>An additional configuration file for the Identity service is found in
|
|
/etc/glance/glance-scrubber.conf. You need to ensure you point to the mysql database in this configuration file. </para>
|
|
<literallayout class="monospaced"><xi:include parse="text"
|
|
href="samples/glance-scrubber.conf"/></literallayout></section>
|
|
|
|
<section xml:id="nova-conf-file"><title>nova.conf</title><para>The configuration file for Compute (nova) settings is stored in
|
|
/etc/nova/nova.conf. To see a list of all possible flags
|
|
for this file, you can run nova-<service> --help from
|
|
the command line, for example, nova-api --help. </para>
|
|
<literallayout class="monospaced"><xi:include parse="text" href="samples/nova.conf"
|
|
/></literallayout></section>
|
|
<section xml:id="api-paste-ini-file"><title>api-paste.ini</title><para>The configuration file for Compute (Nova) for the EC2 API and
|
|
OpenStack Compute API is stored in
|
|
/etc/nova/api-paste.ini. You should check the
|
|
admin token in this file to ensure it matches
|
|
the one you created when setting up the
|
|
Identity service. You should also add all the
|
|
Keystone configuration specified in the sample
|
|
file below.</para>
|
|
<literallayout class="monospaced"> <xi:include parse="text" href="samples/api-paste.ini"/></literallayout></section>
|
|
<section xml:id="novarc-file"><title>Credentials (openrc)</title><para>This file contains the credentials used by Compute, Image, and
|
|
Identity services, you can optionally store in
|
|
/home/openrc. The important concept to avoid errors is to
|
|
ensure that it is sourced in the environment from which
|
|
you issue commands. Run "env | grep OS_" or "env | grep
|
|
NOVA_" to view what is being used in your
|
|
environment.</para>
|
|
<literallayout class="monospaced"><xi:include parse="text" href="samples/openrc.txt"/></literallayout></section>
|
|
|
|
<section xml:id="local-settings-py-file"><title>Dashboard configuration</title><para>This file contains the database and configuration settings
|
|
for the OpenStack Dashboard.</para>
|
|
<literallayout class="monospaced"><xi:include parse="text" href="samples/local_settings.py"/></literallayout></section>
|
|
</appendix>
|