openstack-manuals/doc/install-guide/source/environment-messaging-ubuntu.rst
Stephen Finucane 2250b193e4 Remove '.. end' comments
These were used by now-dead tooling. We can remove them.

Change-Id: I4b4ef694206249da8b98589b3026f2a2be501ee3
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2018-09-25 16:02:19 +01:00

1.3 KiB

Message queue for Ubuntu

OpenStack uses a message queue to coordinate operations and status information among services. The message queue service typically runs on the controller node. OpenStack supports several message queue services including RabbitMQ, Qpid, and ZeroMQ. However, most distributions that package OpenStack support a particular message queue service. This guide implements the RabbitMQ message queue service because most distributions support it. If you prefer to implement a different message queue service, consult the documentation associated with it.

The message queue runs on the controller node.

Install and configure components

  1. Install the package:

    # apt install rabbitmq-server
  2. Add the openstack user:

    # rabbitmqctl add_user openstack RABBIT_PASS
    
    Creating user "openstack" ...

    Replace RABBIT_PASS with a suitable password.

  3. Permit configuration, write, and read access for the openstack user:

    # rabbitmqctl set_permissions openstack ".*" ".*" ".*"
    
    Setting permissions for user "openstack" in vhost "/" ...