openstack-manuals/doc/config-reference/image-service/section_image-service-sample-configuration-files.xml
Gauvain Pocentek 914b80c712 Use sample files from the kilo branch
We import several sample configuration files for the git repositories.
Use the stable/kilo branches now that they exist.

Update the ceilometer sample and import a complete cinder sample (not
provided in the git tree anymore)

Remove the lbaas_agent.ini link. The whole lbaas configuration has
changed and must be updated.

Change-Id: I7c9da1e31aa9c696318bc31d589376f114e2351f
2015-04-29 06:48:47 +02:00

70 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><section 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"
xml:id="section_image-service-sample-configuration-files">
<title>Image service sample configuration files</title>
<para>You can find the files that are described in this section in
the <filename class="directory">/etc/glance/</filename>
directory.</para>
<section xml:id="section_glance-api.conf">
<title>glance-api.conf</title>
<para>The configuration file for the Image service API is found in the
<filename>glance-api.conf</filename> file.</para>
<para>This file must be modified after installation.</para>
<programlisting language="ini"><xi:include parse="text" href="https://git.openstack.org/cgit/openstack/glance/plain/etc/glance-api.conf?h=stable/kilo"/></programlisting>
</section>
<section xml:id="section_glance-registry.conf">
<title>glance-registry.conf</title>
<para>Configuration for the Image service's registry, which
stores the metadata about images, is found in the
<filename>glance-registry.conf</filename> file.</para>
<para>This file must be modified after installation.</para>
<programlisting language="ini"><xi:include parse="text" href="https://git.openstack.org/cgit/openstack/glance/plain/etc/glance-registry.conf?h=stable/kilo"/></programlisting>
</section>
<section xml:id="section_glance-api-paste.conf">
<title>glance-api-paste.ini</title>
<para>Configuration for the Image service's API middleware pipeline is found in the
<filename>glance-api-paste.ini</filename> file.</para>
<para>You should not need to modify this file.</para>
<programlisting language="ini"><xi:include parse="text" href="https://git.openstack.org/cgit/openstack/glance/plain/etc/glance-api-paste.ini?h=stable/kilo"/></programlisting>
</section>
<section xml:id="section_glance-manage.conf">
<title>glance-manage.conf</title>
<para>The Image service's custom logging options are found in the
<filename>glance-manage.conf</filename> file.</para>
<note><para>Options set in <filename>glance-manage.conf</filename>
will override options of the same section and name set in
<filename>glance-registry.conf</filename> and <filename>glance-api.conf</filename>.
Similarly, options in <filename>glance-api.conf</filename> will
override options set in <filename>glance-registry.conf</filename>.</para></note>
<programlisting language="ini"><xi:include parse="text" href="https://git.openstack.org/cgit/openstack/glance/plain/etc/glance-manage.conf"/></programlisting>
</section>
<section xml:id="section_glance-registry-paste.conf">
<title>glance-registry-paste.ini</title>
<para>The Image service's middleware pipeline for its registry is found in the
<filename>glance-registry-paste.ini</filename> file.</para>
<programlisting language="ini"><xi:include parse="text" href="https://git.openstack.org/cgit/openstack/glance/plain/etc/glance-registry-paste.ini?h=stable/kilo"/></programlisting>
</section>
<section xml:id="section_glance-scrubber.conf">
<title>glance-scrubber.conf</title>
<para><command>glance-scrubber</command> is a utility for the Image service that cleans
up images that have been deleted; its configuration is stored in the
<filename>glance-scrubber.conf</filename> file.</para>
<para>Multiple instances of <systemitem>glance-scrubber</systemitem> can be run in a single
deployment, but only one of them can be designated as the
<systemitem>cleanup_scrubber</systemitem> in the
<filename>glance-scrubber.conf</filename> file. The
<systemitem>cleanup_scrubber</systemitem> coordinates other
<systemitem>glance-scrubber</systemitem> instances by maintaining the master queue
of images that need to be removed.</para>
<programlisting language="ini"><xi:include parse="text" href="https://git.openstack.org/cgit/openstack/glance/plain/etc/glance-scrubber.conf?h=stable/kilo"/></programlisting>
</section>
<section xml:id="section_glance-policy.json">
<title>policy.json</title>
<para>The <filename>/etc/glance/policy.json</filename> file defines additional access controls
that apply to the Image service.</para>
<programlisting language="json"><xi:include parse="text" href="https://git.openstack.org/cgit/openstack/glance/plain/etc/policy.json?h=stable/kilo"/></programlisting>
</section>
</section>