Make rabbitmq configuration much simpler

Update from this commit https://review.openstack.org/#/c/389971/1
in the openstack-manuals project.
'rpc_backend', 'rabbit_host', 'rabbit_userid', and
'rabbit_password' are deprecated for removal, for more
information, see
http://docs.openstack.org/developer/oslo.messaging/opts.html#configuration-options

Change-Id: I412a7e43197aca8ff78a139c5f9ee91590421e59
This commit is contained in:
chenxing
2016-11-01 03:03:12 +00:00
committed by chen.xing
parent b4fa1597c8
commit fb2fb7a55e
5 changed files with 14 additions and 44 deletions

View File

@@ -11,26 +11,20 @@ Configure the Image service to use Telemetry
``/etc/glance/glance-registry.conf`` files and
complete the following actions:
* In the ``[DEFAULT]``, ``[oslo_messaging_notifications]``, and
``[oslo_messaging_rabbit]`` sections, configure notifications and RabbitMQ
* In the ``[DEFAULT]``, ``[oslo_messaging_notifications]`` sections,
configure notifications and RabbitMQ
message broker access:
.. code-block:: ini
[DEFAULT]
...
rpc_backend = rabbit
transport_url = rabbit://openstack:RABBIT_PASS@controller
[oslo_messaging_notifications]
...
driver = messagingv2
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
Replace ``RABBIT_PASS`` with the password you chose for
the ``openstack`` account in ``RabbitMQ``.

View File

@@ -11,26 +11,20 @@ Configure the Image service to use Telemetry
``/etc/glance/glance-registry.conf`` files and
complete the following actions:
* In the ``[DEFAULT]``, ``[oslo_messaging_notifications]``, and
``[oslo_messaging_rabbit]`` sections, configure notifications and RabbitMQ
* In the ``[DEFAULT]``, ``[oslo_messaging_notifications]`` sections,
configure notifications and RabbitMQ
message broker access:
.. code-block:: ini
[DEFAULT]
...
rpc_backend = rabbit
transport_url = rabbit://openstack:RABBIT_PASS@controller
[oslo_messaging_notifications]
...
driver = messagingv2
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
Replace ``RABBIT_PASS`` with the password you chose for
the ``openstack`` account in ``RabbitMQ``.

View File

@@ -11,26 +11,20 @@ Configure the Image service to use Telemetry
``/etc/glance/glance-registry.conf`` files and
complete the following actions:
* In the ``[DEFAULT]``, ``[oslo_messaging_notifications]``, and
``[oslo_messaging_rabbit]`` sections, configure notifications and RabbitMQ
* In the ``[DEFAULT]``, ``[oslo_messaging_notifications]`` sections,
configure notifications and RabbitMQ
message broker access:
.. code-block:: ini
[DEFAULT]
...
rpc_backend = rabbit
transport_url = rabbit://openstack:RABBIT_PASS@controller
[oslo_messaging_notifications]
...
driver = messagingv2
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
Replace ``RABBIT_PASS`` with the password you chose for
the ``openstack`` account in ``RabbitMQ``.

View File

@@ -1,20 +1,14 @@
2. Edit the ``/etc/ceilometer/ceilometer.conf`` file and
complete the following actions:
* In the ``[DEFAULT]`` and ``[oslo_messaging_rabbit]`` sections,
configure ``RabbitMQ`` message queue access:
* In the ``[DEFAULT]`` section, configure ``RabbitMQ``
message queue access:
.. code-block:: ini
[DEFAULT]
...
rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
transport_url = rabbit://openstack:RABBIT_PASS@controller
Replace ``RABBIT_PASS`` with the password you chose for the
``openstack`` account in ``RabbitMQ``.

View File

@@ -14,20 +14,14 @@
as ':', '/', '+', and '@' in the connection string in accordance
with `RFC2396 <https://www.ietf.org/rfc/rfc2396.txt>`_.
* In the ``[DEFAULT]`` and ``[oslo_messaging_rabbit]`` sections,
* In the ``[DEFAULT]`` section,
configure ``RabbitMQ`` message queue access:
.. code-block:: ini
[DEFAULT]
...
rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
transport_url = rabbit://openstack:RABBIT_PASS@controller
Replace ``RABBIT_PASS`` with the password you chose for the
``openstack`` account in ``RabbitMQ``.