[install-guide] fix messaging configuration for Ceilometer

* use oslo_messaging_rabbit for Ceilometer configuration
* use RabbitMQ user openstack

Partially implements bp installguide-kilo.

Change-Id: I5ce02ebd1f679e13e62655a0728aed943cbe0adc
This commit is contained in:
Christian Berendt 2015-04-20 17:20:51 +02:00
parent a89be24303
commit 7ee47f21be
4 changed files with 24 additions and 11 deletions

View File

@ -218,15 +218,20 @@ connection = mongodb://ceilometer:<replaceable>CEILOMETER_DBPASS</replaceable>@<
in the connection string in accordance with RFC2396.</para> in the connection string in accordance with RFC2396.</para>
</step> </step>
<step> <step>
<para>In the <literal>[DEFAULT]</literal> section, configure <para>In the <literal>[DEFAULT]</literal> and
<application>RabbitMQ</application> message broker access:</para> <literal>[oslo_messaging_rabbit]</literal> sections, configure
<application>RabbitMQ</application> message queue access:</para>
<programlisting language="ini">[DEFAULT] <programlisting language="ini">[DEFAULT]
... ...
rpc_backend = rabbit rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = <replaceable>controller</replaceable> rabbit_host = <replaceable>controller</replaceable>
rabbit_userid = openstack
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting> rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the password <para>Replace <replaceable>RABBIT_PASS</replaceable> with the
you chose for the <literal>guest</literal> account in password you chose for the <literal>openstack</literal> account in
<application>RabbitMQ</application>.</para> <application>RabbitMQ</application>.</para>
</step> </step>
<step> <step>

View File

@ -20,9 +20,10 @@
notification_driver = messagingv2 notification_driver = messagingv2
rpc_backend = rabbit rpc_backend = rabbit
rabbit_host = <replaceable>controller</replaceable> rabbit_host = <replaceable>controller</replaceable>
rabbit_userid = openstack
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting> rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the <para>Replace <replaceable>RABBIT_PASS</replaceable> with the
password you chose for the <literal>guest</literal> account in password you chose for the <literal>openstack</literal> account in
<application>RabbitMQ</application>.</para> <application>RabbitMQ</application>.</para>
</step> </step>
<step> <step>

View File

@ -30,14 +30,21 @@ telemetry_secret = <replaceable>TELEMETRY_SECRET</replaceable></programlisting>
the telemetry secret you chose for the Telemetry module.</para> the telemetry secret you chose for the Telemetry module.</para>
</step> </step>
<step os="centos;fedora;opensuse;rhel;sles;ubuntu"> <step os="centos;fedora;opensuse;rhel;sles;ubuntu">
<para>In the <literal>[DEFAULT]</literal> section, configure <para>In the <literal>[DEFAULT]</literal> and
<application>RabbitMQ</application> message broker access:</para> <literal>[oslo_messaging_rabbit]</literal> sections, configure
<application>RabbitMQ</application> message queue access:</para>
<programlisting language="ini">[DEFAULT] <programlisting language="ini">[DEFAULT]
... ...
rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = <replaceable>controller</replaceable> rabbit_host = <replaceable>controller</replaceable>
rabbit_userid = openstack
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting> rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the password <para>Replace <replaceable>RABBIT_PASS</replaceable> with the
you chose for the guest account in RabbitMQ.</para> password you chose for the <literal>openstack</literal> account in
<application>RabbitMQ</application>.</para>
</step> </step>
<step> <step>
<para>In the <literal>[keystone_authtoken]</literal> section, <para>In the <literal>[keystone_authtoken]</literal> section,

View File

@ -64,12 +64,12 @@ pipeline = authtoken cache healthcheck keystoneauth proxy-logging ceilometer pro
... ...
paste.filter_factory = ceilometermiddleware.swift:filter_factory paste.filter_factory = ceilometermiddleware.swift:filter_factory
control_exchange = swift control_exchange = swift
url = rabbit://guest:<replaceable>RABBIT_PASS</replaceable>@<replaceable>controller></replaceable>:5672/ url = rabbit://openstack:<replaceable>RABBIT_PASS</replaceable>@<replaceable>controller></replaceable>:5672/
driver = messagingv2 driver = messagingv2
topic = notifications topic = notifications
log_level = WARN</programlisting> log_level = WARN</programlisting>
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the <para>Replace <replaceable>RABBIT_PASS</replaceable> with the
password you chose for the <literal>guest</literal> account in password you chose for the <literal>openstack</literal> account in
<application>RabbitMQ</application>.</para> <application>RabbitMQ</application>.</para>
</step> </step>
</substeps> </substeps>