6abfd37708
Changing the XML IDs of several chapters in the installation guide for consistency, and to match the section title, which follows conventions. Minor subjective edits also included. Change-Id: Id33aa27ef2027ac13f129c3bae150492b4bbfa13 backport:none Implements: blueprint installation-guide-improvements Co-Authored-By: Matt Kassawara <mkassawara@gmail.com>
38 lines
2.0 KiB
XML
38 lines
2.0 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-agent-glance">
|
|
<title>Configure the Image Service for Telemetry</title>
|
|
<procedure>
|
|
<step>
|
|
<para>To retrieve image samples, you must configure the Image
|
|
Service to send notifications to the bus.</para>
|
|
|
|
<para os="debian;ubuntu">Edit
|
|
<filename>/etc/glance/glance-api.conf</filename> and modify the
|
|
<literal>[DEFAULT]</literal> section:</para>
|
|
<programlisting language="ini" os="debian;ubuntu">notification_driver = messaging
|
|
rpc_backend = rabbit
|
|
rabbit_host = <replaceable>controller</replaceable>
|
|
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
|
|
|
<para os="opensuse;sles;fedora;rhel;centos">Run the following commands:</para>
|
|
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT notification_driver messaging</userinput>
|
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT rpc_backend rabbit</userinput>
|
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT rabbit_host <replaceable>controller</replaceable></userinput>
|
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT rabbit_password <replaceable>RABBIT_PASS</replaceable></userinput></screen>
|
|
|
|
</step>
|
|
<step>
|
|
<para>Restart the Image Services with their new
|
|
settings:</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;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>
|