7ee47f21be
* use oslo_messaging_rabbit for Ceilometer configuration * use RabbitMQ user openstack Partially implements bp installguide-kilo. Change-Id: I5ce02ebd1f679e13e62655a0728aed943cbe0adc
37 lines
1.7 KiB
XML
37 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_userid = openstack
|
|
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
|
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the
|
|
password you chose for the <literal>openstack</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>
|