Use consistent RabbitMQ settings across guide.
Use consistent values for rabbit_host, rabbit_userid, and rabbit_password across the guide. Previously there were a number of variations, particularly of the host and password values. In a subsequent patch I intend to cover off the fact that RabbitMQ is installed/configured in at least two locations. I may depending on feedback also end up adding an instruction to set the guest user's password in which case a further update to rabbit_password will be required. I think just getting the initial values to base this work on consistent, as I am proposing in this patch, is a good start. Where programlisting elements that were touched use "bash" as the language I have also flipped them to "ini". Change-Id: Ie3779db58f8a397753a9a2409bd838ea97a87568
This commit is contained in:
parent
9925f9787d
commit
44c5ad5167
@ -182,7 +182,7 @@
|
||||
<para>Example <filename>neutron.conf</filename> file for
|
||||
NVP:</para>
|
||||
<screen><computeroutput>core_plugin = neutron.plugins.nicira.NeutronPlugin.NvpPluginV2</computeroutput>
|
||||
<computeroutput>rabbit_host = 192.168.203.10</computeroutput>
|
||||
<computeroutput>rabbit_host = controller</computeroutput>
|
||||
<computeroutput>allow_overlapping_ips = True</computeroutput></screen>
|
||||
</step>
|
||||
<step>
|
||||
|
@ -45,20 +45,20 @@ auth_strategy = keystone
|
||||
#osapi_volume_listen_port=5900</programlisting>
|
||||
<para>Configure messaging also in <filename>/etc/cinder/cinder.conf</filename>.</para>
|
||||
<programlisting os="ubuntu">
|
||||
rabbit_host = 10.10.10.10
|
||||
rabbit_host = controller
|
||||
rabbit_port = 5672
|
||||
# Change the following settings if you're not using the default RabbitMQ configuration
|
||||
#rabbit_userid = rabbit
|
||||
#rabbit_password = secure_password
|
||||
#rabbit_userid = guest
|
||||
#rabbit_password = guest
|
||||
#rabbit_virtual_host = /nova</programlisting>
|
||||
<programlisting os="rhel;centos;fedora">
|
||||
qpid_hostname=192.168.206.130</programlisting>
|
||||
<programlisting os="opensuse">
|
||||
rabbit_host = 10.10.10.10
|
||||
rabbit_host = controller
|
||||
rabbit_port = 5672
|
||||
# Change the following settings if you're not using the default RabbitMQ configuration
|
||||
#rabbit_userid = rabbit
|
||||
#rabbit_password = secure_password
|
||||
#rabbit_userid = guest
|
||||
#rabbit_password = guest
|
||||
#rabbit_virtual_host = /nova</programlisting>
|
||||
<para>Verify entries in <filename>/etc/nova/nova.conf</filename>. The
|
||||
<literal>volume_api_class</literal> setting is the default setting since
|
||||
|
@ -189,7 +189,7 @@
|
||||
<programlisting>[DEFAULT]
|
||||
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
control_exchange = neutron
|
||||
rabbit_host = controlnode
|
||||
rabbit_host = controller
|
||||
notification_driver = neutron.openstack.common.notifier.rabbit_notifier
|
||||
|
||||
[keystone_authtoken]
|
||||
@ -280,7 +280,7 @@ libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
|
||||
<programlisting language="ini">[DEFAULT]
|
||||
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
control_exchange = neutron
|
||||
rabbit_host = controlnode
|
||||
rabbit_host = controller
|
||||
notification_driver = neutron.openstack.common.notifier.rabbit_notifier
|
||||
</programlisting>
|
||||
</listitem>
|
||||
@ -341,7 +341,7 @@ local_ip = 9.181.89.203
|
||||
<programlisting>[DEFAULT]
|
||||
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
control_exchange = neutron
|
||||
rabbit_host = controlnode
|
||||
rabbit_host = controller
|
||||
notification_driver = neutron.openstack.common.notifier.rabbit_notifier
|
||||
allow_overlapping_ips = True</programlisting>
|
||||
<para><emphasis role="bold">Set
|
||||
|
@ -104,10 +104,10 @@
|
||||
<listitem>
|
||||
<para>Edit file <filename>/etc/neutron/neutron.conf</filename>
|
||||
and modify:
|
||||
<programlisting language="bash">core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
<programlisting language="ini">core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
auth_strategy = keystone
|
||||
fake_rabbit = False
|
||||
rabbit_password = password</programlisting>
|
||||
rabbit_password = guest</programlisting>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
@ -160,8 +160,8 @@ neutron-dhcp-agent neutron-l3-agent</userinput></screen>
|
||||
<para>Update the OpenStack Networking
|
||||
configuration file, <filename>
|
||||
/etc/neutron/neutron.conf</filename>:</para>
|
||||
<programlisting language="bash">rabbit_password = password
|
||||
rabbit_host = 192.168.0.1</programlisting>
|
||||
<programlisting language="ini">rabbit_password = guest
|
||||
rabbit_host = controller</programlisting>
|
||||
</step>
|
||||
<step>
|
||||
<para>Update the plugin configuration file,
|
||||
@ -254,8 +254,8 @@ admin_password = password</programlisting>
|
||||
<para>Update the OpenStack Networking
|
||||
configuration file <filename>
|
||||
/etc/neutron/neutron.conf</filename>:</para>
|
||||
<programlisting language="bash">rabbit_password = password
|
||||
rabbit_host = 192.168.0.1</programlisting>
|
||||
<programlisting language="ini">rabbit_password = guest
|
||||
rabbit_host = controller</programlisting>
|
||||
</step>
|
||||
<step>
|
||||
<para>Update the file <filename>
|
||||
|
@ -132,7 +132,7 @@
|
||||
<programlisting>[DEFAULT]
|
||||
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
control_exchange = neutron
|
||||
rabbit_host = controlnode
|
||||
rabbit_host = controller
|
||||
notification_driver = neutron.openstack.common.notifier.rabbit_notifier
|
||||
|
||||
[keystone_authtoken]
|
||||
@ -200,7 +200,7 @@ libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
|
||||
<programlisting>[DEFAULT]
|
||||
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
control_exchange = neutron
|
||||
rabbit_host = controlnode
|
||||
rabbit_host = controller
|
||||
notification_driver = neutron.openstack.common.notifier.rabbit_notifier</programlisting>
|
||||
</listitem>
|
||||
<listitem>
|
||||
@ -237,7 +237,7 @@ bridge_mappings = physnet1:br-eth0</programlisting>
|
||||
<programlisting>[DEFAULT]
|
||||
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
control_exchange = neutron
|
||||
rabbit_host = controlnode
|
||||
rabbit_host = controller
|
||||
notification_driver = neutron.openstack.common.notifier.rabbit_notifier</programlisting>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -71,8 +71,8 @@ auth_strategy=keystone</programlisting>
|
||||
message broker by setting the following configuration keys. They are found in
|
||||
the <literal>DEFAULT</literal> configuration group of the
|
||||
<filename>/etc/nova/nova.conf</filename> file.</para>
|
||||
<screen os="ubuntu;debian">rpc_backend = nova.rpc.impl_kombu
|
||||
rabbit_host = controller</screen>
|
||||
<programlisting os="ubuntu;debian" language="ini">rpc_backend = nova.rpc.impl_kombu
|
||||
rabbit_host = controller</programlisting>
|
||||
</step>
|
||||
|
||||
<step><para>Set the configuration keys <literal>my_ip</literal>,
|
||||
|
@ -169,8 +169,8 @@ admin_password=<replaceable>NOVA_DBPASS</replaceable>
|
||||
<para>Configure the Compute Service to use the RabbitMQ
|
||||
message broker by setting the following configuration keys. Add them in the <literal>DEFAULT</literal> configuration group of the
|
||||
<filename>/etc/nova/nova.conf</filename> file.</para>
|
||||
<screen>rpc_backend = nova.rpc.impl_kombu
|
||||
rabbit_host = controller</screen>
|
||||
<programlisting language="ini">rpc_backend = nova.rpc.impl_kombu
|
||||
rabbit_host = controller</programlisting>
|
||||
</step>
|
||||
<step os="opensuse">
|
||||
<para>Configure the Compute Service to use the RabbitMQ
|
||||
|
Loading…
Reference in New Issue
Block a user