File de message sur 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.

La file de message tourne sur le nœud contrôleur.

Installer et configurer les composants

  1. Installer le package :

    # zypper install rabbitmq-server
    
  2. Démarrer le service de file de messages et le configurer pour qu’il s’exécute au démarrage du système :

    # systemctl enable rabbitmq-server.service
    # systemctl start rabbitmq-server.service
    
  3. Ajouter l’utilisateur openstack :

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

    Remplacer RABBIT_PASS par un mot de passe approprié.

  4. Permet la configuration, les accès en lecture et écriture pour l’utilisateur openstack.

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