a6bce01980
The XML root element of Docbook XML files should match the following format: <ELEMENT 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="THE_XML_ID_OF_THE_ELEMENT"> Change-Id: I02a75b63d0fb3ea4a7d015794b9229a94ddad279
59 lines
4.1 KiB
XML
59 lines
4.1 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="http://git.openstack.org/cgit/openstack/glance/plain/etc/glance-api.conf?h=stable/icehouse"/></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="http://git.openstack.org/cgit/openstack/glance/plain/etc/glance-registry.conf?h=stable/icehouse"/></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="http://git.openstack.org/cgit/openstack/glance/plain/etc/glance-api-paste.ini?h=stable/icehouse"/></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="http://git.openstack.org/cgit/openstack/glance/plain/etc/glance-registry-paste.ini?h=stable/icehouse"/></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="http://git.openstack.org/cgit/openstack/glance/plain/etc/glance-scrubber.conf?h=stable/icehouse"/></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="http://git.openstack.org/cgit/openstack/glance/plain/etc/policy.json?h=stable/icehouse"/></programlisting>
|
|
</section>
|
|
</section>
|