openstack-manuals/doc/install-guide/source/environment-messaging-obs.rst
Takashi Kajinami 5ebdf9d1fd Remove reference to ZeroMQ
ZeroMQ driver was removed from oslo.messaging[1].

[1] f2fd8d437589d94443a137c7ca7a38d6b782d153

Change-Id: Ica00595b45cb95be3f491ad9caf8dabbc283e466
2024-04-30 21:26:02 +09:00

1.5 KiB

Message queue for SUSE

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, and Qpid. 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:

    # zypper install rabbitmq-server
  2. Start the message queue service and configure it to start when the system boots:

    # systemctl enable rabbitmq-server.service
    # systemctl start rabbitmq-server.service
  3. Add the openstack user:

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

    Replace RABBIT_PASS with a suitable password.

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

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