Corrected 'rpc_backend' in Glance installation section
I corrected the 'rpc_backend' configuration key in /etc/glance-api.conf to use 'rabbit' and 'qpid' values from Oslo. I also removed extraneous AMQP configuration from /etc/glance-registry.conf. Change-Id: Ice9848de7fdee0df82bf35082237371e1d6ed19d Closes-Bug: #1302976
This commit is contained in:
parent
c3d56fb446
commit
6e2c24ade0
@ -69,47 +69,40 @@ connection = mysql://glance:GLANCE_DBPASS@<replaceable>controller</replaceable>/
|
|||||||
|
|
||||||
|
|
||||||
<step os="fedora;rhel;centos">
|
<step os="fedora;rhel;centos">
|
||||||
<para>Set these configuration keys to configure the Image Service to use
|
<para>Configure the Image Service to use the message broker:</para>
|
||||||
the Qpid message broker:</para>
|
|
||||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
||||||
rpc_backend glance.openstack.common.rpc.impl_qpid</userinput>
|
rpc_backend qpid</userinput>
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
||||||
qpid_hostname <replaceable>controller</replaceable></userinput></screen>
|
|
||||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-registry.conf DEFAULT \
|
|
||||||
rpc_backend glance.openstack.common.rpc.impl_qpid</userinput>
|
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-registry.conf DEFAULT \
|
|
||||||
qpid_hostname <replaceable>controller</replaceable></userinput></screen>
|
qpid_hostname <replaceable>controller</replaceable></userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step os="ubuntu">
|
<step os="ubuntu">
|
||||||
<para>Configure the Image service to use the RabbitMQ message broker by
|
<para>Configure the Image Service to use the message broker:</para>
|
||||||
setting these configuration keys in the <literal>[DEFAULT]</literal>
|
<substeps>
|
||||||
configuration group of the <filename>/etc/glance/glance-api.conf</filename>
|
<step>
|
||||||
and <filename>/etc/glance/glance-registry.conf</filename>
|
<para>Edit the <filename>/etc/glance/glance-api.conf</filename>
|
||||||
files:</para>
|
file and add the following keys to the
|
||||||
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the password
|
<literal>[DEFAULT]</literal> section:</para>
|
||||||
you chose for the <literal>guest</literal> account in
|
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the
|
||||||
<application>RabbitMQ</application>.</para>
|
password you chose for the <literal>guest</literal> account in
|
||||||
<programlisting language="ini">rpc_backend = glance.rpc.impl_kombu
|
<application>RabbitMQ</application>.</para>
|
||||||
|
<programlisting language="ini">[DEFAULT]
|
||||||
|
...
|
||||||
|
rpc_backend = rabbit
|
||||||
rabbit_host = <replaceable>controller</replaceable>
|
rabbit_host = <replaceable>controller</replaceable>
|
||||||
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
||||||
|
</step>
|
||||||
|
</substeps>
|
||||||
</step>
|
</step>
|
||||||
<step os="opensuse;sles">
|
<step os="opensuse;sles">
|
||||||
<para>Set these configuration keys to configure the Identity service to use
|
<para>Configure the Image Service to use the message broker:</para>
|
||||||
the RabbitMQ message broker:</para>
|
|
||||||
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the password
|
<para>Replace <replaceable>RABBIT_PASS</replaceable> with the password
|
||||||
you chose for the <literal>guest</literal> account in
|
you chose for the <literal>guest</literal> account in
|
||||||
<application>RabbitMQ</application>.</para>
|
<application>RabbitMQ</application>.</para>
|
||||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
||||||
rpc_backend glance.rpc.impl_kombu</userinput>
|
rpc_backend rabbit</userinput>
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
||||||
rabbit_host <replaceable>controller</replaceable></userinput>
|
rabbit_host <replaceable>controller</replaceable></userinput>
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-api.conf DEFAULT \
|
||||||
rabbit_password <replaceable>RABBIT_PASS</replaceable></userinput></screen>
|
|
||||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-registry.conf DEFAULT \
|
|
||||||
rpc_backend glance.rpc.impl_kombu</userinput>
|
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-registry.conf DEFAULT \
|
|
||||||
rabbit_host <replaceable>controller</replaceable></userinput>
|
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/glance/glance-registry.conf DEFAULT \
|
|
||||||
rabbit_password <replaceable>RABBIT_PASS</replaceable></userinput></screen>
|
rabbit_password <replaceable>RABBIT_PASS</replaceable></userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user