3ca32b8434
Change capitalization as discussed on openstack-docs mailing list. Change-Id: I2ad81bffbd59bdd8b908664bb0a1ee16da1bf7ae
36 lines
1.7 KiB
XML
36 lines
1.7 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="ceilometer-glance">
|
|
<title>Configure the Image service</title>
|
|
<para>To retrieve image-oriented events and samples, configure
|
|
the Image service to send notifications to the message bus.
|
|
Perform these steps on the controller node.</para>
|
|
<procedure>
|
|
<para>Edit the <filename>/etc/glance/glance-api.conf</filename>
|
|
and <filename>/etc/glance/glance-registry.conf</filename> files and
|
|
complete the following actions:</para>
|
|
<step>
|
|
<para>In the <literal>[DEFAULT]</literal> section, configure
|
|
notifications and RabbitMQ message broker access:</para>
|
|
<programlisting language="ini">[DEFAULT]
|
|
...
|
|
notification_driver = messagingv2
|
|
rpc_backend = rabbit
|
|
rabbit_host = <replaceable>controller</replaceable>
|
|
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
|
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the
|
|
password you chose for the <literal>guest</literal> account in
|
|
<application>RabbitMQ</application>.</para>
|
|
</step>
|
|
<step>
|
|
<para>Restart the Image service:</para>
|
|
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service glance-registry restart</userinput>
|
|
<prompt>#</prompt> <userinput>service glance-api restart</userinput></screen>
|
|
<screen os="rhel;centos;fedora;opensuse;sles"><prompt>#</prompt> <userinput>systemctl restart openstack-glance-api.service openstack-glance-registry.service</userinput></screen>
|
|
</step>
|
|
</procedure>
|
|
</section>
|