openstack-manuals/doc/install-guide/section_ceilometer-glance.xml
Andreas Jaeger 9876fe99af Use traditional init script commands for openSUSE
These changes allow sharing the code of Fedora with openSUSE
and also SLES.

Also, tag some openSUSE changes with sles as well, more
to come.

Change-Id: I6b7fb9fb271e4ddbf267a09b2f10c4c968ef7092
2013-10-16 10:05:50 +02:00

32 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<section xml:id="ceilometer-install-glance"
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>Adding the Agent: Image Service</title>
<procedure>
<step>
<para>If you want to be able to retrieve image samples, you need
to instruct the Image Service to send notifications to the bus
by editing the <filename>glance-api.conf</filename> file
changing <literal>notifier_strategy</literal> to
<literal>rabbit</literal> or <literal>qpid</literal> and
restarting the <systemitem class="service">glance-api</systemitem> and
<systemitem class="service">glance-registry</systemitem> services.</para>
</step>
<step os="ubuntu;debian">
<para>We now restart the Image service with its new
settings.</para>
<screen><prompt>#</prompt> <userinput>service glance-registry restart</userinput>
<prompt>#</prompt> <userinput>service glance-api restart</userinput></screen>
</step>
<step os="rhel;fedora;centos;opensuse;sles"><para>Restart the <systemitem
class="service">glance-api</systemitem> and <systemitem
class="service">glance-registry</systemitem> services.</para>
<screen os="rhel;fedora;centos;opensuse;sles"><prompt>#</prompt> <userinput>service openstack-glance-api restart</userinput>
<prompt>#</prompt> <userinput>service openstack-glance-registry restart</userinput></screen>
</step>
</procedure>
</section>